1 #ifndef ALIAODCONVERSIONMOTHER_H
2 #define ALIAODCONVERSIONMOTHER_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 reconstructing the mother particle of conversion gammas
9 //---------------------------------------------
10 ////////////////////////////////////////////////
12 //Author Daniel Lohner (Daniel.Lohner@cern.ch)
14 #include "TLorentzVector.h"
15 #include "AliAODConversionParticle.h"
16 #include "AliAODConversionPhoton.h"
17 #include "AliKFConversionMother.h"
18 #include "AliKFParticle.h"
20 class AliAODConversionMother : public AliAODConversionParticle{
25 AliAODConversionMother();
27 // Constructor for ESD to AOD Conversion
28 AliAODConversionMother(AliKFConversionMother *kf);
30 //Constructor Decay Mother Particle
31 AliAODConversionMother(AliAODConversionPhoton *y1,AliAODConversionPhoton *y2);
34 virtual ~AliAODConversionMother();
36 ///Set the Chi2 of reconstructed conversion gamma
37 void SetChi2(Float_t chi2) {fChi2 = chi2;}
39 //Get the Chi2 of particle
40 Float_t Chi2() const {return fChi2;}
42 ///Set track or MC labels
43 void SetLabel1(Int_t label){fLabel[0] = label;}
44 void SetLabel2(Int_t label){fLabel[1] = label;}
45 void SetLabels(Int_t label1, Int_t label2){fLabel[0] = label1; fLabel[1] = label2;}
47 Int_t GetLabel(Int_t i) const {return fLabel[i];}
48 Int_t GetLabel1() const {return fLabel[0];}
49 Int_t GetLabel2() const {return fLabel[1];}
51 Double_t GetOpeningAngle() const { return fOpeningAngle;}
53 Double_t GetAlpha() const { return fAlpha;}
55 void SetWeight(Double_t weight) {fWeight=weight;}
56 Double_t GetWeight() const {return fWeight;}
59 Int_t fLabel[2]; // Labels of the decay photons
60 Float_t fChi2; // Chi sq of reconstructed mother
61 Double_t fOpeningAngle;
63 Double_t fWeight; // Weight for BG Calculation
65 ClassDef(AliAODConversionMother,2)