// If no, return -1
// If yes, return label (>=0) of the AliAODMCParticle
Int_t MatchToMC(Int_t pdgabs,TClonesArray *mcArray) const;
- Int_t MatchToMC(Int_t pdgabs,TClonesArray *mcArray,Int_t *dgLabels) const;
// PID
void SetPID(Int_t nprongs,Double_t *pid);
Int_t GetLabel() const {return -1;}
protected:
+ Int_t MatchToMC(Int_t pdgabs,TClonesArray *mcArray,Int_t dgLabels[10],Int_t ndg) const;
+ Int_t MatchToMC(Int_t pdgabs,TClonesArray *mcArray,Int_t dgLabels[10]) const { return MatchToMC(pdgabs,mcArray,dgLabels,GetNDaughters()); }
+
TRef fSecondaryVtx; // decay vertex
AliAODVertex *fOwnSecondaryVtx; // temporary solution (to work outside AliAODEvent)
Short_t fCharge; // charge, use this convention for prongs charges: