]>
Commit | Line | Data |
---|---|---|
2eedd4ed | 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 | ||
6 | //////////////////////////////////////////////// | |
7 | //--------------------------------------------- | |
8 | // Class containing the aod information from conversions | |
9 | //--------------------------------------------- | |
10 | //////////////////////////////////////////////// | |
11 | ||
12 | // --- ROOT system --- | |
13 | ||
14 | #include "TMath.h" | |
15 | #include "AliConversionPhotonBase.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 | ||
23 | class AliConversionPhotonBase; | |
24 | ||
25 | class AliKFConversionPhoton : public AliKFParticle, public AliConversionPhotonBase { | |
26 | ||
27 | public: | |
28 | ||
29 | //Constructors | |
30 | AliKFConversionPhoton(); | |
31 | AliKFConversionPhoton(AliKFParticle &kfparticle); | |
32 | AliKFConversionPhoton(AliV0Reader *fV0Reader); | |
33 | AliKFConversionPhoton(const AliKFParticle &fCurrentNegativeKFParticle,const AliKFParticle &fCurrentPositiveKFParticle); | |
34 | ||
35 | //Copy Constructor | |
36 | AliKFConversionPhoton(const AliKFConversionPhoton & g); | |
37 | //assignment operator | |
38 | AliKFConversionPhoton & operator = (const AliKFConversionPhoton & g); | |
39 | ||
40 | //Destructor | |
41 | virtual ~AliKFConversionPhoton() {;} | |
42 | ||
43 | // | |
44 | void SetArmenterosQtAlpha(Double_t armenteros[2],const AliKFParticle &fCurrentNegativeKFParticle,const AliKFParticle &fCurrentPositiveKFParticle); | |
45 | void ConstructGamma(const AliKFParticle &fCurrentNegativeKFParticle,const AliKFParticle &fCurrentPositiveKFParticle); | |
46 | ||
47 | ||
48 | Double_t Phi() const; | |
49 | ||
50 | // GetInvariantMass | |
51 | ||
52 | Double_t M() const {return AliKFParticle::GetMass();} | |
53 | Double_t Pt() const {return AliKFParticle::GetPt();} | |
54 | Double_t P() const {return AliKFParticle::GetP();} | |
55 | Double_t Eta() const {return AliKFParticle::GetEta();} | |
56 | ||
69b05e50 | 57 | virtual Double_t GetPhotonMass() const {return M();} |
58 | virtual Double_t GetPhotonPt() const {return Pt();} | |
59 | virtual Double_t GetPhotonP() const {return P();} | |
60 | virtual Double_t GetPhotonEta() const {return Eta();} | |
61 | virtual Double_t GetPhotonPhi() const {return Phi();} | |
2eedd4ed | 62 | |
63 | ClassDef(AliKFConversionPhoton,1) | |
64 | }; | |
65 | ||
66 | #endif |