Added method to recalculate the primary vertex without the daughter tracks
[u/mrichter/AliRoot.git] / PWG3 / vertexingHF / AliAODRecoDecayHF.h
index e5a06c4..a631f7f 100644 (file)
@@ -14,6 +14,7 @@
 #include "AliAODTrack.h"
 #include "AliAODRecoDecay.h"
 
+class AliAODEvent;
 class AliRDHFCuts;
 class AliKFParticle;
 
@@ -47,6 +48,8 @@ class AliAODRecoDecayHF : public AliAODRecoDecay {
     {CheckOwnPrimaryVtx();fOwnPrimaryVtx->GetPosition(vtx);}
   void UnsetOwnPrimaryVtx() {if(fOwnPrimaryVtx) {delete fOwnPrimaryVtx; fOwnPrimaryVtx=0;} return;}
   AliAODVertex* GetPrimaryVtx() const { return (GetOwnPrimaryVtx() ? GetOwnPrimaryVtx() : GetPrimaryVtxRef()); }
+  AliAODVertex* RemoveDaughtersFromPrimaryVtx(AliAODEvent *aod);  
+
 
   // kinematics & topology
   Double_t DecayLength() const