/tracking/verbose 1

/gamos/setParam GmGeometryFromText:FileName ../exercise1/pet.geom
/gamos/geometry GmGeometryFromText
/gamos/physicsList GmEMPhysics

/gamos/generator GmGenerator

/gamos/userAction GmHitsHistosUA
/gamos/userAction GmRecHitsHistosUA

/gamos/setParam hits.text:FileName myHits.out
/gamos/userAction GmHitsReadUA

/run/initialize

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

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

/gamos/userAction GmKillAllUA

/gamos/generator/addIsotopeSource source F18 1.E9*becquerel
/gamos/generator/positionDist source GmGenerDistPositionInG4Volumes "water sphere"

/run/beamOn 1000
