AliPhysics  64f4410 (64f4410)
AliAODRecoDecayHF4Prong.h
Go to the documentation of this file.
1 #ifndef ALIAODRECODECAYHF4PRONG_H
2 #define ALIAODRECODECAYHF4PRONG_H
3 /* Copyright(c) 1998-2006, ALICE Experiment at CERN, All rights reserved. *
4  * See cxx source for full Copyright notice */
5 
6 /* $Id$ */
7 
8 //***********************************************************
12 //***********************************************************
13 
14 #include "AliAODRecoDecay.h"
15 #include "AliAODRecoDecayHF.h"
16 
18 
19  public:
20 
22  AliAODRecoDecayHF4Prong(AliAODVertex *vtx2,
23  Double_t *px,Double_t *py,Double_t *pz,
24  Double_t *d0,Double_t *d0err,
25  Double_t *dca, //Double_t sigvert,
26  Double_t dist12,Double_t dist3,
27  Double_t dist4,
28  Short_t charge);
29  AliAODRecoDecayHF4Prong(AliAODVertex *vtx2,
30  Double_t *d0,Double_t *d0err,
31  Double_t *dca, //Double_t sigvert,
32  Double_t dist12,Double_t dist3,
33  Double_t dist4,
34  Short_t charge);
35 
38 
40 
41  void GetDCAs(Double_t dca[6]) const
42  {for(Int_t i=0;i<6;i++) dca[i]=GetDCA(i);}
43  // convention:fDCA[0]=p0p1,fDCA[1]=p0p2,fDCA[2]=p0p3,fDCA[3]=p1p2...
47 
48  // D0->pi+K- pipi and D0bar->K+pi- pipi (in the order given)
49  Double_t ED0() const {return E(421);}
50  Double_t YD0() const {return Y(421);}
51  Double_t CtD0() const {return Ct(421);}
52  Double_t CtD0(Double_t point[3]) const {return AliAODRecoDecay::Ct(421,point);}
53  Double_t CtD0(AliAODVertex *vtx1) const {return AliAODRecoDecay::Ct(421,vtx1);}
54  Double_t InvMassRho(Int_t i,Int_t j) const {return InvMass2Prongs(i,j,211,211);}
55  Bool_t CutRhoMass(Double_t massD0[2],Double_t massD0bar[2],Double_t CutMass,Double_t CutRho) const;
56 
57  void InvMassD0(Double_t mD0[2]) const;
58  void InvMassD0bar(Double_t mD0bar[2]) const;
59 
60  Bool_t SelectD0(const Double_t* cuts,Int_t &okD0,Int_t &okD0bar) const;
61 
62  private:
63 
64  //Double_t fSigmaVert; // track dispersion around the secondary vertex
68  //Double_t fDist123toPrim; //distance
69 
70 
72  ClassDef(AliAODRecoDecayHF4Prong,3);
73 };
76 
77 #endif
Int_t charge
AliAODRecoDecayHF4Prong & operator=(const AliAODRecoDecayHF4Prong &source)
Bool_t SelectD0(const Double_t *cuts, Int_t &okD0, Int_t &okD0bar) const
Double_t CtD0(AliAODVertex *vtx1) const
double Double_t
Definition: External.C:58
Double_t Ct(UInt_t pdg) const
void GetDCAs(Double_t dca[6]) const
Double_t InvMassRho(Int_t i, Int_t j) const
void InvMassD0(Double_t mD0[2]) const
Bool_t CutRhoMass(Double_t massD0[2], Double_t massD0bar[2], Double_t CutMass, Double_t CutRho) const
Double_t fDist3toPrim
distance prim vert - 2 opposite sign track vertex
int Int_t
Definition: External.C:63
void InvMassD0bar(Double_t mD0bar[2]) const
Double_t fDist4toPrim
distance prim vert - 3 track vertex
short Short_t
Definition: External.C:23
Double_t CtD0(Double_t point[3]) const
bool Bool_t
Definition: External.C:53