# V I S U A L I S A T I O N /vis/disable /gate/phantom/vis/forceWireframe /gate/geometry/enableAutoUpdate # W O R L D /gate/world/geometry/setXLength 1000 mm /gate/world/geometry/setYLength 500 mm /gate/world/geometry/setZLength 500 mm # C Y L I N D R I C A L /gate/world/daughters/name cylindricalPET /gate/world/daughters/insert cylinder /gate/cylindricalPET/setMaterial Air /gate/cylindricalPET/geometry/setRmax 500 mm /gate/cylindricalPET/geometry/setRmin 400 mm /gate/cylindricalPET/geometry/setHeight 50 mm # R S E C T O R /gate/cylindricalPET/daughters/name RSECTORbox /gate/cylindricalPET/daughters/insert box /gate/RSECTORbox/placement/setTranslation 415 0 0 mm /gate/RSECTORbox/geometry/setXLength 30 mm /gate/RSECTORbox/geometry/setYLength 50 mm /gate/RSECTORbox/geometry/setZLength 50 mm /gate/RSECTORbox/setMaterial Air # M O D U L E /gate/RSECTORbox/daughters/name MODULEbox /gate/RSECTORbox/daughters/insert box /gate/MODULEbox/geometry/setXLength 30 mm /gate/MODULEbox/geometry/setYLength 50 mm /gate/MODULEbox/geometry/setZLength 50 mm /gate/MODULEbox/setMaterial Air # C R Y S T A L /gate/MODULEbox/daughters/name CRYSTALbox /gate/MODULEbox/daughters/insert box /gate/CRYSTALbox/geometry/setXLength 30 mm /gate/CRYSTALbox/geometry/setYLength 50 mm /gate/CRYSTALbox/geometry/setZLength 50 mm /gate/CRYSTALbox/setMaterial Air # L A Y E R LYSO /gate/CRYSTALbox/daughters/name LYSObox /gate/CRYSTALbox/daughters/insert box /gate/LYSObox/geometry/setXLength 30 mm /gate/LYSObox/geometry/setYLength 50 mm /gate/LYSObox/geometry/setZLength 50 mm /gate/LYSObox/placement/setTranslation 0 0 0 mm /gate/LYSObox/setMaterial LYSO # R E P E A T C R Y S T A L /gate/CRYSTALbox/repeaters/insert cubicArray /gate/CRYSTALbox/cubicArray/setRepeatNumberX 1 /gate/CRYSTALbox/cubicArray/setRepeatNumberY 1 /gate/CRYSTALbox/cubicArray/setRepeatNumberZ 1 /gate/CRYSTALbox/cubicArray/setRepeatVector 0 0 0 mm # R E P E A T M O D U L E /gate/MODULEbox/repeaters/insert cubicArray /gate/MODULEbox/cubicArray/setRepeatNumberX 1 /gate/MODULEbox/cubicArray/setRepeatNumberY 1 /gate/MODULEbox/cubicArray/setRepeatNumberZ 1 /gate/MODULEbox/cubicArray/setRepeatVector 0 0 0 mm # R E P E A T R S E C T O R /gate/RSECTORbox/repeaters/insert ring /gate/RSECTORbox/ring/setRepeatNumber 1 # A T T A C H S Y S T E M /gate/systems/cylindricalPET/rsector/attach RSECTORbox /gate/systems/cylindricalPET/module/attach MODULEbox /gate/systems/cylindricalPET/crystal/attach CRYSTALbox /gate/systems/cylindricalPET/layer0/attach LYSObox # A T T A C H L A Y E R SD /gate/LYSObox/attachCrystalSD # P H Y S I C S /gate/physics/gamma/selectCompton standard /gate/physics/gamma/selectPhotoelectric standard /gate/physics/gamma/selectRayleigh lowenergy /gate/physics/setElectronCut 30. m /gate/physics/setXRayCut 1. GeV /gate/physics/setDeltaRayCut 1. GeV /gate/physics/verbose 2 # I N I T I A L I Z E /gate/systems/cylindricalPET/verbose 0 /gate/geometry/enableAutoUpdate /run/initialize # S O U R C E S /gate/source/addSource twogamma /gate/source/twogamma/setActivity 0.005 Ci /gate/source/twogamma/setType backtoback /gate/source/twogamma/gps/particle gamma /gate/source/twogamma/gps/energytype Mono /gate/source/twogamma/gps/monoenergy 0.511 MeV /gate/source/twogamma/gps/type Point /gate/source/twogamma/gps/angtype iso /gate/source/twogamma/gps/mintheta 0. deg /gate/source/twogamma/gps/maxtheta 180. deg /gate/source/twogamma/gps/minphi 0. deg /gate/source/twogamma/gps/maxphi 360. deg /gate/source/twogamma/gps/centre 0. 0. 0. cm /gate/source/list # D I G I T I Z E R /gate/digitizer/Singles/insert adder /gate/digitizer/Singles/insert readout /gate/digitizer/Singles/readout/setDepth 2 /gate/digitizer/Singles/insert blurring /gate/digitizer/Singles/blurring/setResolution 0.2 /gate/digitizer/Singles/blurring/setEnergyOfReference 511. keV /gate/digitizer/Singles/insert thresholder /gate/digitizer/Singles/thresholder/setThreshold 250. keV /gate/digitizer/Singles/insert upholder /gate/digitizer/Singles/upholder/setUphold 750. keV /gate/digitizer/Singles/insert timeResolution /gate/digitizer/Singles/timeResolution/setTimeResolution 2. ns /gate/digitizer/Coincidences/setWindow 6. ns /gate/digitizer/Coincidences/minSectorDifference 1 /gate/systems/cylindricalPET/describe # V E R B O S I T Y /control/verbose 0 /grdm/verbose 0 /run/verbose 0 /event/verbose 0 /tracking/verbose 0 /gate/application/verbose 0 /gate/generator/verbose 0 /gate/stacking/verbose 0 /gate/event/verbose 0 /gate/source/verbose 0 # O U T P U T # ASCII /gate/output/ascii/setOutFileHitsFlag 0 /gate/output/ascii/setOutFileSinglesFlag 0 /gate/output/ascii/setOutFileCoincidencesFlag 0 # ROOT /gate/output/root/setFileName cylindericalPET /gate/output/root/setRootNtupleFlag 0 /gate/output/root/setRootHitFlag 1 /gate/output/root/setRootSinglesFlag 0 /gate/output/root/setRootCoincidencesFlag 0 /gate/output/root/setSaveRndmFlag 0 # S T A R T /gate/application/setTimeSlice 50000 s /gate/application/setTimeStart 0 s /gate/application/setTimeStop 50000 s /gate/application/startDAQ exit