[Gate-users] Problem on execution time and result file (root format) of Gate simulation
Tae Hyong Kim
thkim7 at cse.Buffalo.EDU
Thu Jul 20 16:59:56 CEST 2006
Hi.
Here are the simulation macro files I have been using.
Please find attached files.
Thank you.
Sincerely,
Taehyong Kim
-------------- next part --------------
# V I S U A L I S A T I O N
/vis/open OGLSX
/vis/viewer/reset
/vis/viewer/set/viewpointThetaPhi 60 60
/vis/viewer/zoom 1
/vis/viewer/set/style surface
/vis/drawVolume
/tracking/storeTrajectory 1
/vis/scene/endOfEventAction accumulate
/vis/viewer/update
/vis/verbose 2
/gate/geometry/enableAutoUpdate
-------------- next part --------------
### SOURCE PHANTOME SOURIS
/gate/source/addSource twogamma_souris
#/gate/source/twogamma_souris/setActivity 20000000. becquerel
/gate/source/twogamma_souris/setActivity 111000000. becquerel
/gate/source/twogamma_souris/gps/particle e+
/gate/source/twogamma_souris/setForcedUnstableFlag true
/gate/source/twogamma_souris/setForcedHalfLife 6586.2 s
/gate/source/twogamma_souris/gps/energytype Fluor18
/gate/source/twogamma_souris/gps/type Volume
/gate/source/twogamma_souris/gps/shape Cylinder
/gate/source/twogamma_souris/gps/radius 10.0 cm
/gate/source/twogamma_souris/gps/halfz 12.5 cm
/gate/source/twogamma_souris/gps/angtype iso
/gate/source/twogamma_souris/gps/confine NULL
/gate/source/list
-------------- next part --------------
# I C S
#
# EM P R O C E S S
/gate/physics/gamma/selectRayleigh lowenergy
/gate/physics/gamma/selectPhotoelectric standard
/gate/physics/gamma/selectCompton standard
# I N A C T I V E S E C O N D A R Y E L E C T R O N S
/gate/physics/setElectronCut 30. cm
# I N A C T I V E X - R A Y S
/gate/physics/setXRayCut 1. GeV
/gate/physics/setDeltaRayCut 1. GeV
/gate/physics/verbose 2
-------------- next part --------------
/control/verbose 0
#/control/execute visu.mac
# W O R L D
/gate/world/geometry/setXLength 150. cm
/gate/world/geometry/setYLength 150. cm
/gate/world/geometry/setZLength 150. cm
/control/execute GeoHRRT.mac
# P H A N T O M
/control/execute Cylinder_souris.mac
/gate/endshielding/attachPhantomSD
/control/execute physics.mac
# I N I T I A L I Z E
/gate/systems/cylindricalPET/verbose 0
/gate/geometry/enableAutoUpdate
/run/initialize
# 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
# S O U R C E
/control/execute Source_souris.mac
# O U T P U T
# C H A N G E T H E S E E D (1) O R N O T (0)
/gate/output/root/setSaveRndmFlag 1
/gate/output/verbose 2
/gate/output/lmf1/disable
/gate/output/ascii/setOutFileHitsFlag 0
/gate/output/ascii/setOutFileSinglesFlag 0
/gate/output/ascii/setOutFileCoincidencesFlag 0
/gate/output/root/setFileName kth2000output
/gate/output/root/setRootHitFlag 0
/gate/output/root/setRootSinglesFlag 0
/gate/output/root/setRootCoincidencesFlag 1
/gate/output/root/setRootNtupleFlag 0
/gate/output/root/setSaveRndmFlag 0
# S T A R T
/gate/application/setTimeSlice 120. s
/gate/application/setTimeStart 0. s
/gate/application/setTimeStop 120. s
/gate/application/startDAQ
-------------- next part --------------
# YLINDRICAL
/gate/world/daughters/name cylindricalPET
/gate/world/daughters/insert cylinder
/gate/cylindricalPET/placement/setTranslation 0.0 0.0 0.0 cm
/gate/cylindricalPET/geometry/setRmax 310.158 mm
/gate/cylindricalPET/geometry/setRmin 176.53 mm
/gate/cylindricalPET/geometry/setHeight 305.5 mm
/gate/cylindricalPET/setMaterial Air
/gate/cylindricalPET/vis/forceWireframe
/gate/cylindricalPET/vis/setColor white
# END-SHIELDING
/gate/cylindricalPET/daughters/name endshielding
/gate/cylindricalPET/daughters/insert cylinder
/gate/endshielding/placement/setTranslation 0.0 0.0 144 mm
/gate/endshielding/geometry/setRmax 310.158 mm
/gate/endshielding/geometry/setRmin 176.53 mm
/gate/endshielding/geometry/setHeight 16 mm
/gate/endshielding/setMaterial Tungsten
# HEAD
/gate/cylindricalPET/daughters/name head
/gate/cylindricalPET/daughters/insert box
/gate/head/placement/setTranslation 0.0 24.45 0.0 cm
/gate/head/geometry/setXLength 175.5 mm
/gate/head/geometry/setYLength 20 mm
/gate/head/geometry/setZLength 253.5 mm
/gate/head/setMaterial Air
/gate/head/vis/setVisible 0
# BLOCK
/gate/head/daughters/name block
/gate/head/daughters/insert box
/gate/block/placement/setTranslation 0.0 0.0 0.0 cm
/gate/block/geometry/setXLength 19.176 mm
/gate/block/geometry/setYLength 20 mm
/gate/block/geometry/setZLength 19.176 mm
/gate/block/setMaterial Air
/gate/block/vis/forceWireframe
/gate/block/vis/setColor blue
# C R Y S T A L
/gate/block/daughters/name crystal
/gate/block/daughters/insert box
/gate/crystal/placement/setTranslation 0.0 0.0 0.0 cm
/gate/crystal/geometry/setXLength 2.146 mm
/gate/crystal/geometry/setYLength 20 mm
/gate/crystal/geometry/setZLength 2.146 mm
/gate/crystal/setMaterial Air
/gate/crystal/vis/setVisible 0
# LSO layer
/gate/crystal/daughters/name LSO
/gate/crystal/daughters/insert box
/gate/LSO/placement/setTranslation 0.0 -5. 0.0 mm
/gate/LSO/geometry/setXLength 2.146 mm
/gate/LSO/geometry/setYLength 10.0 mm
/gate/LSO/geometry/setZLength 2.146 mm
/gate/LSO/setMaterial LSO
/gate/LSO/vis/setColor green
# LYSO layer
/gate/crystal/daughters/name LYSO
/gate/crystal/daughters/insert box
/gate/LYSO/placement/setTranslation 0.0 +5. 0.0 mm
/gate/LYSO/geometry/setXLength 2.146 mm
/gate/LYSO/geometry/setYLength 10.0 mm
/gate/LYSO/geometry/setZLength 2.146 mm
/gate/LYSO/setMaterial LYSO
/gate/LYSO/vis/setColor yellow
# R E P E A T C R Y S T A L
/gate/crystal/repeaters/insert cubicArray
/gate/crystal/cubicArray/setRepeatNumberX 8
/gate/crystal/cubicArray/setRepeatNumberY 1
/gate/crystal/cubicArray/setRepeatNumberZ 8
/gate/crystal/cubicArray/setRepeatVector 2.4375 0. 2.4375 mm
# R E P E A T BLOCK
/gate/block/repeaters/insert cubicArray
/gate/block/cubicArray/setRepeatNumberX 9
/gate/block/cubicArray/setRepeatNumberY 1
/gate/block/cubicArray/setRepeatNumberZ 13
/gate/block/cubicArray/setRepeatVector 19.5 0. 19.5 mm
# R E P E A T HEAD
/gate/head/repeaters/insert ring
/gate/head/ring/setFirstAngle 0. deg
/gate/head/ring/setRepeatNumber 8
/gate/head/ring/setAngularSpan -315. deg
# A T T A C H S Y S T E M
/gate/systems/cylindricalPET/rsector/attach head
/gate/systems/cylindricalPET/submodule/attach block
/gate/systems/cylindricalPET/crystal/attach crystal
/gate/systems/cylindricalPET/layer1/attach LSO
/gate/systems/cylindricalPET/layer0/attach LYSO
# A T T A C H C R Y S T A L SD
/gate/LSO/attachCrystalSD
/gate/LYSO/attachCrystalSD
/control/execute Acquisition.mac
-------------- next part --------------
#
# V O L U M E P H A N T O M
#
/gate/world/daughters/name phantom1
/gate/world/daughters/insert cylinder
/gate/phantom1/setMaterial Glass
/gate/phantom1/vis/forceWireframe
/gate/phantom1/vis/setColor red
/gate/phantom1/geometry/setRmax 11.0 cm
/gate/phantom1/geometry/setHeight 12.5 cm
/gate/phantom1/attachPhantomSD
/gate/phantom1/daughters/name phantom2
/gate/phantom1/daughters/insert cylinder
/gate/phantom2/setMaterial Water
/gate/phantom2/vis/forceWireframe
/gate/phantom2/vis/setColor blue
/gate/phantom2/geometry/setRmax 10.0 cm
/gate/phantom2/geometry/setHeight 12.5 cm
/gate/phantom2/attachPhantomSD
-------------- next part --------------
# G I T I Z E R
# A D D E R
/gate/digitizer/Singles/insert adder
# N E W E N E R G Y B L U R R I N G
/gate/digitizer/Singles/insert crystalblurring
/gate/digitizer/Singles/crystalblurring/setCrystalResolutionMin 0.25
/gate/digitizer/Singles/crystalblurring/setCrystalResolutionMax 0.35
/gate/digitizer/Singles/crystalblurring/setCrystalQE 0.9
/gate/digitizer/Singles/crystalblurring/setCrystalEnergyOfReference 511. keV
# R E A D O U T
/gate/digitizer/Singles/insert readout
/gate/digitizer/Singles/readout/setDepth 1
# C L A S S I C A L E N E R G Y B L U R R I N G
#/gate/digitizer/Singles/insert blurring
#/gate/digitizer/Singles/blurring/setResolution 0.26
#/gate/digitizer/Singles/blurring/setEnergyOfReference 511. keV
# E N E R G Y C U T
/gate/digitizer/Singles/insert thresholder
/gate/digitizer/Singles/thresholder/setThreshold 350. keV
/gate/digitizer/Singles/insert upholder
/gate/digitizer/Singles/upholder/setUphold 650. keV
# D E A D T I M E
#/gate/digitizer/Singles/insert deadtime
#/gate/digitizer/Singles/deadtime/setDeadTime 1000000. ps
#/gate/digitizer/Singles/deadtime/setMode paralysable
#/gate/digitizer/Singles/deadtime/chooseDTVolume rsector
# C O I N C I S O R T E R
/gate/digitizer/Coincidences/setWindow 6. ns
/gate/systems/cylindricalPET/describe
More information about the Gate-users
mailing list