AliPhysics  2aaea23 (2aaea23)
AliKFConversionMother.h
Go to the documentation of this file.
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 */
5 
7 //---------------------------------------------
8 // Class containing the aod information from conversions
9 //---------------------------------------------
11 
12 // --- ROOT system ---
13 
14 #include "TMath.h"
15 #include "AliKFParticle.h"
16 #include "AliKFConversionPhoton.h"
17 
18 class AliKFConversionMother : public AliKFParticle {
19 
20  public:
21 
22  //Constructors
24  //AliKFConversionMother(AliKFParticle &kfparticle);
25  // AliKFConversionMother(const AliKFParticle &d1,const AliKFParticle &d2);
27 
28 
29  //Copy Constructor
31  //assignment operator
33 
34  //Destructor
35  virtual ~AliKFConversionMother() {;}
36 
37 
39 
40  Int_t GetMCLabel() const {return fMCLabel;}
41 
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;}
46 
47  Int_t GetGammaLabel(Int_t i) const {return fLabel[i];}
48 
50  Double_t GetAlpha() const {return fAlpha;}
52 
53  Double_t M(){return GetMass();}
54 
55  Double_t Phi() const;
56 
57  private:
58 
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
63 
64  ClassDef(AliKFConversionMother,1)
65 };
66 
67 
68 #endif
69 
70 
71 
Double_t GetOpeningAngle() const
double Double_t
Definition: External.C:58
Double_t GetAlpha() const
AliKFConversionMother & operator=(const AliKFConversionMother &g)
int Int_t
Definition: External.C:63
Int_t GetGammaLabel(Int_t i) const
void SetGammaLabels(Int_t label1, Int_t label2)
void SetLabel1(Int_t label)
Set track or MC labels.
void SetLabel2(Int_t label)