<div dir="ltr">Thanks David for the response. I saw the issue on GitHub. It is actually the same as <a href="https://github.com/OpenGATE/Gate/issues/335">https://github.com/OpenGATE/Gate/issues/335</a>. I hope the issue will be solved soon.<div><br></div><div>best<br clear="all"><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><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><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, 3 Sep 2020 at 21:39, David Boersma <<a href="mailto:david.boersma@acmit.at">david.boersma@acmit.at</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div>
<div id="gmail-m_3301351321837331177divtagdefaultwrapper" style="font-size:12pt;color:rgb(0,0,0);font-family:Calibri,Helvetica,sans-serif" dir="ltr">
<p>Hi Jan,</p>
<p><br>
</p>
<p>It's possible that the problem reported by you is related to issue #350 on GitHub:
<a href="https://github.com/OpenGATE/Gate/issues/350" id="gmail-m_3301351321837331177LPlnk746764" target="_blank">
https://github.com/OpenGATE/Gate/issues/350</a> and hopefully this will be fixed in the not too distant future. :)
<br>
</p>
<p><br>
</p>
<p>HTH, David<br>
</p>
</div>
<hr style="display:inline-block;width:98%">
<div id="gmail-m_3301351321837331177divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>Von:</b> Gate-users <<a href="mailto:gate-users-bounces@lists.opengatecollaboration.org" target="_blank">gate-users-bounces@lists.opengatecollaboration.org</a>> im Auftrag von Jan Gajewski <<a href="mailto:jan.gajewski@ifj.edu.pl" target="_blank">jan.gajewski@ifj.edu.pl</a>><br>
<b>Gesendet:</b> Montag, 31. August 2020 10:00:22<br>
<b>An:</b> <a href="mailto:gate-users@lists.opengatecollaboration.org" target="_blank">gate-users@lists.opengatecollaboration.org</a><br>
<b>Betreff:</b> [Gate-users] Gate 9.0 does not fill Hits Tree</font>
<div> </div>
</div>
<div>
<div dir="ltr">Hi gate users,
<div><br>
</div>
<div>I have a problem with the newest gate 9 version. The Hits Tree is not filled when any other actor is attached to the sensitive volume.</div>
<div><br>
</div>
<div>A simple example below. I am defining a scanner with a single crystal and I wanted to attach a phase space actor to it. The phase space output is correct but the Hits Tree is empty. The Hits Tree is correct only if no actors are attached to the crystal or
any ancestor.</div>
<div>I found out that attaching even SimulationStatisticActor to the crystal or to World causes that the Hits Tree is empty. I suppose that any other actor attached to the crystal leads to the same. It is the same regardless of the form of output definition
( /gate/output/root/enable vs /gate/output/tree/enable).</div>
<div><br>
</div>
<div>#=====================================================<br>
</div>
<div># VISUALISATION<br>
#=====================================================<br>
/vis/disable<br>
<br>
#=====================================================<br>
# VERBOSITY<br>
#=====================================================<br>
/gate/verbose Physic 0<br>
/gate/verbose Step 0<br>
/gate/verbose Cuts 0<br>
/gate/verbose SD 0<br>
/gate/verbose Actions 0<br>
/gate/verbose Actor 0<br>
/gate/verbose Error 0<br>
/gate/verbose Warning 0<br>
/gate/verbose Output 0<br>
/gate/verbose Beam 0<br>
/gate/verbose Volume 0<br>
/gate/verbose Image 0<br>
/gate/verbose Geometry 0<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 Vacuum<br>
<br>
# scanner<br>
/gate/world/daughters/name scanner<br>
/gate/world/daughters/insert box<br>
/gate/scanner/setMaterial Vacuum<br>
/gate/scanner/geometry/setXLength 20 mm<br>
/gate/scanner/geometry/setYLength 20 mm<br>
/gate/scanner/geometry/setZLength 10 mm<br>
/gate/scanner/vis/setColor blue<br>
/gate/scanner/vis/forceWireframe<br>
<br>
# detector<br>
/gate/scanner/daughters/name TPX<br>
/gate/scanner/daughters/insert box<br>
/gate/TPX/setMaterial Silicon<br>
/gate/TPX/placement/setRotationAxis 1 0 0<br>
/gate/TPX/geometry/setXLength 15 mm<br>
/gate/TPX/geometry/setYLength 15 mm<br>
/gate/TPX/geometry/setZLength 5 mm<br>
/gate/TPX/vis/setColor yellow<br>
/gate/TPX/vis/forceSolid 0<br>
/gate/systems/scanner/level1/attach TPX<br>
/gate/TPX/attachCrystalSD<br>
<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>
# phase space actor in TPX<br>
/gate/actor/addActor PhaseSpaceActor psActorTPX<br>
/gate/actor/psActorTPX/save Results/psActorTPX.root<br>
/gate/actor/psActorTPX/attachTo TPX<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>
# OUTPUT<br>
#=====================================================<br>
# /gate/output/root/enable<br>
# /gate/output/root/setFileName Results/avTPXHits<br>
# /gate/output/root/setRootHitFlag 1<br>
# /gate/output/root/setRootSinglesFlag 0<br>
# /gate/output/root/setRootNtupleFlag 0<br>
<br>
/gate/output/tree/enable<br>
# /gate/output/tree/addFileName Results/avTPXHits.npy<br>
/gate/output/tree/addFileName Results/avTPXHits.root<br>
# /gate/output/tree/hits/branches/trackLocalTime/disable<br>
# /gate/output/tree/hits/branches/volumeIDs/disable<br>
/gate/output/tree/hits/enable<br>
<br>
#=====================================================<br>
# INITIALISATION<br>
#=====================================================<br>
/gate/run/initialize<br>
#/gate/physics/print Results/physics.txt<br>
<br>
#=====================================================<br>
# SOURCE<br>
#=====================================================<br>
/gate/source/addSource beam PencilBeam<br>
/gate/source/beam/setParticleType proton<br>
/gate/source/beam/setEnergy 50 MeV<br>
/gate/source/beam/setSigmaEnergy 1 MeV<br>
/gate/source/beam/setPosition 0. 0. -200 cm<br>
/gate/source/beam/setSigmaX 13 mm<br>
/gate/source/beam/setSigmaY 7.1 mm<br>
/gate/source/beam/setSigmaTheta 6 mrad<br>
/gate/source/beam/setSigmaPhi 4 mrad<br>
/gate/source/beam/setEllipseXThetaEmittance 77 mm*mrad<br>
/gate/source/beam/setEllipseXThetaRotationNorm positive<br>
/gate/source/beam/setEllipseYPhiEmittance 50 mm*mrad<br>
/gate/source/beam/setEllipseYPhiRotationNorm positive<br>
<br>
<br>
#=====================================================<br>
# RANDOM<br>
#=====================================================<br>
/gate/random/setEngineName MersenneTwister<br>
/gate/random/setEngineSeed 591460577<br>
/gate/random/verbose 0<br>
<br>
#=====================================================<br>
# ACQUISITION SETTINGS<br>
#=====================================================<br>
/gate/application/setTotalNumberOfPrimaries 1E2<br>
/gate/application/setTimeStart 0. s<br>
/gate/application/setTimeStop 100. s<br>
/gate/application/startDAQ<br>
<br>
<br>
Thanks in advance for any help.</div>
<div><br>
</div>
<div>
<div>
<div dir="ltr">
<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>
---<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>
</div>
</div>
_______________________________________________<br>
Gate-users mailing list<br>
<a href="mailto:Gate-users@lists.opengatecollaboration.org" target="_blank">Gate-users@lists.opengatecollaboration.org</a><br>
<a href="http://lists.opengatecollaboration.org/mailman/listinfo/gate-users" rel="noreferrer" target="_blank">http://lists.opengatecollaboration.org/mailman/listinfo/gate-users</a></blockquote></div>