[Gate-users] genericRepeater Coincidences
Gabriel CaƱizares Ledo
gacale at i3m.upv.es
Mon Oct 23 10:11:25 CEST 2017
Hello everybody
I am trying to define a non symmetrical PET, I mean, I can not use a
conventional repeater as Ring or Linear. I am forced to use a
genericRepeater. Singles information is stored in the ROOT file, but I
am afraid I can not store Coincidence information. My current Gate
version is Gate_v7.2. The code I am using is this one:
#/vis/open VRML2FILE
/vis/viewer/set/viewpointThetaPhi 30 10
/vis/viewer/zoom 11
/vis/drawVolume
/tracking/storeTrajectory 1
/vis/scene/add/trajectories
/vis/scene/endOfEventAction accumulate
/gate/geometry/setMaterialDatabase ./GateMaterials.db
/gate/world/geometry/setXLength 100 cm
/gate/world/geometry/setYLength 100 cm
/gate/world/geometry/setZLength 100 cm
/gate/world/setMaterial Air
/gate/world/vis/setVisible 0
/gate/world/daughters/name PETscanner
/gate/world/daughters/insert box
/gate/PETscanner/geometry/setXLength 1000 mm
/gate/PETscanner/geometry/setYLength 1000 mm
/gate/PETscanner/geometry/setZLength 1000 mm
/gate/PETscanner/placement/setTranslation 0 0 0 mm
/gate/PETscanner/setMaterial Air
/gate/PETscanner/vis/setVisible 0
/gate/PETscanner/daughters/name level1
/gate/PETscanner/daughters/insert box
/gate/level1/geometry/setXLength 15 mm
/gate/level1/geometry/setYLength 50 mm
/gate/level1/geometry/setZLength 50 mm
/gate/level1/placement/setTranslation 0 0 0 mm
/gate/level1/setMaterial LYSO
/gate/level1/attachCrystalSD
/gate/level1/vis/setColor yellow
/gate/level1/vis/forceSolid
/gate/level1/repeaters/insert genericRepeater
/gate/level1/genericRepeater/setPlacementsFilename plc2.placements
/gate/level1/genericRepeater/useRelativeTranslation 1
/gate/systems/PETscanner/level1/attach level1
/gate/physics/addPhysicsList emstandard_opt3
/gate/physics/processList Enabled
/gate/physics/processList Initialized
/gate/run/initialize
/gate/digitizer/Singles/insert adder
/gate/digitizer/Singles/insert readout
/gate/digitizer/Singles/readout/setDepth 1
/gate/digitizer/Singles/insert blurring
/gate/digitizer/Singles/blurring/setResolution 0.12
/gate/digitizer/Singles/blurring/setEnergyOfReference 511 keV
/gate/digitizer/Singles/insert thresholder
/gate/digitizer/Singles/thresholder/setThreshold 408.8 keV
/gate/digitizer/Singles/insert upholder
/gate/digitizer/Singles/upholder/setUphold 613.2 keV
/gate/digitizer/Singles/insert timeResolution
/gate/digitizer/Singles/timeResolution/setTimeResolution 3 ns
/gate/digitizer/Coincidences/MultiplesPolicy killAllIfMultipleGoods
/gate/digitizer/Coincidences/setWindow 5 ns
/gate/digitizer/Coincidences/minSectorDifference 1
/gate/digitizer/Coincidences/setDepth 1
/gate/digitizer/name myCoincidences
/gate/digitizer/insert coincidenceSorter
/gate/digitizer/myCoincidences/setInputName Singles
/gate/digitizer/myCoincidences/setWindow 5. ns
/gate/digitizer/myCoincidences/setDepth 1
/gate/digitizer/myCoincidences/minSectorDifference 1
/gate/digitizer/myCoincidences/MultiplesPolicy killAllIfMultipleGoods
/gate/source/addSource fuente
/gate/source/fuente/setType backtoback
/gate/source/fuente/gps/particle gamma
/gate/source/fuente/setActivity 1000000 becquerel
/gate/source/fuente/gps/energytype Mono
/gate/source/fuente/gps/monoenergy 511 keV
/gate/source/fuente/gps/centre 40 0 0 mm
/gate/source/fuente/gps/type Volume
/gate/source/fuente/gps/pos/shape Sphere
/gate/source/fuente/gps/pos/radius 0.5 mm
/gate/source/fuente/gps/angtype iso
/gate/source/fuente/visualize 1000 red 1
/gate/source/list
/gate/output/root/enable
/gate/output/root/setFileName ./file
/gate/output/root/setRootHitFlag 0
/gate/output/root/setRootSinglesFlag 1
/gate/output/root/setRootCoincidencesFlag 1
/gate/application/setTimeSlice 1 s
/gate/application/setTimeStart 0 s
/gate/application/setTimeStop 1 s
/gate/application/startDAQ
If anybody knows how to solve this problem I will be very thankful
Gabriel
More information about the Gate-users
mailing list