-Move cent, z axis into sparse
[u/mrichter/AliRoot.git] / PWGGA / GammaConv / AliAODConversionPhoton.h
CommitLineData
2eedd4ed 1#ifndef ALIAODCONVERSIONPHOTON_H
2#define ALIAODCONVERSIONPHOTON_H
3
4#include "AliConversionPhotonBase.h"
5#include "AliKFConversionPhoton.h"
6#include "AliAODConversionParticle.h"
7
8class AliAODConversionPhoton : public AliAODConversionParticle, public AliConversionPhotonBase {
9
10 public:
11
12 //Constructors
13 AliAODConversionPhoton();
14 AliAODConversionPhoton(AliKFConversionPhoton *kfphoton);
92efd725 15 AliAODConversionPhoton(TLorentzVector *vec);
2eedd4ed 16
17 //Copy Constructor
18 AliAODConversionPhoton(const AliAODConversionPhoton & g);
19 //assignment operator
20 AliAODConversionPhoton & operator = (const AliAODConversionPhoton & g);
21
22 //Destructor
23 virtual ~AliAODConversionPhoton();
24
25 // Overwrite GetLabelFunctions to Make it accessible via AliAODConversionParticle
26 virtual Int_t GetLabel(Int_t i) const { return AliConversionPhotonBase::GetTrackLabel(i); };
27 virtual Int_t GetLabel1() const { return AliConversionPhotonBase::GetTrackLabelPositive(); };
28 virtual Int_t GetLabel2() const { return AliConversionPhotonBase::GetTrackLabelNegative(); };
29
30 virtual Double_t GetPhotonMass() const {return AliAODConversionParticle::M();}
31 virtual Double_t GetPhotonPt() const {return AliAODConversionParticle::Pt();}
32 virtual Double_t GetPhotonP() const {return AliAODConversionParticle::P();}
33 virtual Double_t GetPhotonEta() const {return AliAODConversionParticle::Eta();}
e5b6e8a6 34 virtual Double_t GetPhotonTheta() const {return AliAODConversionParticle::Theta();}
69b05e50 35 virtual Double_t GetPhotonPhi() const {return AliAODConversionParticle::Phi();}
3b77b2d1 36 virtual Double_t GetPx() const { return AliAODConversionParticle::Px();}
37 virtual Double_t GetPy() const { return AliAODConversionParticle::Py();}
38 virtual Double_t GetPz() const { return AliAODConversionParticle::Pz();}
4803eb1f 39 void CalculateDistanceOfClossetApproachToPrimVtx(const AliVVertex* primVertex);
3b77b2d1 40 void SetMassToZero() { SetE(P()); }
4803eb1f 41 Float_t GetDCAzToPrimVtx()const {return fDCAzPrimVtx;}
42 Float_t GetDCArToPrimVtx()const {return fDCArPrimVtx;}
43
44 Float_t fDCArPrimVtx;
45 Float_t fDCAzPrimVtx;
46
47
48 ClassDef(AliAODConversionPhoton,2)
2eedd4ed 49};
50
51
52#endif
53
54
55