AliPhysics  58f3d52 (58f3d52)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliKFConversionPhoton.h
Go to the documentation of this file.
1 #ifndef ALIKFCONVERSIONPHOTON_H
2 #define ALIKFCONVERSIONPHOTON_H
3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4  * See cxx source for full Copyright notice */
5 
7 //---------------------------------------------
8 // Class containing the aod information from conversions
9 //---------------------------------------------
11 
12 // --- ROOT system ---
13 
14 #include "TMath.h"
16 #include "AliKFParticle.h"
17 // #include "AliV0Reader.h"
18 #include "AliESDEvent.h"
19 #include "AliPID.h"
20 #include "TParticle.h"
21 #include "TF1.h"
22 #include "TRandom3.h"
23 
25 
26 class AliKFConversionPhoton : public AliKFParticle, public AliConversionPhotonBase {
27 
28  public:
29 
30  //Constructors
32  AliKFConversionPhoton(AliKFParticle &kfparticle);
33 // AliKFConversionPhoton(AliV0Reader *fV0Reader);
34  AliKFConversionPhoton(const AliKFParticle &fCurrentNegativeKFParticle,const AliKFParticle &fCurrentPositiveKFParticle);
35 
36  //Copy Constructor
38  //assignment operator
40 
41  //Destructor
42  virtual ~AliKFConversionPhoton() {;}
43 
44  //
45  void SetArmenterosQtAlpha(Double_t armenteros[2],const AliKFParticle &fCurrentNegativeKFParticle,const AliKFParticle &fCurrentPositiveKFParticle);
46  void ConstructGamma(const AliKFParticle &fCurrentNegativeKFParticle,const AliKFParticle &fCurrentPositiveKFParticle);
47 
48 
49  Double_t Phi() const;
50 
51  // GetInvariantMass
52 
53  Double_t M() const {return AliKFParticle::GetMass();}
54  Double_t Pt() const {return AliKFParticle::GetPt();}
55  Double_t P() const {return AliKFParticle::GetP();}
56  Double_t Eta() const {return AliKFParticle::GetEta();}
57 
58  virtual Double_t GetPhotonMass() const {return M();}
59  virtual Double_t GetPhotonPt() const {return Pt();}
60  virtual Double_t GetPhotonP() const {return P();}
61  virtual Double_t GetPhotonEta() const {return Eta();}
62  virtual Double_t GetPhotonPhi() const {return Phi();}
63  virtual Double_t GetPx() const { return AliKFParticle::GetPx();}
64  virtual Double_t GetPy() const { return AliKFParticle::GetPy();}
65  virtual Double_t GetPz() const { return AliKFParticle::GetPz();}
66 
67  ClassDef(AliKFConversionPhoton,1)
68 };
69 
70 #endif
double Double_t
Definition: External.C:58
AliKFConversionPhoton & operator=(const AliKFConversionPhoton &g)
virtual Double_t GetPy() const
void SetArmenterosQtAlpha(Double_t armenteros[2], const AliKFParticle &fCurrentNegativeKFParticle, const AliKFParticle &fCurrentPositiveKFParticle)
virtual Double_t GetPz() const
virtual Double_t GetPhotonP() const
virtual Double_t GetPhotonPt() const
void ConstructGamma(const AliKFParticle &fCurrentNegativeKFParticle, const AliKFParticle &fCurrentPositiveKFParticle)
virtual Double_t GetPhotonEta() const
virtual Double_t GetPx() const
virtual Double_t GetPhotonMass() const
virtual Double_t GetPhotonPhi() const