# ********************************************************************* # * DISCLAIMER * # * * # * Neither the authors of this software system, nor their employing * # * institutes, nor the agencies providing financial support for this * # * work make any representation or warranty, express or implied, * # * regarding this software system or assume any liability for its * # * use. * # * * # * This code implementation is the intellectual property of the * # * OpenGATE collaboration. * # * By copying, distributing or modifying the Program (or any work * # * based on the Program) you indicate your acceptance of this * # * statement, and all its terms. * # ********************************************************************* # #-------------------oooooOOOOO00000OOOOOooooo---------------------# # # D E F I N E Y O U R S C A N N E R A N D # # Y O U R C O M P L E T E S I M U L A T I O N # # F O R I M A G I N G A P P L I CA T I O N S # #-------------------oooooOOOOO00000OOOOOooooo---------------------# #===================================================== # VISUALISATION #===================================================== /vis/disable #/vis/open OGLSX #/vis/viewer/set/viewpointThetaPhi 60 60 #/vis/viewer/zoom 6.0 #/vis/drawVolume #/tracking/storeTrajectory 1 #/vis/scene/add/trajectories #/vis/scene/endOfEventAction accumulate #===================================================== # GEOMETRY #===================================================== /gate/geometry/setMaterialDatabase ../../misc/GateMaterials.db # # W O R L D # /gate/world/geometry/setXLength 400. cm /gate/world/geometry/setYLength 400. cm /gate/world/geometry/setZLength 400. cm #-------------------oooooOOOOO00000OOOOOooooo---------------------# # # # D E F I N I T I O N A N D D E S C R I T I O N # # O F Y O U R P E T D E V I C E # # # #-------------------oooooOOOOO00000OOOOOooooo---------------------# # CYLINDRICAL /gate/world/daughters/name cylindricalPET /gate/world/daughters/insert cylinder /gate/cylindricalPET/placement/setTranslation 0. 0. 0. mm /gate/cylindricalPET/geometry/setRmax 400.0 mm /gate/cylindricalPET/geometry/setRmin 372.0 mm /gate/cylindricalPET/geometry/setHeight 200.0 mm /gate/cylindricalPET/setMaterial Air /gate/cylindricalPET/vis/forceWireframe /gate/cylindricalPET/vis/setColor white # detector_blocks /gate/cylindricalPET/daughters/name detector_blocks /gate/cylindricalPET/daughters/insert box /gate/detector_blocks/placement/setTranslation 384.5 0. 0. mm /gate/detector_blocks/geometry/setXLength 25.0 mm /gate/detector_blocks/geometry/setYLength 63.2 mm /gate/detector_blocks/geometry/setZLength 200.0 mm /gate/detector_blocks/setMaterial Air /gate/detector_blocks/vis/setVisible 1 # BLOCK /gate/detector_blocks/daughters/name block /gate/detector_blocks/daughters/insert box /gate/block/placement/setTranslation 0. 0. 0. cm /gate/block/geometry/setXLength 25.0 mm /gate/block/geometry/setYLength 63.2 mm /gate/block/geometry/setZLength 47.7 mm /gate/block/setMaterial Air /gate/block/vis/setVisible 1 # C R Y S T A L /gate/block/daughters/name crystal /gate/block/daughters/insert box /gate/crystal/placement/setTranslation 0. 0. 0. cm /gate/crystal/geometry/setXLength 25.0 mm /gate/crystal/geometry/setYLength 3.95 mm /gate/crystal/geometry/setZLength 5.3 mm /gate/crystal/setMaterial LSO /gate/crystal/vis/setVisible 1 # R E P E A T C R Y S T A L /gate/crystal/repeaters/insert cubicArray /gate/crystal/cubicArray/setRepeatNumberX 1 /gate/crystal/cubicArray/setRepeatNumberY 16 /gate/crystal/cubicArray/setRepeatNumberZ 9 /gate/crystal/cubicArray/setRepeatVector 0. 3.95 5.3 mm # R E P E A T BLOCK /gate/block/repeaters/insert cubicArray /gate/block/cubicArray/setRepeatNumberX 1 /gate/block/cubicArray/setRepeatNumberY 1 /gate/block/cubicArray/setRepeatNumberZ 4 /gate/block/cubicArray/setRepeatVector 0. 0. 50.76 mm # R E P E A T HEAD /gate/detector_blocks/repeaters/insert ring /gate/detector_blocks/ring/setRepeatNumber 34 # A T T A C H S Y S T E M /gate/systems/cylindricalPET/rsector/attach detector_blocks /gate/systems/cylindricalPET/module/attach block /gate/systems/cylindricalPET/crystal/attach crystal # A T T A C H C R Y S T A L SD /gate/crystal/attachCrystalSD /gate/systems/cylindricalPET/describe #===================================================== # P H A N T O M #===================================================== /gate/world/daughters/name phantom /gate/world/daughters/insert cylinder /gate/phantom/setMaterial Water /gate/phantom/vis/forceSolid /gate/phantom/vis/setColor green /gate/phantom/geometry/setRmax 10.0 cm /gate/phantom/geometry/setHeight 20.0 cm /gate/phantom/attachPhantomSD #===================================================== # PHYSICS #===================================================== /gate/physics/addProcess PhotoElectric /gate/physics/processes/PhotoElectric/setModel StandardModel /gate/physics/addProcess Compton /gate/physics/processes/Compton/setModel StandardModel /gate/physics/addProcess RayleighScattering /gate/physics/processes/RayleighScattering/setModel PenelopeModel /gate/physics/addProcess ElectronIonisation /gate/physics/processes/ElectronIonisation/setModel StandardModel e- /gate/physics/processes/ElectronIonisation/setModel StandardModel e+ /gate/physics/addProcess Bremsstrahlung /gate/physics/processes/Bremsstrahlung/setModel StandardModel e- /gate/physics/processes/Bremsstrahlung/setModel StandardModel e+ /gate/physics/addProcess PositronAnnihilation /gate/physics/addProcess eMultipleScattering e+ /gate/physics/addProcess eMultipleScattering e- /gate/physics/processList Enabled /gate/physics/processList Initialized #===================================================== # CUTS #===================================================== /gate/physics/Gamma/SetCutInRegion crystal 1. mm /gate/physics/Electron/SetCutInRegion crystal 1. mm /gate/physics/Positron/SetCutInRegion crystal 1. mm /gate/physics/Gamma/SetCutInRegion phantom 1. mm /gate/physics/Electron/SetCutInRegion phantom 1. mm /gate/physics/Positron/SetCutInRegion phantom 1. mm #/gate/physics/SetMaxStepSizeInRegion phantom 0.01 mm #===================================================== # INITIALISATION #===================================================== /gate/run/initialize #===================================================== # D I G I T I Z E R: DETECTOR ELECTRONIC RESPONSE #===================================================== /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.094 /gate/digitizer/Singles/blurring/setEnergyOfReference 511. keV /gate/digitizer/Singles/insert thresholder /gate/digitizer/Singles/thresholder/setThreshold 425. keV /gate/digitizer/Singles/insert upholder /gate/digitizer/Singles/upholder/setUphold 650. keV #===================================================== # C O I N C I D E N C E S O R T E R #===================================================== /gate/digitizer/Coincidences/setWindow 4.9 ns /gate/digitizer/name delay /gate/digitizer/insert coincidenceSorter /gate/digitizer/delay/setWindow 4.9 ns /gate/digitizer/delay/setOffset 500. ns #===================================================== # P A R T I C L E S O U R C E #===================================================== /gate/source/addSource F18source /gate/source/F18source/setActivity 1000000. becquerel /gate/source/F18source/gps/particle e+ /gate/source/F18source/setForcedUnstableFlag true /gate/source/F18source/setForcedHalfLife 6586 s /gate/source/F18source/gps/energytype Fluor18 /gate/source/F18source/gps/type Volume /gate/source/F18source/gps/shape Cylinder /gate/source/F18source/gps/radius 100 mm /gate/source/F18source/gps/halfz 100. mm /gate/source/F18source/gps/angtype iso /gate/source/F18source/gps/centre 0.0 0.0 0.0 cm /gate/source/list #===================================================== # D A T A O U T P U T #===================================================== /gate/output/root/enable /gate/output/root/setFileName myOUT /gate/output/root/setRootHitFlag 0 /gate/output/root/setRootSinglesFlag 1 /gate/output/root/setRootCoincidencesFlag 1 /gate/output/root/setRootdelayFlag 1 #==================================================== # R A N D O M E N G I N E A N D S E E D #==================================================== # JamesRandom Ranlux64 MersenneTwister /gate/random/setEngineName JamesRandom #/gate/random/setEngineSeed default #/gate/random/setEngineSeed auto #/gate/random/setEngineSeed 123456789 /gate/random/setEngineSeed default #/gate/random/resetEngineFrom fileName /gate/random/verbose 1 #===================================================== # M E A S U R E M E N T S E T T I N G S #===================================================== /gate/application/setTimeSlice 1 s /gate/application/setTimeStart 0 s /gate/application/setTimeStop 5 s /gate/application/startDAQ