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 */
6 ////////////////////////////////////////////////
7 //---------------------------------------------
8 // Class containing the aod information
9 //---------------------------------------------
10 ////////////////////////////////////////////////
12 // --- ROOT system ---
17 class AliGammaConversionAODObject : public TObject {
21 AliGammaConversionAODObject(); //constructor
22 AliGammaConversionAODObject(const AliGammaConversionAODObject & g); //copy constructor
23 AliGammaConversionAODObject & operator = (const AliGammaConversionAODObject & g); //assignment operator
24 virtual ~AliGammaConversionAODObject() {;} //virtual destructor
27 * This function sets the Px
29 void SetPx(Float_t px){fPx = px;}
32 * This function sets the Py
34 void SetPy(Float_t py){fPy = py;}
37 * This function sets the Pz
39 void SetPz(Float_t pz){fPz = pz;}
42 * This function sets the esd label of the first electron
44 void SetLabel1(Int_t label){fLabel1 = label;}
47 * This function sets the esd label of the second electron
49 void SetLabel2(Int_t label){fLabel2 = label;}
52 * This function returns the Px
54 Float_t GetGammaPx() const{return fPx;}
57 * This function returns the Py
59 Float_t GetGammaPy() const{return fPy;}
62 * This function returns the Pz
64 Float_t GetGammaPz() const{return fPz;}
67 * This function returns the esd label of the first electron
69 Int_t GetElectronLabel1() const{return fLabel1;}
72 * This function returns the esd label of the second electron
74 Int_t GetElectronLabel2()const {return fLabel2;}
78 * This function sets the MC stack
80 void SetStack(AliStack* const stack){fMCStack=stack;}
83 * This function sets the ESD event
85 void SetESDEvent(AliESDEvent* const esdEvent){fESDEvent = esdEvent;}
88 * This function returns the Gamma MC label
90 Int_t GetGammaMCLabel() const;
93 * This function returns the unique id of the electrons (if they have the same mother and unique id)
95 Int_t GetElectronUniqueID() const;
98 * This function returns the MC label of the first electron
100 Int_t GetElectronMCLabel1() const;
103 * This function returns the MC label of the second electron
105 Int_t GetElectronMCLabel2() const;
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
117 ClassDef(AliGammaConversionAODObject,0)