<div dir="ltr">Hello,<div><br></div><div>I'm trying to run several simulations using the phase space approach.</div><div><br></div><div>The first thing I do is use the Tracker mode as follows:</div><div><br></div><div>
<div>/gate/stepping/SetMode Tracker</div><div>/gate/stepping/SetPolicy StopOnPhantomBoundary</div><div>/gate/stepping/SetPolicy KeepAll</div></div><div><br></div><div>This works fine, I obtain a root file with TrackerData.</div>
<div><br></div><div>I then use the detector mode as follows:</div><div><br></div><div><div>/gate/stepping/SetMode Detector</div><div>/gate/stepping/SetNumberOfTrackerDataFiles 1</div></div><div><br></div><div>It seems to load the file fine but then I get the following error:</div>
<div><br></div><div><div>[G4-cerr] GateToRoot:: GetCurrentTracksData() : ERROR PDGCode of the particle is not defined. </div><div>[G4-cerr] <br></div><div>[G4-cerr] *** G4Exception: Aborting execution ***</div><div>Aborted<br>
</div></div><div><br></div><div><br></div><div>I attach a picture of a histogram of the PDG I obtain in the PhTracksData of the TrackerData file.</div><div><br></div><div>Any ideas on how can I solve this problem? I've already looked the example, searched for solutions in the internet but I haven't succeeded. </div>
<div><br></div><div>Thanks in advance,</div><div><br clear="all"><div>-- <br></div>Carlos F Uribe
</div></div>