GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » R3BRoot » Simulation Issues » Data Structure of GeoTracks/MCTracks
Re: Data Structure of GeoTracks/MCTracks [message #20281 is a reply to message #20279] Tue, 14 February 2017 07:25 Go to previous message
Dmytro Kresan is currently offline  Dmytro Kresan
Messages: 166
Registered: June 2004
first-grade participant
From: *
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,
Read Message
Read Message
Previous Topic: Geant4 seeds in R3BRoot
Next Topic: info on charged particle simulations into NeuLAND
Goto Forum:

Current Time: Sun Dec 10 23:31:40 CET 2023

Total time taken to generate the page: 0.01039 seconds