GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » R3BRoot » Simulation Issues » TrackID changes (TrackID change through a trajectory)
Re: TrackID changes [message #20800 is a reply to message #20789] Wed, 05 April 2017 09:34 Go to previous message
Jan Mayer is currently offline  Jan Mayer
Messages: 20
Registered: August 2015
occasional visitor
From: *
Hi Zsombor,

the TrackIDs can be a bit fiddly, especially while accessing them during the simulation, but should work in principle. The track ID can also "change" on any interaction - that means you technically have a new track. You can have a look at that afterwards by using the MotherID. This is -1 for primary particles, so if you shoot in two Neutron you should have two tracks with motherID -1 and pid 2112 (see
run->SetStoreTraj(kTRUE); probably needs to be set for this at well (4th parameter in r3ball.C).

  • Attachment: trackids.png
    (Size: 21.78KB, Downloaded 254 times)
Read Message
Read Message
Previous Topic: GLAD magnetic field
Next Topic: Detector ID
Goto Forum:

Current Time: Sat Apr 20 13:03:05 CEST 2024

Total time taken to generate the page: 0.01019 seconds