<div dir="ltr">Dear gate users,<div><br></div><div>I have a problem with using a phase space as a source in the simulations. It seems that not all particle types are recognised. I am using Gate 9.0 but the same behaviour is for Gate 8.2.  An example below. I am attaching also the phase space source file and the example can be downloaded from: <a href="https://www.dropbox.com/s/z2enipv7oudy4r2/psActor%20as%20source.zip?dl=0">https://www.dropbox.com/s/z2enipv7oudy4r2/psActor%20as%20source.zip?dl=0</a></div><div><br></div><div>I have a phase space with particles: <span style="white-space:pre-wrap">neutron, gamma, nu_e, proton, e-, O16, anti_nu_e. The problem is with O16. When I add a line </span></div><div>/gate/source/phaseSpaceSource/setParticleType        proton</div><div>then the simulation is running and all particles are simulated as they are, instead of O16 which is replaced by proton. Without this command I am getting an error:<br></div><div>GateSourcePhaseSpace.cc (l.220): No particle type defined in phase space file.<br></div><div><br></div><div>I found that it is the same with some other elements in the source, as Nitrogen, Carbon, etc. <br></div><div><br></div><div>#=====================================================<br># VISUALISATION<br>#=====================================================<br>/vis/disable<br><br>#=====================================================<br># VERBOSITY<br>#=====================================================<br>/gate/verbose Beam      100<br><br>#=====================================================<br># MATERIALS<br>#=====================================================<br>/gate/geometry/setMaterialDatabase GateMaterials.db<br><br>#=====================================================<br># GEOMETRY<br>#=====================================================<br># WORLD INITIALIZATION<br>/gate/world/geometry/setXLength                     10 cm<br>/gate/world/geometry/setYLength                     10 cm<br>/gate/world/geometry/setZLength                     10 cm<br>/gate/world/setMaterial                             Air<br><br>#=====================================================<br># PHYSICS<br>#=====================================================<br># physics list with electromagnetic opt. 4<br>/gate/physics/addPhysicsList QGSP_BIC_HP_EMZ<br><br>#=====================================================<br># ACTORS<br>#=====================================================<br># statistics actor<br>/gate/actor/addActor SimulationStatisticActor simStat<br>/gate/actor/simStat/attachTo world<br>/gate/actor/simStat/saveEveryNSeconds 60<br>/gate/actor/simStat/save Results/simStat.out<br><br>#=====================================================<br># INITIALISATION<br>#=====================================================<br>/gate/run/initialize<br><br>#=====================================================<br># SOURCE<br>#=====================================================<br>/gate/source/addSource phaseSpaceSource              phaseSpace<br>/gate/source/phaseSpaceSource/addPhaseSpaceFile      psActorSource.root<br># /gate/source/phaseSpaceSource/setParticleType        proton<br><br>#=====================================================<br># RANDOM<br>#=====================================================<br>/gate/random/setEngineName MersenneTwister<br>/gate/random/setEngineSeed auto<br>/gate/random/verbose 0<br><br>#=====================================================<br># ACQUISITION SETTINGS<br>#=====================================================<br>/gate/application/setTotalNumberOfPrimaries 833<br>/gate/application/setTimeStart 0. s<br>/gate/application/setTimeStop  100. s<br>/gate/application/startDAQ<br><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><span style="color:rgb(153,153,153)"><br></span></div><div dir="ltr">Thanks in advance for any help.<span style="color:rgb(153,153,153)"><br><br>---<br><font size="2"><span style="color:rgb(0,0,0)">Jan Gajewski</span><br><b><a href="mailto:jan.gajewski@ifj.edu.pl" target="_blank">jan.gajewski@ifj.edu.pl</a><br></b><b>Institute of Nuclear Physics</b> (IFJ PAN)<br>Radzikowskiego 152, 31-342 Kraków, Poland<br>phone: (+48) 12 662 8331</font></span><div><br></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>