AliPhysics  ff07904 (ff07904)
AliAODRecoDecayHF3Prong.h
Go to the documentation of this file.
1 #ifndef ALIAODRECODECAYHF3PRONG_H
2 #define ALIAODRECODECAYHF3PRONG_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 #include "AliAODEvent.h"
17 
19 
20  public:
21 
23  AliAODRecoDecayHF3Prong(AliAODVertex *vtx2,
24  Double_t *px,Double_t *py,Double_t *pz,
25  Double_t *d0,Double_t *d0err,
26  Double_t *dca, Double_t sigvert,
27  Double_t dist12,Double_t dist23,Short_t charge);
28  AliAODRecoDecayHF3Prong(AliAODVertex *vtx2,
29  Double_t *d0,Double_t *d0err,
30  Double_t *dca, Double_t sigvert,
31  Double_t dist12,Double_t dist23, Short_t charge);
32 
35  void GetDCAs(Double_t dca[3]) const
36  {for(Int_t i=0;i<3;i++) dca[i]=GetDCA(i);}
37  Double_t GetSigmaVert(const AliAODEvent* aod=0x0) {
38  if(fSigmaVert>0.00001) return fSigmaVert;
39  if(aod) fSigmaVert=ComputeSigmaVert(aod);
40  return fSigmaVert;
41  }
42  Double_t ComputeSigmaVert(const AliAODEvent* aod) const;
47  void SetSigmaVert(Double_t sigmaVert) { fSigmaVert=sigmaVert; }
48  virtual void DeleteRecoD();
49 
51  Double_t EDplus() const {return E(411);}
52  Double_t YDplus() const {return Y(411);}
53  Double_t CtDplus() const {return Ct(411);}
54  Double_t CtDplus(Double_t point[3]) const {return AliAODRecoDecay::Ct(411,point);}
55  Double_t CtDplus(AliAODVertex *vtx1) const {return AliAODRecoDecay::Ct(411,vtx1);}
56  Double_t InvMassDplus() const {UInt_t pdg[3]={211,321,211};return InvMass(3,pdg);}
57  Bool_t SelectDplus(const Double_t* cuts) const;
58 
60  Double_t EDs() const {return E(431);}
61  Double_t YDs() const {return Y(431);}
62  Double_t CtDs() const {return Ct(431);}
63  Double_t CtDs(Double_t point[3]) const {return AliAODRecoDecay::Ct(431,point);}
64  Double_t CtDs(AliAODVertex *vtx1) const {return AliAODRecoDecay::Ct(431,vtx1);}
65  Double_t InvMassDsKKpi() const {UInt_t pdg[3]={321,321,211};return InvMass(3,pdg);}
66  Double_t InvMassDspiKK() const {UInt_t pdg[3]={211,321,321};return InvMass(3,pdg);}
67 
71 
75 
76  Double_t CosPiKPhiRFrame(Int_t option) const;
77  Double_t CosPiDsLabFrame(Int_t option) const;
78  Bool_t SelectDs(const Double_t* cuts,Int_t &okDsKKpi,Int_t &okDspiKK, Int_t &okMassPhi, Int_t &okMassK0star)
79  const;
80 
82  Double_t ELc() const {return E(4122);}
83  Double_t YLc() const {return Y(4122);}
84  Double_t CtLc() const {return Ct(4122);}
85  Double_t CtLc(Double_t point[3]) const {return AliAODRecoDecay::Ct(4122,point);}
86  Double_t CtLc(AliAODVertex *vtx1) const {return AliAODRecoDecay::Ct(4122,vtx1);}
87  Double_t InvMassLcpKpi() const {UInt_t pdg[3]={2212,321,211};return InvMass(3,pdg);}
88  Double_t InvMassLcpiKp() const {UInt_t pdg[3]={211,321,2212};return InvMass(3,pdg);}
89  Bool_t SelectLc(const Double_t* cuts,Int_t &okLcpKpi,Int_t &okLcpiKp)
90  const; // same variables as D+, for now
91 
92  private:
93 
97 
98 
100  ClassDef(AliAODRecoDecayHF3Prong,2);
101 };
104 
105 #endif
Int_t charge
Int_t pdg
Double_t ELc() const
same variables as D+, for now
double Double_t
Definition: External.C:58
Double_t EDplus() const
D+->Kpipi.
Double_t CosPiDsLabFrame(Int_t option) const
Bool_t SelectLc(const Double_t *cuts, Int_t &okLcpKpi, Int_t &okLcpiKp) const
Double_t Ct(UInt_t pdg) const
Double_t fDist23toPrim
distance prim vert - 2 opposite sign track vertex
Double_t CosPiDsLabFrameKKpi() const
Double_t EDs() const
Ds+->KKpi.
void InvMass(Int_t icalo, TString particle, TString fileName)
Double_t CosPiKPhiRFrameKpiK() const
Double_t CtDplus(AliAODVertex *vtx1) const
Double_t fDist12toPrim
track dispersion around the secondary vertex
int Int_t
Definition: External.C:63
unsigned int UInt_t
Definition: External.C:33
Bool_t SelectDs(const Double_t *cuts, Int_t &okDsKKpi, Int_t &okDspiKK, Int_t &okMassPhi, Int_t &okMassK0star) const
Double_t CosPiKPhiRFrameKKpi() const
Double_t GetSigmaVert(const AliAODEvent *aod=0x0)
Double_t CtLc(Double_t point[3]) const
Double_t ComputeSigmaVert(const AliAODEvent *aod) const
Double_t CtDs(Double_t point[3]) const
Double_t CtDs(AliAODVertex *vtx1) const
Double_t CtLc(AliAODVertex *vtx1) const
void GetDCAs(Double_t dca[3]) const
short Short_t
Definition: External.C:23
Bool_t SelectDplus(const Double_t *cuts) const
Double_t CosPiDsLabFramepiKK() const
Double_t CtDplus(Double_t point[3]) const
Double_t CosPiKPhiRFrame(Int_t option) const
AliAODRecoDecayHF3Prong & operator=(const AliAODRecoDecayHF3Prong &source)
Double_t CosPiDsLabFrameKpiK() const
bool Bool_t
Definition: External.C:53
void SetSigmaVert(Double_t sigmaVert)
Double_t CosPiKPhiRFramepiKK() const