/gamos/setParam GmGeometryFromText:FileName ../exercise1/pet.geom
/gamos/geometry GmGeometryFromText
/gamos/physicsList GmEMPhysics
/gamos/GmPhysics/addPhysics gamma-lowener
/gamos/GmPhysics/addPhysics electron-lowener

/gamos/generator GmGenerator

/gamos/userAction GmCountProcessesUA
/gamos/userAction GmHistosGammaAtSD
/gamos/userAction GmHitsHistosUA
/gamos/userAction GmRecHitsHistosUA
/gamos/userAction PETEventClassifierUA

/run/initialize

/gamos/setParam SD:EnergyResol:Calor 0.2
/gamos/setParam SD:MeasuringType:Calor Trigger
/gamos/setParam SD:MeasuringTime:Calor 1.e-6*s

/gamos/SD/assocSD2LogVol GmSDSimple Calor Crystal
/gamos/SD/recHitBuilder GmRecHitBuilderByBlock Calor 


/gamos/generator/addIsotopeSource source F18 1.E-4*curie
/gamos/generator/positionDist source GmGenerDistPositionInG4Volumes "water sphere"

/run/beamOn 10000

