… close file : result.root - done
100 events have been kept for refreshing and/or reviewing.
“/vis/reviewKeptEvents” to review one by one.
To see accumulated, “/vis/enable”, then “/vis/viewer/flush” or “/vis/viewer/rebuild”.
There are histograms that can be viewed with visualization:
2 h1 histograms(s)
List them with “/analysis/list”.
View them immediately with “/vis/plot” or “/vis/reviewPlots”.
But…there are no entries. To make your histograms available for
plotting in this UI session, use CloseFile(false) in your
EndOfRunAction and Reset() in your BeginOfRunAction.
but I added CloseFile(false) in my
EndOfRunAction and Reset() in myBeginOfRunAction.
And did that fix things?
But that is for /vis/plot. For tracks, you need /vis/scene/add/trajectories. See examples/basic/B1/vis.mac.
Dear Allison,
the problem was in fact that by default the particle chosen is the geantino and not the gamma: typing the commands:
/gps/particle gamma
/gps/pos/rot1 1 0 0
/gps/pos/rot2 0 0 1
/gps/pos/halfz 0.05 cm
/gps/pos/centre 0 -29.95 0 cm
/gps/pos/confine Sample
/run/printProgress 100000
/run/beamOn 900
enable me to show the gamma track
My question is now how to simulate the composite spectra of Eu-152: is the command below
/gps/ion 63 152 sufficient or do I have to precise the differents energies and their branching ratios?
Thanks in advance for feedback
Thibaut