<div dir="ltr"><div class="gmail_default" style="font-family:comic sans ms,sans-serif;font-size:small"><br>Hello all!<br><br>I am trying to calculate the value of the sensitivity of PET, but the problem is that it gives me a very low value and I don't know that I can be doing wrong. I should get a value of 0.95 % = 9.5 but all it gives me is 0.6 %!!<br>The geometry have it well implemented .<br>I put a twogamma source , so that the simulation is faster. I also changed the value of the cut, the threshold and dead-time and gives me the same thing: S = 0.6 %<br>Send two photos of the PET manufacturing parameters I want to simulate.<br>Any ideas???<br>Thank you<br>I send you the code if you see anything wrong:<br><br>/gate/geometry/setMaterialDatabase    /home/lri/opengate-public/GateMaterials.db  <br><br>#     WORLD: <br>/gate/world/geometry/setXLength       400. cm <br>/gate/world/geometry/setYLength       400. cm<br>/gate/world/geometry/setZLength       400. cm<br><br>#-------------------oooooOOOOO00000OOOOOooooo---------------------#<br>#                                                                 #<br>#     DEFINITION AND DESCRITION OF YOUR PET DEVICE                 #<br>#                                                                 #<br>#-------------------oooooOOOOO00000OOOOOooooo---------------------#<br><br>#    CYLINDRICAL<br>/gate/world/daughters/name                    cylindricalPET<br>/gate/world/daughters/insert                  cylinder<br>/gate/cylindricalPET/placement/setTranslation 0.0 0.0 0.0 cm<br>/gate/cylindricalPET/geometry/setRmax         47.3 cm<br>/gate/cylindricalPET/geometry/setRmin         42.1 cm<br>/gate/cylindricalPET/geometry/setHeight       21.4 cm<br>/gate/cylindricalPET/setMaterial              Air<br>#/gate/cylindricalPET/vis/forceWireframe      1<br>/gate/cylindricalPET/vis/setColor             white<br><br>#    HEAD (rsector)<br>/gate/cylindricalPET/daughters/name           head<br>/gate/cylindricalPET/daughters/insert         box<br>/gate/head/placement/setTranslation           42.1 0 0 cm<br>/gate/head/geometry/setXLength                2 cm<br>/gate/head/geometry/setYLength                5.2 cm<br>/gate/head/geometry/setZLength                20.8 cm<br>/gate/head/setMaterial                        Air<br>/gate/head/vis/setVisible                     1<br>/gate/head/vis/setColor                       red<br><br>#    BLOCK (module)<br>/gate/head/daughters/name                     block<br>/gate/head/daughters/insert                   box<br>/gate/block/placement/setTranslation          0 0 0 cm<br>/gate/block/geometry/setXLength               2 cm<br>/gate/block/geometry/setYLength               5.2 cm<br>/gate/block/geometry/setZLength               5.2 cm<br>/gate/block/setMaterial                       Air<br>/gate/block/vis/setVisible                    1<br>/gate/block/vis/setColor                       blue<br><br>#    CRYSTAL<br>/gate/block/daughters/name                    crystal<br>/gate/block/daughters/insert                  box<br>/gate/crystal/placement/setTranslation        0.0 0.0 0.0 cm<br>/gate/crystal/geometry/setXLength             2 cm<br>/gate/crystal/geometry/setYLength             0.4 cm<br>/gate/crystal/geometry/setZLength             0.4 cm<br>/gate/crystal/setMaterial                     Air<br>/gate/crystal/vis/setVisible                  0<br><br>#    LSO layer<br>/gate/crystal/daughters/name                  LSO<br>/gate/crystal/daughters/insert                box<br>/gate/LSO/placement/setTranslation            0.0 0.0 0.0 cm<br>/gate/LSO/geometry/setXLength                 2 cm<br>/gate/LSO/geometry/setYLength                 0.4 cm<br>/gate/LSO/geometry/setZLength                 0.4 cm<br>/gate/LSO/setMaterial                         LSO<br>/gate/LSO/vis/setVisible                      1<br>/gate/LSO/vis/setColor                        yellow<br><br>#    REPEAT CRYSTAL<br>/gate/crystal/repeaters/insert                cubicArray<br>/gate/crystal/cubicArray/setRepeatNumberX     1<br>/gate/crystal/cubicArray/setRepeatNumberY     13<br>/gate/crystal/cubicArray/setRepeatNumberZ     13<br>/gate/crystal/cubicArray/setRepeatVector      0 0.4 0.4 cm<br><br>#    REPEAT BLOCK<br>/gate/block/repeaters/insert                  cubicArray<br>/gate/block/cubicArray/setRepeatNumberX       1<br>/gate/block/cubicArray/setRepeatNumberY       1<br>/gate/block/cubicArray/setRepeatNumberZ       4<br>/gate/block/cubicArray/setRepeatVector        0 0 5.2 cm<br><br>#    REPEAT HEAD<br>/gate/head/repeaters/insert                   ring<br>/gate/head/ring/setRepeatNumber               48 <br><br>#    ATTACH SYSTEM <br>/gate/systems/cylindricalPET/rsector/attach   head<br>/gate/systems/cylindricalPET/module/attach    block<br>/gate/systems/cylindricalPET/crystal/attach   crystal<br>/gate/systems/cylindricalPET/layer0/attach    LSO<br><br>#    ATTACH CRYSTAL SD<br><br>/gate/LSO/attachCrystalSD<br><br>/gate/systems/cylindricalPET/describe<br><br>#/gate/cylindricalPET/moves/insert             orbiting<br>#/gate/cylindricalPET/orbiting/setSpeed        30 deg/s <br>#/gate/cylindricalPET/orbiting/setPoint1       0 0 0 cm<br>#/gate/cylindricalPET/orbiting/setPoint2       0 0 1 cm<br><br>#====================================================================<br>#        PHANTOMS <br>#====================================================================<br><br>#    CYLINDER 5<br>/gate/world/daughters/name                   phantom5<br>/gate/world/daughters/insert                 cylinder<br>/gate/phantom5/setMaterial                   Air<br>/gate/phantom5/vis/setColor                  grey<br>/gate/phantom5/geometry/setRmax              0.955 cm<br>/gate/phantom5/geometry/setRmin              0.83 cm<br>/gate/phantom5/geometry/setHeight            70 cm<br>/gate/phantom5/placement/setTranslation      0 0 0 mm<br><br>#/gate/phantom5/attachPhantomSD<br><br>#    CYLINDER 4<br>/gate/phantom5/daughters/name                 phantom4<br>/gate/phantom5/daughters/insert               cylinder<br>/gate/phantom4/setMaterial                    Air<br>/gate/phantom4/vis/setColor                   blue<br>/gate/phantom4/geometry/setRmax               0.795 cm<br>/gate/phantom4/geometry/setRmin               0.67 cm<br>/gate/phantom4/geometry/setHeight             70 cm<br>/gate/phantom4/placement/setTranslation       0 0 0 mm<br><br>#/gate/phantom4/attachPhantomSD<br><br>#    CYLINDER 3<br>/gate/phantom4/daughters/name                 phantom3<br>/gate/phantom4/daughters/insert               cylinder<br>/gate/phantom3/setMaterial                    Air<br>/gate/phantom3/vis/setColor                   yellow<br>/gate/phantom3/geometry/setRmax               0.635 cm<br>/gate/phantom3/geometry/setRmin               0.51 cm<br>/gate/phantom3/geometry/setHeight             70 cm<br>/gate/phantom3/placement/setTranslation       0 0 0 mm<br><br>#/gate/phantom3/attachPhantomSD<br><br>#    CYLINDER 2<br>/gate/phantom3/daughters/name                 phantom2<br>/gate/phantom3/daughters/insert               cylinder<br>/gate/phantom2/setMaterial                    Air<br>/gate/phantom2/vis/setColor                   green<br>/gate/phantom2/geometry/setRmax               0.475 cm<br>/gate/phantom2/geometry/setRmin               0.35 cm<br>/gate/phantom2/geometry/setHeight             70 cm<br>/gate/phantom2/placement/setTranslation       0 0 0 mm<br><br>#/gate/phantom2/attachPhantomSD<br><br>#    CYLINDER 1<br>/gate/phantom2/daughters/name                 phantom1<br>/gate/phantom2/daughters/insert               cylinder<br>/gate/phantom1/setMaterial                    Air<br>/gate/phantom1/vis/setColor                   red<br>/gate/phantom1/geometry/setRmax               0.32 cm<br>/gate/phantom1/geometry/setRmin               0.195 cm<br>/gate/phantom1/geometry/setHeight             70 cm<br>/gate/phantom1/placement/setTranslation       0 0 0 mm<br><br>#/gate/phantom1/attachPhantomSD<br><br>#=====================================================<br>#         PHYSICS<br>#=====================================================<br>/gate/physics/addProcess                 PhotoElectric<br>/gate/physics/processes/PhotoElectric/setModel         StandardModel<br>/gate/physics/addProcess                 Compton<br>/gate/physics/processes/Compton/setModel         StandardModel<br>/gate/physics/addProcess                 RayleighScattering<br>/gate/physics/processes/RayleighScattering/setModel     PenelopeModel<br><br>/gate/physics/addProcess                 ElectronIonisation<br>/gate/physics/processes/ElectronIonisation/setModel     StandardModel e-<br>/gate/physics/processes/ElectronIonisation/setModel     StandardModel e+<br>/gate/physics/addProcess                 Bremsstrahlung<br>/gate/physics/processes/Bremsstrahlung/setModel     StandardModel e-<br>/gate/physics/processes/Bremsstrahlung/setModel     StandardModel e+<br>/gate/physics/addProcess                 PositronAnnihilation<br>/gate/physics/addProcess                 MultipleScattering e+<br>/gate/physics/addProcess                 MultipleScattering e-<br><br>/gate/physics/processList     Enabled<br>/gate/physics/processList     Initialized<br><br>#=====================================================<br>#         CUTS<br>#=====================================================<br>/gate/physics/Gamma/SetCutInRegion      LSO 1 cm        <br>/gate/physics/Electron/SetCutInRegion   LSO 1 cm        <br>/gate/physics/Positron/SetCutInRegion   LSO 1 cm    <br><br>#/gate/physics/Gamma/SetCutInRegion      phantom 0.1 mm    <br>#/gate/physics/Electron/SetCutInRegion   phantom 0.1 mm<br>#/gate/physics/Positron/SetCutInRegion   phantom 0.1 mm<br><br>#/gate/physics/SetMaxStepSizeInRegion    phantom 0.01 mm<br><br>#==========================================================================<br>#         INITIALISATION<br>#===========================================================================<br>/gate/run/initialize<br><br>#=====================================================<br># Show how the geometry moves with time<br>#=====================================================<br><br>/control/execute                        MoveVisu.mac<br><br>#========================================================================<br>#           DIGITALIZADOR: DETECTOR ELECTRONIC RESPONSE<br>#========================================================================<br># ADDER:<br>/gate/digitizer/convertor/verbose              0<br>/gate/digitizer/Singles/insert                        adder<br>/gate/digitizer/Singles/adder/verbose              0<br><br># READOUT:<br>gate/digitizer/Singles/insert                        readout<br>/gate/digitizer/Singles/readout/setDepth              1<br><br># BLURRING:<br>/gate/digitizer/Singles/insert                                blurring<br>/gate/digitizer/Singles/blurring/setResolution                0.12<br>/gate/digitizer/Singles/blurring/setCrystalEnergyOfReference     511. keV<br><br># THRESHOLDER/UPHOLDER:<br>/gate/digitizer/Singles/insert                        thresholder<br>/gate/digitizer/Singles/thresholder/setThreshold      435. keV<br>/gate/digitizer/Singles/insert                        upholder<br>/gate/digitizer/Singles/upholder/setUphold            700. keV<br><br>#====================================================================================<br>#        COINCIDENCE SORTER<br>#====================================================================================<br>/gate/digitizer/Coincidences/setWindow          4.1 ns<br><br>/gate/digitizer/name                            delay<br>/gate/digitizer/insert                          coincidenceSorter<br>/gate/digitizer/delay/setWindow                 4.1 ns<br>/gate/digitizer/delay/setOffset                 500. ns<br><br>/gate/systems/cylindricalPET/describe<br><br>#=====================================================<br>#          PARTICLE SOURCE<br>#=====================================================<br>/gate/source/addSource                twogamma <br>/gate/source/twogamma/setActivity         1800 becquerel<br>/gate/source/twogamma/setType             backtoback<br><br>/gate/source/twogamma/gps/centre        0. 0. 0. cm<br><br>/gate/source/twogamma/gps/particle         gamma<br>/gate/source/twogamma/gps/energytype        Mono<br>/gate/source/twogamma/gps/monoenergy        0.511 MeV<br><br>/gate/source/twogamma/gps/shape            Cylinder<br>/gate/source/twogamma/gps/type             Volume<br>/gate/source/twogamma/gps/radius        0.3 cm<br>/gate/source/twogamma/gps/halfz            35 cm<br><br>/gate/source/twogamma/gps/angtype        iso<br><br>/gate/source/twogamma/gps/mintheta        0. deg<br>/gate/source/twogamma/gps/maxtheta        180. deg<br>/gate/source/twogamma/gps/minphi        0. deg<br>/gate/source/twogamma/gps/maxphi        360. deg<br><br>/gate/source/list<br><br>#=====================================================<br>#          DATA OUTPUT   <br>#=====================================================<br>/gate/output/root/enable<br>/gate/output/root/setFileName             SALIDA_ROOT<br>/gate/output/root/setRootHitFlag          0<br>/gate/output/root/setRootSinglesFlag      0<br>/gate/output/root/setRootCoincidencesFlag 1<br>/gate/output/root/setRootdelayFlag        0<br><br>#====================================================<br>#          RANDOM ENGINE AND SEED<br>#====================================================<br>/gate/random/setEngineName             JamesRandom<br>/gate/random/setEngineSeed             default<br>/gate/random/verbose                 0<br><br>#=====================================================<br>#           MEASUREMENT SETTINGS   <br>#=====================================================<br>/gate/application/setTimeSlice   1 s<br>/gate/application/setTimeStart   0 s<br>/gate/application/setTimeStop    1 s<br><br>#=====================================================<br>#         VISUALISATION<br>#=====================================================<br>#/vis/disable<br><br>/vis/open                           DAWNFILE<br>/vis/viewer/set/viewpointThetaPhi   60 60<br>/vis/viewer/zoom                    8.0<br>/vis/drawVolume<br>/tracking/storeTrajectory           1<br>/vis/scene/add/trajectories <br>/vis/scene/endOfEventAction         accumulate<br>/vis/viewer/update<br>/vis/viewer/refresh<br><br>/control/execute                    Verbose.mac<br><br>/gate/application/startDAQ<br clear="all"></div><br>-- <br><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><pre>LORENA VÁZQUEZ CANELAS<br>-- <br>LRI - Datación (Despacho Técnicos)<br>Calle Espejo, s/n, 37008 - Salamanca (Spain)<br>TEL: +34 923 294930 ext:4932 email: <a href="mailto:lorena.vazquez@usal.es" target="_blank">lorena.vazquez@usal.es</a><br>web: <a href="http://campus.usal.es/%7Elri/" target="_blank">http://campus.usal.es/~lri/</a></pre></div></div></div></div></div></div></div></div></div></div>
</div>