- AliAODVertex *fSecondaryVtx; // decay vertex
- Short_t fCharge; // charge, use this convention for prongs charges:
- // if(charge== 0) even-index prongs are +
- // odd-index prongs are -
- // if(charge==+1) even-index prongs are +
- // odd-index prongs are -
- // if(charge==-1) even-index prongs are -
- // odd-index prongs are +
+ Int_t MatchToMC(Int_t pdgabs,TClonesArray *mcArray,Int_t dgLabels[10],Int_t ndg,Int_t ndgCk=0,Int_t *pdgDg=0) 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:
+ // if(charge== 0) even-index prongs are +
+ // odd-index prongs are -
+ // if(charge==+1) even-index prongs are +
+ // odd-index prongs are -
+ // if(charge==-1) even-index prongs are -
+ // odd-index prongs are +