### Set the suffix of output files /gamos/setParam GmAnalysisMgr:FileNameSuffix ex2d ### Set geometry, physics and generator /gamos/setParam GmGeometryFromText:FileName marinelli_beaker.geom /gamos/geometry GmGeometryFromText /gamos/physicsList GmEMExtendedPhysics /gamos/generator GmGenerator ### Initialize Geant4 geometry and physics /run/initialize ### Set generator particle distributions /gamos/generator/addSingleParticleSource source Am241[0.0] 0*MeV /gamos/generator/positionDist source GmGenerDistPositionInG4Volumes SOLUTION_* /gamos/generator/timeDist source GmGenerDistTimeDecay 1E6*Bq /gamos/userAction GmNoUseG4RadDecayTimeUA ### Set the Ge as sensitive detector /gamos/analysis/histo1Max *Energy* 3000 /gamos/analysis/histo1NBins *Energy* 300 /gamos/SD/assocSD2LogVol GmSDSeparateByTime Detector DETECTOR_Ge /gamos/userAction GmHitsHistosUA ### Print a message each 1000 events /gamos/userAction GmCountTracksUA ### Plot the time of each particle /gamos/analysis/histo1NBins *Time* 200 /gamos/analysis/histo1Min *Time* -10. /gamos/analysis/histo1Max *Time* 30. /gamos/setParam GmTrackDataHistosUA_GmClassifierByParticle:FileName GmTrackDataHistosUA /gamos/setParam GmTrackDataHistosUA_GmClassifierByParticle:DataList log10(InitialTime/second) /gamos/userAction GmTrackDataHistosUA GmClassifierByParticle /gamos/setParam GmTrackDataHistosUA:DataList log10(InitialTime/second) /gamos/userAction GmTrackDataHistosUA ### Print statistics of processes /gamos/userAction GmCountProcessesUA /run/setCut 10 ### Run events /run/beamOn 1000