Re: New Update causing problems and Output Data analysis [message #13549 is a reply to message #13548] |
Wed, 30 May 2012 15:58 |
StefanoSpataro
Messages: 2736 Registered: June 2005 Location: Torino
|
first-grade participant |
From: *to.infn.it
|
|
TrackId is present in the MCPoint and it is the index of the MCTrack object which has created the point. In this sense, if you have a calorimeter, you have a large number of secondaries producing signals, then the fTrackId will refer to each of this secondary particle. I think your output is normal.
MotherId is present in the MCTrack, and it is the index of the MCTrack which has created your MCTrack... I.e. a primary pion has trackId 0 and motherID -1 (it has no mother particle). If it decays into neutrino and muon, neutrino will have probably TrackId 1 and motherId 0 and muon will have TrackId 2 and motherId 0 (same mother id, 0, -> trackid of the primary pion, different trackid -> they are different particles).
PdgCode is the PDG particle code. You have to zoom around 0 to see if you fnd really particle, now your plot is dominated by particles with code 10^6 (ions or maybe cherenkov photons), and you are not able to see photons (22) or electrons (11).
|
|
|