]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PWG4/GammaConv/AliGammaConversionAODObject.h
Removed cout message
[u/mrichter/AliRoot.git] / PWG4 / GammaConv / AliGammaConversionAODObject.h
1 #ifndef ALIGAMMACONVERSIONAODOBJECT_H
2 #define ALIGAMMACONVERSIONAODOBJECT_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
9 //---------------------------------------------
10 ////////////////////////////////////////////////
11
12 // --- ROOT system ---
13 #include "TObject.h" 
14 class AliStack;
15 class AliESDEvent;
16
17 class AliGammaConversionAODObject : public TObject {
18
19  public: 
20
21   AliGammaConversionAODObject();                                        //constructor
22   AliGammaConversionAODObject(const AliGammaConversionAODObject & g);                   //copy constructor
23   AliGammaConversionAODObject & operator = (const AliGammaConversionAODObject & g);     //assignment operator
24   virtual ~AliGammaConversionAODObject() {;}                            //virtual destructor
25
26   /*
27    * This function sets the Px
28    */
29   void SetPx(Float_t px){fPx = px;}
30
31   /*
32    * This function sets the Py
33    */
34   void SetPy(Float_t py){fPy = py;}
35
36   /*
37    * This function sets the Pz
38    */
39   void SetPz(Float_t pz){fPz = pz;}
40
41   /*
42    * This function sets the esd label of the first electron
43    */
44   void SetLabel1(Int_t label){fLabel1 = label;}
45
46   /*
47    * This function sets the esd label of the second electron
48    */
49   void SetLabel2(Int_t label){fLabel2 = label;}
50   
51   /*
52    * This function returns the Px
53    */
54   Float_t GetGammaPx() const{return fPx;}
55
56   /*
57    * This function returns the Py
58    */
59   Float_t GetGammaPy() const{return fPy;}
60
61   /*
62    * This function returns the Pz
63    */
64   Float_t GetGammaPz() const{return fPz;}
65
66   /*
67    * This function returns the esd label of the first electron
68    */
69   Int_t GetElectronLabel1() const{return fLabel1;}
70
71   /*
72    * This function returns the esd label of the second electron
73    */
74   Int_t GetElectronLabel2()const {return fLabel2;}
75
76
77   /*
78    * This function sets the MC stack
79    */
80   void SetStack(AliStack* const stack){fMCStack=stack;}
81
82   /*
83    * This function sets the ESD event
84    */
85   void SetESDEvent(AliESDEvent* const esdEvent){fESDEvent = esdEvent;}
86
87   /*
88    * This function returns the Gamma MC label
89    */
90   Int_t GetGammaMCLabel() const;
91
92   /*
93    * This function returns the unique id  of the electrons (if they have the same mother and unique id)
94    */
95   Int_t GetElectronUniqueID() const;
96
97   /*
98    * This function returns the MC label of the first electron
99    */
100   Int_t GetElectronMCLabel1() const;
101
102   /*
103    * This function returns the MC label of the second electron
104    */
105   Int_t GetElectronMCLabel2() const;
106
107  private:
108
109   Float_t fPx; // Px of reconstructed gamma
110   Float_t fPy; // Py of reconstructed gamma
111   Float_t fPz; // Pz of reconstructed gamma
112   Int_t fLabel1; //mc label of the first track
113   Int_t fLabel2; //mc label of the second track
114   AliStack* fMCStack; // pointer to the mc stack
115   AliESDEvent * fESDEvent; // pointer to the esdevent
116
117   ClassDef(AliGammaConversionAODObject,0)
118 };
119
120
121 #endif
122
123
124