]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PWGGA/GammaConv/AliKFConversionMother.h
Added tasks for full jet analysis in pp (R. Ma)
[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
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;}
41
42 Int_t GetGammaLabel(Int_t i) const {return fLabel[i];}
43
44 Double_t GetOpeningAngle(){return fOpeningAngle;}
45 Double_t GetAlpha(){return fAlpha;}
46 Double_t GetRapidity();
47
48 Double_t M(){return GetMass();}
49
50 Double_t Phi() const;
51
52 private:
53
54 Int_t fLabel[2]; // Labels of two decay gammas
55 Double_t fOpeningAngle; // of decay gammas
56 Double_t fAlpha; // of the meson
57
58 ClassDef(AliKFConversionMother,1)
59};
60
61
62#endif
63
64
65