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() {;}
37 ///Set track or MC labels
38 void SetLabel1(Int_t label){fLabel[0] = label;}
39 void SetLabel2(Int_t label){fLabel[1] = label;}
40 void SetGammaLabels(Int_t label1, Int_t label2){fLabel[0] = label1; fLabel[1] = label2;}
42 Int_t GetGammaLabel(Int_t i) const {return fLabel[i];}
44 Double_t GetOpeningAngle(){return fOpeningAngle;}
45 Double_t GetAlpha(){return fAlpha;}
46 Double_t GetRapidity();
48 Double_t M(){return GetMass();}
54 Int_t fLabel[2]; // Labels of two decay gammas
55 Double_t fOpeningAngle; // of decay gammas
56 Double_t fAlpha; // of the meson
58 ClassDef(AliKFConversionMother,1)