AliPhysics  b752f14 (b752f14)
 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 "AliStack.h"
21 #include "TParticle.h"
22 #include "TF1.h"
23 #include "TRandom3.h"
24 
26 
27 class AliKFConversionPhoton : public AliKFParticle, public AliConversionPhotonBase {
28 
29  public:
30 
31  //Constructors
33  AliKFConversionPhoton(AliKFParticle &kfparticle);
34 // AliKFConversionPhoton(AliV0Reader *fV0Reader);
35  AliKFConversionPhoton(const AliKFParticle &fCurrentNegativeKFParticle,const AliKFParticle &fCurrentPositiveKFParticle);
36 
37  //Copy Constructor
39  //assignment operator
41 
42  //Destructor
43  virtual ~AliKFConversionPhoton() {;}
44 
45  //
46  void SetArmenterosQtAlpha(Double_t armenteros[2],const AliKFParticle &fCurrentNegativeKFParticle,const AliKFParticle &fCurrentPositiveKFParticle);
47  void ConstructGamma(const AliKFParticle &fCurrentNegativeKFParticle,const AliKFParticle &fCurrentPositiveKFParticle);
48 
49 
50  Double_t Phi() const;
51 
52  // GetInvariantMass
53 
54  Double_t M() const {return AliKFParticle::GetMass();}
55  Double_t Pt() const {return AliKFParticle::GetPt();}
56  Double_t P() const {return AliKFParticle::GetP();}
57  Double_t Eta() const {return AliKFParticle::GetEta();}
58 
59  virtual Double_t GetPhotonMass() const {return M();}
60  virtual Double_t GetPhotonPt() const {return Pt();}
61  virtual Double_t GetPhotonP() const {return P();}
62  virtual Double_t GetPhotonEta() const {return Eta();}
63  virtual Double_t GetPhotonPhi() const {return Phi();}
64  virtual Double_t GetPx() const { return AliKFParticle::GetPx();}
65  virtual Double_t GetPy() const { return AliKFParticle::GetPy();}
66  virtual Double_t GetPz() const { return AliKFParticle::GetPz();}
67 
69 };
70 
71 #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)
ClassDef(AliConversionPhotonBase, 5)
virtual Double_t GetPhotonEta() const
virtual Double_t GetPx() const
virtual Double_t GetPhotonMass() const
virtual Double_t GetPhotonPhi() const