<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div class="x_gmail_quote">
<blockquote class="x_gmail_quote" style="margin:0px 0px 0px 0.8ex; border-left:1px solid rgb(204,204,204); padding-left:1ex">
<div><span style="color:rgb(34, 34, 34);font-family:Arial, Helvetica, sans-serif;font-size:small;background-color:rgb(255, 255, 255)">Hello every body,</span></div>
<div><span style="color:rgb(34, 34, 34);font-family:Arial, Helvetica, sans-serif;font-size:small;background-color:rgb(255, 255, 255)"><br>
</span></div>
<div><span style="color:rgb(34, 34, 34);font-family:Arial, Helvetica, sans-serif;font-size:small;background-color:rgb(255, 255, 255)">I wish that you doing well, </span></div>
<div><span style="color:rgb(34, 34, 34);font-family:Arial, Helvetica, sans-serif;font-size:small;background-color:rgb(255, 255, 255)"><br>
</span></div>
<div><span style="color:rgb(34, 34, 34);font-family:Arial, Helvetica, sans-serif;font-size:small;background-color:rgb(255, 255, 255)">please I am use the example of the optical photon, where I need to extract the</span><span style="color: rgb(34, 34, 34); font-family: Arial, Helvetica, sans-serif; font-size: small;"> 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, </span></div>
<div>
<div style="color:rgb(34, 34, 34);font-family:Arial, Helvetica, sans-serif;font-size:small;background-color:rgb(255, 255, 255)">
<br>
</div>
<div style="color:rgb(34, 34, 34);font-family:Arial, Helvetica, sans-serif;font-size:small;background-color:rgb(255, 255, 255)">
<b><i>Please can you help me if it's possible to get the energy spectrum (or wavelength) of the fluorescence photons inside the crystal ?</i></b></div>
<div style="color:rgb(34, 34, 34);font-family:Arial, Helvetica, sans-serif;font-size:small;background-color:rgb(255, 255, 255)">
<br>
</div>
</div>
<div><span style="color:rgb(34, 34, 34);font-family:Arial, Helvetica, sans-serif;font-size:small;background-color:rgb(255, 255, 255)">So thank you very much at advance<br>
</span></div>
</blockquote>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="color:rgb(34, 34, 34);font-family:Arial, Helvetica, sans-serif;font-size:small;background-color:rgb(255, 255, 255)">My code bellow :</span></div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="color:rgb(34, 34, 34);font-family:Arial, Helvetica, sans-serif;font-size:small;background-color:rgb(255, 255, 255)"><br>
</span></div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="color:rgb(34, 34, 34);font-family:Arial, Helvetica, sans-serif;font-size:small;background-color:rgb(255, 255, 255)">
<div><br>
</div>
<div>/vis/disable</div>
<div>#/control/execute ./macro/Visualisation.mac</div>
<div>/control/execute ./macro/Verbose.mac</div>
<div><br>
</div>
<div>#=====================================================</div>
<div># GEOMETRY</div>
<div>#=====================================================</div>
<div><br>
</div>
<div>/gate/geometry/setMaterialDatabase ./GateMaterials.db</div>
<div><br>
</div>
<div>#=====================================================</div>
<div># W O R L D</div>
<div>#=====================================================</div>
<div><br>
</div>
<div><br>
</div>
<div>/gate/world/geometry/setXLength 50. cm</div>
<div>/gate/world/geometry/setYLength 50. cm</div>
<div>/gate/world/geometry/setZLength 50. cm</div>
<div>/gate/world/setMaterial Air</div>
<div>/gate/world/vis/setVisible 0</div>
<div>#=======================================================</div>
<div># G E O M E T R Y</div>
<div>#=======================================================</div>
<div><br>
</div>
<div>/control/execute ./macro/Geometry.mac</div>
<div> </div>
<div>#=====================================================</div>
<div># P H Y S I C S</div>
<div>#=====================================================</div>
<div><br>
</div>
<div><br>
</div>
<div>/gate/physics/addProcess OpticalAbsorption</div>
<div>/gate/physics/addProcess OpticalRayleigh</div>
<div>/gate/physics/addProcess OpticalBoundary</div>
<div>/gate/physics/addProcess OpticalMie</div>
<div>/gate/physics/addProcess OpticalWLS</div>
<div>/gate/physics/addProcess Scintillation</div>
<div><br>
</div>
<div><br>
</div>
<div>/gate/physics/addProcess PhotoElectric</div>
<div>/gate/physics/processes/PhotoElectric/setModel StandardModel</div>
<div><br>
</div>
<div>#/gate/physics/addProcess Compton</div>
<div>#/gate/physics/processes/Compton/setModel StandardModel</div>
<div><br>
</div>
<div>#/gate/physics/addProcess RayleighScattering</div>
<div>#/gate/physics/processes/RayleighScattering/setModel PenelopeModel</div>
<div><br>
</div>
<div>/gate/physics/addProcess ElectronIonisation</div>
<div>/gate/physics/processes/ElectronIonisation/setModel StandardModel e-</div>
<div>/gate/physics/processes/ElectronIonisation/setModel StandardModel e+</div>
<div><br>
</div>
<div>/gate/physics/addProcess Bremsstrahlung</div>
<div>/gate/physics/processes/Bremsstrahlung/setModel StandardModel e-</div>
<div>/gate/physics/processes/Bremsstrahlung/setModel StandardModel e+</div>
<div><br>
</div>
<div>#/gate/physics/addProcess PositronAnnihilation</div>
<div><br>
</div>
<div>/gate/physics/addProcess eMultipleScattering e+</div>
<div>/gate/physics/addProcess eMultipleScattering e-</div>
<div><br>
</div>
<div>#/gate/physics/addProcess RadioactiveDecay</div>
<div><br>
</div>
<div>/gate/physics/processList Enabled</div>
<div>/gate/physics/processList Initialized</div>
<div><br>
</div>
<div>#=====================================================</div>
<div># INITIALISATION</div>
<div>#=====================================================</div>
<div><br>
</div>
<div>/gate/run/initialize</div>
<div><br>
</div>
<div><br>
</div>
<div>#=====================================================</div>
<div># S O U R C E</div>
<div>#=====================================================</div>
<div><br>
</div>
<div>/control/execute ./macro/Source.mac</div>
<div><br>
</div>
<div>#===============================================================</div>
<div># Optical photons Detection Surface should be DIELECTRIC-METAL</div>
<div>#===============================================================</div>
<div><br>
</div>
<div>/gate/crystal/surfaces/name surface1</div>
<div>/gate/crystal/surfaces/insert OpticalSystem</div>
<div>/gate/crystal/surfaces/surface1/setSurface RoughTeflon_LUT </div>
<div><br>
</div>
<div>/gate/OpticalSystem/surfaces/name surface2</div>
<div>/gate/OpticalSystem/surfaces/insert crystal</div>
<div>/gate/OpticalSystem/surfaces/surface2/setSurface RoughTeflon_LUT </div>
<div><br>
</div>
<div>/gate/crystal/surfaces/name Detection1</div>
<div>/gate/crystal/surfaces/insert pixel</div>
<div>/gate/crystal/surfaces/Detection1/setSurface Detector_LUT </div>
<div><br>
</div>
<div>/gate/pixel/surfaces/name Detection2</div>
<div>/gate/pixel/surfaces/insert crystal</div>
<div>/gate/pixel/surfaces/Detection2/setSurface Detector_LUT </div>
<div><br>
</div>
<div><br>
</div>
<div>#=====================================================</div>
<div># D I G I T I Z E R: DETECTOR ELECTRONIC RESPONSE</div>
<div>/gate/digitizer/Singles/insert opticaladder </div>
<div>/gate/digitizer/Singles/insert readout </div>
<div>/gate/digitizer/Singles/readout/setDepth 2 </div>
<div>/gate/digitizer/Singles/insert upholder </div>
<div>/gate/digitizer/Singles/upholder/setUphold 3 eV </div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div>#=====================================================</div>
<div># D A T A O U T P U T </div>
<div>#=====================================================</div>
<div>/gate/output/root/enable </div>
<div>/gate/output/root/setFileName ./Fluorescence_skin </div>
<div>/gate/output/root/setRootHitFlag 0 </div>
<div>/gate/output/root/setRootSinglesFlag 1 </div>
<div>/gate/output/root/setRootOpticalFlag 1 </div>
<div>/gate/output/fastanalysis/enable </div>
<div><br>
</div>
<div>#=====================================================</div>
<div># R A N D O M</div>
<div>#=====================================================</div>
<div><br>
</div>
<div># Choose between: JamesRandom Ranlux64 MersenneTwister</div>
<div>/gate/random/setEngineName MersenneTwister</div>
<div>#/gate/random/setEngineSeed default</div>
<div>#/gate/random/setEngineSeed auto</div>
<div>/gate/random/setEngineSeed 123456789</div>
<div>/gate/random/verbose 0</div>
<div><br>
</div>
<div># A C Q U I S I T I O N</div>
<div><br>
</div>
<div># If using DAQ: setActivity is needed in the Source</div>
/control/execute ./macro/StartDAQ.mac<br>
</span></div>
<blockquote class="x_gmail_quote" style="margin:0px 0px 0px 0.8ex; border-left:1px solid rgb(204,204,204); padding-left:1ex">
<div><br>
</div>
</blockquote>
</div>
</body>
</html>