GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » Fairroot » General Discussion » PID information (Question about PID information in FairMCTrack)
PID information [message #21128] Mon, 29 May 2017 16:22 Go to previous message
Daniel Wielanek is currently offline  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?
 
Read Message
Read Message
Previous Topic: FairHit - why only 32bit precision??
Next Topic: Facing Problem During the Installation of Fairsoft
Goto Forum:
  


Current Time: Thu Mar 28 23:45:02 CET 2024

Total time taken to generate the page: 0.01114 seconds