-Move cent, z axis into sparse
[u/mrichter/AliRoot.git] / PWGGA / GammaConv / AliKFConversionMother.h
CommitLineData
2eedd4ed 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
6////////////////////////////////////////////////
7//---------------------------------------------
8// Class containing the aod information from conversions
9//---------------------------------------------
10////////////////////////////////////////////////
11
12// --- ROOT system ---
13
14#include "TMath.h"
15#include "AliKFParticle.h"
16#include "AliKFConversionPhoton.h"
17
18class AliKFConversionMother : public AliKFParticle {
19
20 public:
21
22 //Constructors
23 AliKFConversionMother();
24 //AliKFConversionMother(AliKFParticle &kfparticle);
25 // AliKFConversionMother(const AliKFParticle &d1,const AliKFParticle &d2);
26 AliKFConversionMother(const AliKFConversionPhoton &d1,const AliKFConversionPhoton &d2);
27
28
29 //Copy Constructor
30 AliKFConversionMother(const AliKFConversionMother & g);
31 //assignment operator
32 AliKFConversionMother & operator = (const AliKFConversionMother & g);
33
34 //Destructor
35 virtual ~AliKFConversionMother() {;}
36
92efd725 37
38 void SetMCLabel(Int_t i){fMCLabel=i;}
39
40 Int_t GetMCLabel(){return fMCLabel;}
41
2eedd4ed 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;}
46
47 Int_t GetGammaLabel(Int_t i) const {return fLabel[i];}
48
49 Double_t GetOpeningAngle(){return fOpeningAngle;}
50 Double_t GetAlpha(){return fAlpha;}
51 Double_t GetRapidity();
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
92efd725 60 Int_t fMCLabel; // MC label
2eedd4ed 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