<html><head></head><body><div style="color:#000; background-color:#fff; font-family:Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px"><div id="yui_3_16_0_ym19_1_1506429759488_38612"><span id="yui_3_16_0_ym19_1_1506429759488_38935">When I had tried the physicslist way of physics I had some faults and couldn't work with it. So finally I used this way for physics:</span></div><div id="yui_3_16_0_ym19_1_1506429759488_38612"><span><br></span></div><div id="yui_3_16_0_ym19_1_1506429759488_38805">/gate/physics/addProcess PhotoElectric</div><div id="yui_3_16_0_ym19_1_1506429759488_38806">/gate/physics/processes/PhotoElectric/setModel StandardModel</div><div id="yui_3_16_0_ym19_1_1506429759488_38807">/gate/physics/addProcess Compton<br></div><div id="yui_3_16_0_ym19_1_1506429759488_38813">/gate/physics/processes/Compton/setModel PenelopeModel</div><div id="yui_3_16_0_ym19_1_1506429759488_38814">/gate/physics/addProcess RayleighScattering<br></div><div id="yui_3_16_0_ym19_1_1506429759488_38817">/gate/physics/processes/RayleighScattering/setModel PenelopeModel</div><div id="yui_3_16_0_ym19_1_1506429759488_38818">/gate/physics/addProcess ElectronIonisation<br></div><div id="yui_3_16_0_ym19_1_1506429759488_38821">/gate/physics/processes/ElectronIonisation/setModel StandardModel e-</div><div id="yui_3_16_0_ym19_1_1506429759488_38822">/gate/physics/addProcess Bremsstrahlung<br></div><div id="yui_3_16_0_ym19_1_1506429759488_38825">/gate/physics/processes/Bremsstrahlung/setModel StandardModel e-</div><div id="yui_3_16_0_ym19_1_1506429759488_38826">/gate/physics/addProcess eMultipleScattering e-<br></div><div id="yui_3_16_0_ym19_1_1506429759488_38829">/gate/physics/processList Enabled<br></div><div id="yui_3_16_0_ym19_1_1506429759488_38612"></div><div dir="ltr" id="yui_3_16_0_ym19_1_1506429759488_38832">/gate/physics/processList Initialized</div><div dir="ltr" id="yui_3_16_0_ym19_1_1506429759488_38832"><br></div><div dir="ltr" id="yui_3_16_0_ym19_1_1506429759488_38832">Try this, with also the basic commands for the actor. You can always change the models later, when you make it work.</div><div></div><div id="yui_3_16_0_ym19_1_1506429759488_38613"> </div><div class="signature" id="yui_3_16_0_ym19_1_1506429759488_38616"><div style="color:rgb(0, 0, 0);font-family:Arial;font-size:16px;font-style:normal;font-weight:normal;letter-spacing:normal;orphans:2;text-indent:0px;text-transform:none;white-space:normal;widows:2;word-spacing:0px;" id="yui_3_16_0_ym19_1_1506429759488_38615"><span style="font-style:italic;" id="yui_3_16_0_ym19_1_1506429759488_38614">-----------------------------------------------------</span></div><span style="color:rgb(0, 0, 0);font-family:Arial;font-size:16px;font-weight:normal;letter-spacing:normal;orphans:2;text-indent:0px;text-transform:none;white-space:normal;widows:2;word-spacing:0px;font-style:italic;" id="yui_3_16_0_ym19_1_1506429759488_38838"> Konstantinos Chatzipapas<br> Medical Physicist, </span><span style="color:rgb(0, 0, 0);font-family:Arial;font-size:16px;font-weight:normal;letter-spacing:normal;orphans:2;text-indent:0px;text-transform:none;white-space:normal;widows:2;word-spacing:0px;font-style:italic;" id="yui_3_16_0_ym19_1_1506429759488_39096">MSc<br></span><div style="color:rgb(0, 0, 0);font-family:Arial;font-size:16px;font-style:normal;font-weight:normal;letter-spacing:normal;orphans:2;text-indent:0px;text-transform:none;white-space:normal;widows:2;word-spacing:0px;" id="yui_3_16_0_ym19_1_1506429759488_39095"><div id="yui_3_16_0_ym19_1_1506429759488_39094"><span style="font-style:italic;" id="yui_3_16_0_ym19_1_1506429759488_39211"> <span style="font-weight:bold;" id="yui_3_16_0_ym19_1_1506429759488_39210">University of Patras</span></span></div><div id="yui_3_16_0_ym19_1_1506429759488_39200"><div id="yui_3_16_0_ym19_1_1506429759488_39199"><span style="font-style:italic;"><br></span></div><div id="yui_3_16_0_ym19_1_1506429759488_39209"><span style="font-style:italic;" id="yui_3_16_0_ym19_1_1506429759488_39208"><span class="Apple-tab-span" style="white-space:pre;"> </span> web page:<span class="Apple-converted-space"> </span><a rel="nofollow" target="_blank" href="http://www.physicsmag.com/" id="yui_3_16_0_ym19_1_1506429759488_41092">Physics Magazine</a></span></div></div></div></div> <div class="qtdSeparateBR"><br><br></div><div class="yahoo_quoted" style="display: block;"> <div style="font-family: Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;"> <div dir="ltr"><font size="2" face="Arial"> Στις 4:15 μ.μ. Τρίτη, 26 Σεπτεμβρίου 2017, ο/η tony youness <tony_youness@live.com> έγραψε:<br></font></div> <br><br> <div class="y_msg_container"><div id="yiv6280368719"><div>
<div><br clear="none">
</div>
<div><br clear="none">
</div>
<div># - - - - - - - - - - - - - - - - - - - - - - - - - - - - -<br clear="none">
# VERBOSE and VISUALISATION<br clear="none">
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - -<br clear="none">
<br clear="none">
/control/execute mac/verbose.mac<br clear="none">
#/control/execute mac/visu.mac<br clear="none">
<br clear="none">
<br clear="none">
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - -<br clear="none">
# A specific material database is created<br clear="none">
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - -<br clear="none">
<br clear="none">
/gate/geometry/setMaterialDatabase data/Materials.db<br clear="none">
<br clear="none">
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - -<br clear="none">
# GEOMETRY<br clear="none">
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - -<br clear="none">
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - -<br clear="none">
# WORLD<br clear="none">
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - -<br clear="none">
<br clear="none">
/gate/world/setMaterial Air<br clear="none">
/gate/world/geometry/setXLength 5.0 m<br clear="none">
/gate/world/geometry/setYLength 5.0 m<br clear="none">
/gate/world/geometry/setZLength 5.0 m<br clear="none">
/gate/world/vis/setVisible 0<br clear="none">
<br clear="none">
<br clear="none">
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - -<br clear="none">
# PATIENT/PHANTOM<br clear="none">
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - -<br clear="none">
<br clear="none">
/control/execute mac/Waterphantom_DSP95.mac<br clear="none">
<br clear="none">
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - -<br clear="none">
# Accelerator GEOMETRY<br clear="none">
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - -<br clear="none">
<br clear="none">
/control/execute mac/Linac.mac<br clear="none">
<br clear="none">
<br clear="none">
#=====================================================<br clear="none">
# OUTPUT ACTORS<br clear="none">
#=====================================================<br clear="none">
<br clear="none">
/gate/actor/addActor EnergySpectrumActor spectrum<br clear="none">
/gate/actor/spectrum/attachTo layer3<br clear="none">
/gate/actor/spectrum/addFilter particleFilter<br clear="none">
/gate/actor/spectrum/particleFilter/addParticle e-<br clear="none">
/gate/actor/spectrum/save output/WaterSpec.root<br clear="none">
/gate/actor/spectrum/energySpectrum/setEmin 0 eV<br clear="none">
/gate/actor/spectrum/energySpectrum/setEmax 6 MeV<br clear="none">
/gate/actor/spectrum/energySpectrum/setNumberOfBins 300<br clear="none">
<br clear="none">
<br clear="none">
<br clear="none">
#=====================================================<br clear="none">
# PHYSICS<br clear="none">
#=====================================================<br clear="none">
<br clear="none">
/gate/physics/addPhysicsList emlivermore<br clear="none">
/gate/physics/Gamma/SetCutInRegion world 1 mm<br clear="none">
/gate/physics/Electron/SetCutInRegion world 1 mm<br clear="none">
/gate/physics/Positron/SetCutInRegion world 1 mm<br clear="none">
/gate/physics/Gamma/SetCutInRegion patient 0.1 mm<br clear="none">
/gate/physics/Electron/SetCutInRegion patient 0.1 mm<br clear="none">
/gate/physics/Positron/SetCutInRegion patient 0.1 mm<br clear="none">
/gate/physics/Gamma/SetCutInRegion mylinac 1 mm<br clear="none">
/gate/physics/Electron/SetCutInRegion mylinac 1 mm<br clear="none">
/gate/physics/Positron/SetCutInRegion mylinac 1 mm<br clear="none">
/gate/physics/displayCuts<br clear="none">
/gate/physics/print output/physics.txt<br clear="none">
<br clear="none">
#=====================================================<br clear="none">
# INITIALISATION<br clear="none">
#=====================================================<br clear="none">
<br clear="none">
<br clear="none">
/gate/run/initialize<br clear="none">
<br clear="none">
<br clear="none">
#=====================================================<br clear="none">
# INPUT BEAM<br clear="none">
#=====================================================<br clear="none">
<br clear="none">
/gate/source/addSource MyBeam phaseSpace<br clear="none">
/gate/source/MyBeam/addPhaseSpaceFile data/IAEA.IAEAphsp<br clear="none">
/gate/source/MyBeam/attachTo outPhSp<br clear="none">
<br clear="none">
#=====================================================<br clear="none">
# START BEAMS<br clear="none">
#=====================================================<br clear="none">
<br clear="none">
/gate/random/setEngineName MersenneTwister<br clear="none">
/gate/random/setEngineSeed auto<br clear="none">
/control/execute mac/timeslices.mac<br clear="none">
/gate/application/setTotalNumberOfPrimaries 10000000<br clear="none">
/gate/application/start<br clear="none">
<br clear="none">
</div>
<br clear="none">
<div class="yiv6280368719yqt2050007526" id="yiv6280368719yqt59940"><div class="yiv6280368719moz-cite-prefix">On 26/09/17 3:03 pm, Konstantinos P. Chatzipapas, MSc wrote:<br clear="none">
</div>
<blockquote type="cite">
<div style="color:#000;background-color:#fff;font-family:Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px;">
<div id="yiv6280368719yui_3_16_0_ym19_1_1506429759488_23579"><span id="yiv6280368719yui_3_16_0_ym19_1_1506429759488_23621">If you can, please attach the mac file that you use.</span></div>
<div id="yiv6280368719yui_3_16_0_ym19_1_1506429759488_23580"> </div>
<div class="yiv6280368719signature" id="yiv6280368719yui_3_16_0_ym19_1_1506429759488_23582">
<div id="yiv6280368719yui_3_16_0_ym19_1_1506429759488_23581" style="color:rgb(0, 0, 0);font-family:Arial;font-size:16px;font-style:normal;font-weight:normal;letter-spacing:normal;orphans:2;text-indent:0px;text-transform:none;white-space:normal;widows:2;word-spacing:0px;">
<span id="yiv6280368719yui_3_16_0_ym19_1_1506429759488_23620" style="font-style:italic;">-----------------------------------------------------</span></div>
<span id="yiv6280368719yui_3_16_0_ym19_1_1506429759488_23622" style="color:rgb(0, 0, 0);font-family:Arial;font-size:16px;font-weight:normal;letter-spacing:normal;orphans:2;text-indent:0px;text-transform:none;white-space:normal;widows:2;word-spacing:0px;font-style:italic;"> Konstantinos
Chatzipapas<br clear="none">
Medical Physicist, </span><span style="color:rgb(0, 0, 0);font-family:Arial;font-size:16px;font-weight:normal;letter-spacing:normal;orphans:2;text-indent:0px;text-transform:none;white-space:normal;widows:2;word-spacing:0px;font-style:italic;">MSc<br clear="none">
</span>
<div id="yiv6280368719yui_3_16_0_ym19_1_1506429759488_23584" style="color:rgb(0, 0, 0);font-family:Arial;font-size:16px;font-style:normal;font-weight:normal;letter-spacing:normal;orphans:2;text-indent:0px;text-transform:none;white-space:normal;widows:2;word-spacing:0px;">
<div id="yiv6280368719yui_3_16_0_ym19_1_1506429759488_23583"><span id="yiv6280368719yui_3_16_0_ym19_1_1506429759488_23624" style="font-style:italic;"> <span id="yiv6280368719yui_3_16_0_ym19_1_1506429759488_23623" style="font-weight:bold;">University of Patras</span></span></div>
<div id="yiv6280368719yui_3_16_0_ym19_1_1506429759488_23586">
<div id="yiv6280368719yui_3_16_0_ym19_1_1506429759488_23585"><span style="font-style:italic;"><br clear="none">
</span></div>
<div id="yiv6280368719yui_3_16_0_ym19_1_1506429759488_23587"><span id="yiv6280368719yui_3_16_0_ym19_1_1506429759488_23626" style="font-style:italic;"><span class="yiv6280368719Apple-tab-span" style="white-space:pre;"></span> web page:<span class="yiv6280368719Apple-converted-space"> </span><a rel="nofollow" shape="rect" id="yiv6280368719yui_3_16_0_ym19_1_1506429759488_23625" target="_blank" href="http://www.physicsmag.com/">Physics
Magazine</a></span></div>
</div>
</div>
</div>
<div class="yiv6280368719qtdSeparateBR"><br clear="none">
<br clear="none">
</div>
<div class="yiv6280368719yahoo_quoted" style="display:block;">
<div style="font-family:Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px;">
<div style="font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px;">
<div dir="ltr"><font face="Arial" size="2">Στις 3:57 μ.μ. Τρίτη, 26 Σεπτεμβρίου 2017, ο/η tony youness
<a rel="nofollow" shape="rect" class="yiv6280368719moz-txt-link-rfc2396E" ymailto="mailto:tony_youness@live.com" target="_blank" href="mailto:tony_youness@live.com"><tony_youness@live.com></a> έγραψε:<br clear="none">
</font></div>
<br clear="none">
<br clear="none">
<div class="yiv6280368719y_msg_container">
<div id="yiv6280368719">
<div>
<div>Hi,</div>
<div>I just tried to stick with only basic commands and still getting the same error.</div>
<div><br clear="none">
</div>
<br clear="none">
<div class="yiv6280368719yqt9236282945" id="yiv6280368719yqt60377">
<div class="yiv6280368719moz-cite-prefix">On 26/09/17 2:35 pm, Konstantinos P. Chatzipapas, MSc wrote:<br clear="none">
</div>
<blockquote type="cite">
<div style="color:#000;background-color:#fff;font-family:Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px;">
<div id="yiv6280368719yui_3_16_0_ym19_1_1506424803591_43835"><span>Hi,</span></div>
<div id="yiv6280368719yui_3_16_0_ym19_1_1506424803591_43835"><span><br clear="none">
</span></div>
<div id="yiv6280368719yui_3_16_0_ym19_1_1506424803591_43835">Have you try to only use the basic commands that are given by the guide?? Do they work??</div>
<div id="yiv6280368719yui_3_16_0_ym19_1_1506424803591_43835"><br clear="none">
</div>
<h3 id="yiv6280368719yui_3_16_0_ym19_1_1506424803591_44119" style="background-image:none;margin-top:0.3em;margin-bottom:0px;overflow:hidden;padding-top:0.5em;border-bottom:none;font-size:1.2em;line-height:1.6;font-family:sans-serif;">
<span id="yiv6280368719yui_3_16_0_ym19_1_1506424803591_44120">Energy spectrum</span></h3>
<div id="yiv6280368719yui_3_16_0_ym19_1_1506424803591_44121" style="margin-top:0.5em;margin-bottom:0.5em;line-height:inherit;color:rgb(37, 37, 37);font-family:sans-serif;font-size:14px;">
This actor builds four histograms: the initial kinetic energy of each track (energySpectrum), the energy deposition per event (edepHisto), the energy deposition per track (edepTrackHisto), the energy loss per track (eLossHisto). These histograms are stored
in a root file. They takes into account the weight of particles. They are three commands to define the boundaries and the binning of the energy spectrum and three commands to define the boundaries and the binning of the energy loss histograms (edepHisto, edepTrackHisto,
eLossHisto).</div>
<pre id="yiv6280368719yui_3_16_0_ym19_1_1506424803591_44122" style="font-family:monospace, Courier;background-color:rgb(249, 249, 249);border:1px solid rgb(221, 221, 221);padding:1em;line-height:1.3em;font-size:14px;">/gate/actor/addActor EnergySpectrumActor <b id="yiv6280368719yui_3_16_0_ym19_1_1506424803591_44123">MyActor</b>
/gate/actor/<b id="yiv6280368719yui_3_16_0_ym19_1_1506424803591_44124">MyActor</b>/save MyOutputFile.root
/gate/actor/<b id="yiv6280368719yui_3_16_0_ym19_1_1506424803591_44125">MyActor</b>/energySpectrum/setEmin 0 eV
/gate/actor/<b id="yiv6280368719yui_3_16_0_ym19_1_1506424803591_44126">MyActor</b>/energySpectrum/setEmax 10 GeV
/gate/actor/<b id="yiv6280368719yui_3_16_0_ym19_1_1506424803591_44127">MyActor</b>/energySpectrum/setNumberOfBins 200
/gate/actor/<b id="yiv6280368719yui_3_16_0_ym19_1_1506424803591_44128">MyActor</b>/energyLossHisto/setEmin 0 eV
/gate/actor/<b id="yiv6280368719yui_3_16_0_ym19_1_1506424803591_44129">MyActor</b>/energyLossHisto/setEmax 15 MeV
/gate/actor/<b id="yiv6280368719yui_3_16_0_ym19_1_1506424803591_44130">MyActor</b>/energyLossHisto/setNumberOfBins 120</pre>
<div id="yiv6280368719yui_3_16_0_ym19_1_1506424803591_43849"><br clear="none">
</div>
<div dir="ltr" id="yiv6280368719yui_3_16_0_ym19_1_1506424803591_43849">If you haven't try them, try. Because I see that you are trying with extra commands, such as AttachTo, Filter etc.</div>
<div id="yiv6280368719yui_3_16_0_ym19_1_1506424803591_43849"> </div>
<div id="yiv6280368719yui_3_16_0_ym19_1_1506424803591_43849">Regards,</div>
<div class="yiv6280368719signature" id="yiv6280368719yui_3_16_0_ym19_1_1506424803591_43852">
<div id="yiv6280368719yui_3_16_0_ym19_1_1506424803591_43851" style="color:rgb(0, 0, 0);font-family:Arial;font-size:16px;font-style:normal;font-weight:normal;letter-spacing:normal;orphans:2;text-indent:0px;text-transform:none;white-space:normal;widows:2;word-spacing:0px;">
<span id="yiv6280368719yui_3_16_0_ym19_1_1506424803591_43850" style="font-style:italic;">-----------------------------------------------------</span></div>
<span id="yiv6280368719yui_3_16_0_ym19_1_1506424803591_43870" style="color:rgb(0, 0, 0);font-family:Arial;font-size:16px;font-weight:normal;letter-spacing:normal;orphans:2;text-indent:0px;text-transform:none;white-space:normal;widows:2;word-spacing:0px;font-style:italic;"> Konstantinos
Chatzipapas<br clear="none">
Medical Physicist, </span><span id="yiv6280368719yui_3_16_0_ym19_1_1506424803591_44007" style="color:rgb(0, 0, 0);font-family:Arial;font-size:16px;font-weight:normal;letter-spacing:normal;orphans:2;text-indent:0px;text-transform:none;white-space:normal;widows:2;word-spacing:0px;font-style:italic;">MSc<br clear="none">
</span>
<div id="yiv6280368719yui_3_16_0_ym19_1_1506424803591_43854" style="color:rgb(0, 0, 0);font-family:Arial;font-size:16px;font-style:normal;font-weight:normal;letter-spacing:normal;orphans:2;text-indent:0px;text-transform:none;white-space:normal;widows:2;word-spacing:0px;">
<div id="yiv6280368719yui_3_16_0_ym19_1_1506424803591_43853"><span id="yiv6280368719yui_3_16_0_ym19_1_1506424803591_43869" style="font-style:italic;"> <span id="yiv6280368719yui_3_16_0_ym19_1_1506424803591_43868" style="font-weight:bold;">University of
Patras</span></span></div>
<div id="yiv6280368719yui_3_16_0_ym19_1_1506424803591_43858">
<div id="yiv6280368719yui_3_16_0_ym19_1_1506424803591_43893"><span style="font-style:italic;"><br clear="none">
</span></div>
<div id="yiv6280368719yui_3_16_0_ym19_1_1506424803591_43857"><span id="yiv6280368719yui_3_16_0_ym19_1_1506424803591_43856" style="font-style:italic;"><span class="yiv6280368719Apple-tab-span" style="white-space:pre;"></span> web page:<span class="yiv6280368719Apple-converted-space"> </span><a rel="nofollow" shape="rect" id="yiv6280368719yui_3_16_0_ym19_1_1506424803591_43855" target="_blank" href="http://www.physicsmag.com/">Physics
Magazine</a></span></div>
</div>
</div>
</div>
<div class="yiv6280368719qtdSeparateBR"><br clear="none">
<br clear="none">
</div>
<div class="yiv6280368719yahoo_quoted" style="display:block;">
<div style="font-family:Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px;">
<div style="font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px;">
<div dir="ltr"><font face="Arial" size="2">Στις 3:23 μ.μ. Τρίτη, 26 Σεπτεμβρίου 2017, ο/η tony youness
<a rel="nofollow" shape="rect" class="yiv6280368719moz-txt-link-rfc2396E" ymailto="mailto:tony_youness@live.com" target="_blank" href="mailto:tony_youness@live.com">
<tony_youness@live.com></a> έγραψε:<br clear="none">
</font></div>
<br clear="none">
<br clear="none">
<div class="yiv6280368719y_msg_container">
<div dir="ltr">Dear David,<br clear="none">
<br clear="none">
-Gate v7.2<br clear="none">
<br clear="none">
-Root v5.34/30<br clear="none">
<br clear="none">
Tony<br clear="none">
<br clear="none">
<br clear="none">
On 26/09/17 2:17 pm, David Boersma wrote:<br clear="none">
> Dear Tony,<br clear="none">
><br clear="none">
> For us to reproduce the error:<br clear="none">
> - Which version of GATE?<br clear="none">
> - Which version of ROOT?<br clear="none">
><br clear="none">
> DavidB<br clear="none">
><br clear="none">
> Den 26/09/2017 kl. 14:03, skrev tony youness:<br clear="none">
>> Dear Maxime,<br clear="none">
>><br clear="none">
>> Thank you for your response.<br clear="none">
>><br clear="none">
>> I just tried to increase the Emin to 1 MeV and reduced the number of<br clear="none">
>> bins to 100 (just for testing), and I still get the same error...<br clear="none">
>><br clear="none">
>> Tony<br clear="none">
>><br clear="none">
>><br clear="none">
>> On 26/09/17 1:51 pm, Maxime Chauvin wrote:<br clear="none">
>>> Dear Tony,<br clear="none">
>>><br clear="none">
>>> what I can tell is that the error seems to come from Root (TH1D).<br clear="none">
>>> I don’t know what cause the error but maybe the number of bins is <br clear="none">
>>> too high or the Emin is too small…<br clear="none">
>>><br clear="none">
>>> Maxime<br clear="none">
>>><br clear="none">
>>>> On 26 Sep 2017, at 13:17, tony youness <<a rel="nofollow" shape="rect" ymailto="mailto:tony_youness@live.com" target="_blank" href="mailto:tony_youness@live.com">tony_youness@live.com</a>> wrote:<br clear="none">
>>>><br clear="none">
>>>> Dear fellow Gate users,<br clear="none">
>>>><br clear="none">
>>>> I am trying to generate the electrons energy spectrum at 10 cm in <br clear="none">
>>>> water<br clear="none">
>>>> phantom. I used the Energy spectrum actor as follow:<br clear="none">
>>>><br clear="none">
>>>> /gate/actor/addActor EnergySpectrumActor spectrum<br clear="none">
>>>> /gate/actor/spectrum/attachTo layer3<br clear="none">
>>>> /gate/actor/spectrum/addFilter particleFilter<br clear="none">
>>>> /gate/actor/spectrum/particleFilter/addParticle e-<br clear="none">
>>>> /gate/actor/spectrum/save output/WaterSpec.root<br clear="none">
>>>> /gate/actor/spectrum/energySpectrum/setEmin 0 eV<br clear="none">
>>>> /gate/actor/spectrum/energySpectrum/setEmax 6 MeV<br clear="none">
>>>> /gate/actor/spectrum/energySpectrum/setNumberOfBins 300<br clear="none">
>>>><br clear="none">
>>>> layer3 is a small water volume created in the water phantom at 10 cm.<br clear="none">
>>>> When i launch the simulation i get the following error:<br clear="none">
>>>><br clear="none">
>>>> Error in <TH1D::Rebin>: Illegal value of ngroup=10815379<br clear="none">
>>>> Error in <TH1D::Rebin>: Illegal value of ngroup=10815379<br clear="none">
>>>> Error in <TH2D::Rebin>: Illegal value of nxgroup=10815379<br clear="none">
>>>> Error in <TH1D::Rebin>: Illegal value of ngroup=10815379<br clear="none">
>>>> Error in <TH1D::Rebin>: Illegal value of ngroup=10815379<br clear="none">
>>>> WARNING: Scene "none" not found.<br clear="none">
>>>> /vis/scene/list to see scenes.<br clear="none">
>>>><br clear="none">
>>>><br clear="none">
>>>><br clear="none">
>>>> ### === G4UAtomicDeexcitation::InitialiseForNewRun()<br clear="none">
>>>> ### === PIXE model for hadrons: Empirical<br clear="none">
>>>> ### === PIXE model for e+-: Livermore<br clear="none">
>>>> Error in <TH2D::Fill>: Invalid signature - do nothing<br clear="none">
>>>> Error in <TH2D::Fill>: Invalid signature - do nothing<br clear="none">
>>>> Error in <TH2D::Fill>: Invalid signature - do nothing<br clear="none">
>>>> Error in <TH2D::Fill>: Invalid signature - do nothing<br clear="none">
>>>> Error in <TH2D::Fill>: Invalid signature - do nothing<br clear="none">
>>>> Error in <TH2D::Fill>: Invalid signature - do nothing<br clear="none">
>>>> Error in <TH2D::Fill>: Invalid signature - do nothing<br clear="none">
>>>> ...<br clear="none">
>>>><br clear="none">
>>>> Any ideas where this problem could come from?<br clear="none">
>>>><br clear="none">
>>>> Regards,<br clear="none">
>>>><br clear="none">
>>>> Tony Younes<br clear="none">
>>>><br clear="none">
>>>> _______________________________________________<br clear="none">
>>>> Gate-users mailing list<br clear="none">
>>>> <a rel="nofollow" shape="rect" ymailto="mailto:Gate-users@lists.opengatecollaboration.org" target="_blank" href="mailto:Gate-users@lists.opengatecollaboration.org">
Gate-users@lists.opengatecollaboration.org</a><br clear="none">
>>>> <a rel="nofollow" shape="rect" target="_blank" href="http://lists.opengatecollaboration.org/mailman/listinfo/gate-users">
http://lists.opengatecollaboration.org/mailman/listinfo/gate-users</a>
<div class="yiv6280368719yqt6255193864" id="yiv6280368719yqtfd44285"><br clear="none">
>><br clear="none">
>> _______________________________________________<br clear="none">
>> Gate-users mailing list<br clear="none">
>> <a rel="nofollow" shape="rect" ymailto="mailto:Gate-users@lists.opengatecollaboration.org" target="_blank" href="mailto:Gate-users@lists.opengatecollaboration.org">
Gate-users@lists.opengatecollaboration.org</a><br clear="none">
>> <a rel="nofollow" shape="rect" target="_blank" href="http://lists.opengatecollaboration.org/mailman/listinfo/gate-users">
http://lists.opengatecollaboration.org/mailman/listinfo/gate-users</a><br clear="none">
>><br clear="none">
> _______________________________________________<br clear="none">
> Gate-users mailing list<br clear="none">
> <a rel="nofollow" shape="rect" ymailto="mailto:Gate-users@lists.opengatecollaboration.org" target="_blank" href="mailto:Gate-users@lists.opengatecollaboration.org">
Gate-users@lists.opengatecollaboration.org</a><br clear="none">
> <a rel="nofollow" shape="rect" target="_blank" href="http://lists.opengatecollaboration.org/mailman/listinfo/gate-users">
http://lists.opengatecollaboration.org/mailman/listinfo/gate-users</a><br clear="none">
<br clear="none">
_______________________________________________<br clear="none">
Gate-users mailing list<br clear="none">
<a rel="nofollow" shape="rect" ymailto="mailto:Gate-users@lists.opengatecollaboration.org" target="_blank" href="mailto:Gate-users@lists.opengatecollaboration.org">Gate-users@lists.opengatecollaboration.org</a><br clear="none">
<a rel="nofollow" shape="rect" target="_blank" href="http://lists.opengatecollaboration.org/mailman/listinfo/gate-users">http://lists.opengatecollaboration.org/mailman/listinfo/gate-users</a></div>
</div>
<br clear="none">
<br clear="none">
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<br clear="none">
</div>
</div>
<br clear="none">
<br clear="none">
</div>
</div>
</div>
</div>
</div>
</blockquote></div>
<br clear="none">
</div></div><br><br></div> </div> </div> </div></div></body></html>