Use new method AliAODRecoDecay::MatchToMC that simplifies matching to MC
[u/mrichter/AliRoot.git] / PWG3 / vertexingHF / AliAODRecoCascadeHF.h
index a47fa98e135e5c2f312d5da6249c28a90829a80d..508b6d3bddc0a0200a3303c2b9600a7d1970f24c 100644 (file)
@@ -14,6 +14,7 @@
 
 #include <TRef.h>
 #include <TRefArray.h>
+#include <TClonesArray.h>
 #include "AliAODVertex.h"
 #include "AliAODRecoDecayHF2Prong.h"
 
@@ -46,6 +47,8 @@ class AliAODRecoCascadeHF : public AliAODRecoDecayHF2Prong {
   Double_t InvMassDstarKpipi() const;
   Double_t DeltaInvMass() const {return (InvMassDstarKpipi()-InvMassD0());}
 
+  Int_t MatchToMC(Int_t pdgabs,Int_t pdgabs2prong,TClonesArray *mcArray) const;
+
  protected:
 
   ClassDef(AliAODRecoCascadeHF, 2); // heavy-flavour cascade class