[Gate-users] Help with Phase Space Approach using Detector and phantom Tracking GATE.V.6.1

Carlos Uribe carluri at phas.ubc.ca
Mon Nov 18 23:02:56 CET 2013


Hello,

I'm trying to run several simulations using the phase space approach.

The first thing I do is use the Tracker mode as follows:

/gate/stepping/SetMode Tracker
/gate/stepping/SetPolicy StopOnPhantomBoundary
/gate/stepping/SetPolicy KeepAll

This works fine, I obtain a root file with TrackerData.

I then use the detector mode as follows:

/gate/stepping/SetMode Detector
/gate/stepping/SetNumberOfTrackerDataFiles 1

It seems to load the file fine but then I get the following error:

[G4-cerr]  GateToRoot:: GetCurrentTracksData()   : ERROR PDGCode of the
particle  is not defined.
[G4-cerr]
[G4-cerr] *** G4Exception: Aborting execution ***
Aborted


I attach a picture of a histogram of the PDG I obtain in the PhTracksData
of the TrackerData file.

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.

Thanks in advance,

-- 
Carlos F Uribe
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20131118/94b40bb8/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PDG.png
Type: image/png
Size: 16011 bytes
Desc: not available
URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20131118/94b40bb8/attachment-0001.png>


More information about the Gate-users mailing list