25 #ifndef PNDMCTRACKINFO_H 26 #define PNDMCTRACKINFO_H 1 28 #include "FairMultiLinkedData_Interface.h" 45 void Print(std::ostream &out = std::cout);
101 if (fTypeCount.count(type) > 0) {
102 return fTypeCount[type];
114 if (fMomentumDifference.count(type) > 0) {
115 return fMomentumDifference[type];
127 if (fPidProb.count(type) > 0) {
128 return fPidProb[type];
140 fStage = fPIDMothers.size();
144 void SetRecoMomentum(
int branchType, TVector3 value) { fMomentumReco[branchType] = value; }
145 void SetDeltaMomentum(
int branchType,
double pt,
double pl) { fMomentumDifference[branchType] = TVector2(pt, pl); };
153 TVector3 fDecayVertex;
156 std::vector<int> fPIDMothers;
157 std::vector<int> fPIDDaughters;
158 std::vector<int> fDaughters;
165 std::map<int, TVector3> fMomentumReco;
166 std::map<int, TVector2> fMomentumDifference;
167 std::map<int, PndPidProbability> fPidProb;
169 std::map<int, int> fTypeCount;
virtual ~PndMCTrackInfo()
PndPidProbability GetPidProbability(int type)
void SetDecayTime(Double_t time)
int GetTotalPoints() const
void SetDeltaMomentum(int branchType, double pt, double pl)
void SetPIDMothers(std::vector< int > pid)
friend std::ostream & operator<<(std::ostream &out, PndMCTrackInfo &track)
void SetRecoMomentum(int branchType, TVector3 value)
std::vector< int > GetPIDDaughters() const
std::vector< int > GetPIDMothers() const
void AddDaughter(FairLink doughter)
int GetTypeCount(int type)
void SetDecayVertex(TVector3 vertex)
void Print(std::ostream &out=std::cout)
Double_t GetDecayTime() const
void AddPIDDaughter(int pid)
TVector3 GetDecayVertex() const
Int_t GetNHits(TString branchName)
TVector2 GetDeltaMomentum(int type)
std::vector< int > GetDaughters()
void SetPidProbability(int branchType, PndPidProbability &value)