1 #ifndef ALIKFCONVERSIONMOTHER_H
2 #define ALIKFCONVERSIONMOTHER_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 from conversions
9 //---------------------------------------------
10 ////////////////////////////////////////////////
12 // --- ROOT system ---
15 #include "AliKFParticle.h"
16 #include "AliKFConversionPhoton.h"
18 class AliKFConversionMother : public AliKFParticle {
23 AliKFConversionMother();
24 //AliKFConversionMother(AliKFParticle &kfparticle);
25 // AliKFConversionMother(const AliKFParticle &d1,const AliKFParticle &d2);
26 AliKFConversionMother(const AliKFConversionPhoton &d1,const AliKFConversionPhoton &d2);
30 AliKFConversionMother(const AliKFConversionMother & g);
32 AliKFConversionMother & operator = (const AliKFConversionMother & g);
35 virtual ~AliKFConversionMother() {;}
38 void SetMCLabel(Int_t i){fMCLabel=i;}
40 Int_t GetMCLabel(){return fMCLabel;}
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 SetGammaLabels(Int_t label1, Int_t label2){fLabel[0] = label1; fLabel[1] = label2;}
47 Int_t GetGammaLabel(Int_t i) const {return fLabel[i];}
49 Double_t GetOpeningAngle(){return fOpeningAngle;}
50 Double_t GetAlpha(){return fAlpha;}
51 Double_t GetRapidity();
53 Double_t M(){return GetMass();}
59 Int_t fLabel[2]; // Labels of two decay gammas
60 Int_t fMCLabel; // MC label
61 Double_t fOpeningAngle; // of decay gammas
62 Double_t fAlpha; // of the meson
64 ClassDef(AliKFConversionMother,1)