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: *dyn.hrz.tu-darmstadt.de
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 http://pdg.lbl.gov/2010/reviews/rpp2010-rev-monte-carlo-numbering.pdf).
run->SetStoreTraj(kTRUE); probably needs to be set for this at well (4th parameter in r3ball.C).

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


Current Time: Fri Jun 25 14:48:06 CEST 2021

Total time taken to generate the page: 0.02503 seconds