Re: Data Structure of GeoTracks/MCTracks [message #20281 is a reply to message #20279] |
Tue, 14 February 2017 07:25 |
Dmytro Kresan
Messages: 166 Registered: June 2004
|
first-grade participant |
From: *gsi.de
|
|
Hello Paulina,
GeoTracks: they are stored in order to draw the trajectories in the event display. This structure does not contain hierarchy information. It is a full trajectory, so end of it is either inside of cave, if particle was stopped (disappeared), or at the edge of the cave if particle leaves it. Normally, we do not use the GeoTracks to analyse simulated data quantitatively.
MCTracks: Contain mother / daughter information and vertex (start) position and momentum. Also PDG code. If you have a track, GetMotherId() method will give you index of the parent track in the same array. So you can access it directly by this index and there is no need for unique id. If mother id is -1 - it is a primary track.
Hope this helps. Best regards,
Dima
|
|
|