[Gate-users] Energy spectrum for opticalphotons

LLKI JJJY ggh70 at live.fr
Wed Dec 29 17:30:29 CET 2021


Hello every body,

I wish that you doing well,

please I am use  the example of the optical photon, where I need to extract the energy spectrum of the fluorescence photons created inside the crystal by an external beam (140 keV), so in the root output I found the energy spectrum empty,

Please can you help me if it's possible to get the energy spectrum (or wavelength) of the  fluorescence photons inside the crystal ?

So thank you very much at advance
My code bellow :


/vis/disable
#/control/execute                    ./macro/Visualisation.mac
/control/execute                    ./macro/Verbose.mac

#=====================================================
# GEOMETRY
#=====================================================

/gate/geometry/setMaterialDatabase    ./GateMaterials.db

#=====================================================
#     W O R L D
#=====================================================


/gate/world/geometry/setXLength       50. cm
/gate/world/geometry/setYLength       50. cm
/gate/world/geometry/setZLength       50. cm
/gate/world/setMaterial               Air
/gate/world/vis/setVisible 0
#=======================================================
#                   G E O M E T R Y
#=======================================================

/control/execute                    ./macro/Geometry.mac

#=====================================================
#                  P H Y S I C S
#=====================================================


/gate/physics/addProcess OpticalAbsorption
/gate/physics/addProcess OpticalRayleigh
/gate/physics/addProcess OpticalBoundary
/gate/physics/addProcess OpticalMie
/gate/physics/addProcess OpticalWLS
/gate/physics/addProcess Scintillation


/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/addProcess RadioactiveDecay

/gate/physics/processList Enabled
/gate/physics/processList Initialized

#=====================================================
# INITIALISATION
#=====================================================

/gate/run/initialize


#=====================================================
#  S O U R C E
#=====================================================

/control/execute ./macro/Source.mac

#===============================================================
# Optical photons Detection Surface should be DIELECTRIC-METAL
#===============================================================

/gate/crystal/surfaces/name                           surface1
/gate/crystal/surfaces/insert                         OpticalSystem
/gate/crystal/surfaces/surface1/setSurface      RoughTeflon_LUT

/gate/OpticalSystem/surfaces/name                     surface2
/gate/OpticalSystem/surfaces/insert                   crystal
/gate/OpticalSystem/surfaces/surface2/setSurface RoughTeflon_LUT

/gate/crystal/surfaces/name                           Detection1
/gate/crystal/surfaces/insert                         pixel
/gate/crystal/surfaces/Detection1/setSurface       Detector_LUT

/gate/pixel/surfaces/name                 Detection2
/gate/pixel/surfaces/insert                   crystal
/gate/pixel/surfaces/Detection2/setSurface   Detector_LUT


#=====================================================
#   D I G I T I Z E R: DETECTOR ELECTRONIC RESPONSE
/gate/digitizer/Singles/insert opticaladder
/gate/digitizer/Singles/insert                        readout
/gate/digitizer/Singles/readout/setDepth              2
/gate/digitizer/Singles/insert upholder
/gate/digitizer/Singles/upholder/setUphold 3 eV



#=====================================================
#  D A T A   O U T P U T
#=====================================================
/gate/output/root/enable
/gate/output/root/setFileName      ./Fluorescence_skin
/gate/output/root/setRootHitFlag          0
/gate/output/root/setRootSinglesFlag      1
/gate/output/root/setRootOpticalFlag      1
/gate/output/fastanalysis/enable

#=====================================================
#   R A N D O M
#=====================================================

# Choose between: JamesRandom Ranlux64 MersenneTwister
/gate/random/setEngineName MersenneTwister
#/gate/random/setEngineSeed default
#/gate/random/setEngineSeed auto
/gate/random/setEngineSeed 123456789
/gate/random/verbose 0

# A C Q U I S I T I O N

# If using DAQ: setActivity is needed in the Source
/control/execute                        ./macro/StartDAQ.mac

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengatecollaboration.org/pipermail/gate-users/attachments/20211229/6db2dc59/attachment.html>


More information about the Gate-users mailing list