PID information [message #21128] |
Mon, 29 May 2017 16:22 |
Daniel Wielanek
Messages: 14 Registered: October 2012 Location: Warsaw
|
occasional visitor |
From: *dynamic.gprs.plus.pl
|
|
Dear "FairROOTers"
Can somebody explain me what really mean "MotherID", or how to get mother PID?
I was trying to get PDG code of parent by something like this:
FairMCTrack *parent = (FairMCTrack*)mc_tracks->UncheckedAt(daughter->GetMotherId());
parent->GetPdgCode();
But when I looked at histograms I noticed that e.g. pion parent is particle with pid 211 - also pion, what is rather strange. This exist in Geant3/Geant4 setup. Is it a bug or "parent" is also particle that e.g. collided with this track?
|
|
|