]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PWG1/comparison/AliMCComparisonTrack.h
Updated version of the proof-enabled comparison macros: now available for ITS, TPC...
[u/mrichter/AliRoot.git] / PWG1 / comparison / AliMCComparisonTrack.h
1 #ifndef AliMCComparisonTrack_cxx
2 #define AliMCComparisonTrack_cxx
3
4 #include "TObject.h"
5
6
7 class AliMCComparisonTrack: public TObject 
8 {
9   public:
10     AliMCComparisonTrack();
11     virtual ~AliMCComparisonTrack() {}
12     
13     void SetLabel(Int_t Label)
14       {MCLabel = Label;}
15     void SetPDG(Int_t PDG) 
16       {MCPdg = PDG;}
17     void SetPz(Float_t PZ)
18       {Pz = PZ;}
19     void SetPt(Float_t Ptrans)
20       {Pt = Ptrans;}
21     void SetPhi(Float_t PhiAngle)
22       {Phi = PhiAngle;}
23     void SetLocalX(Float_t localX)
24       {LocalX =localX;}
25     void SetLocalY(Float_t localY)
26       {LocalY =localY;}  
27     void SetZ(Float_t Zcoor)
28       {Z = Zcoor;}
29       
30     Int_t GetLabel()
31       {return MCLabel;}  
32     Int_t GetPDG()
33       {return MCPdg;}
34     Float_t GetPz()
35       {return Pz;}  
36     Float_t GetPt()
37       {return Pt;}
38     Float_t GetPhi()
39       {return Phi;}
40     Float_t GetLocalX()
41       {return LocalX;}
42     Float_t GetLocalY()
43       {return LocalY;}      
44     Float_t GetZ()
45       {return Z;}
46   
47   private:
48       // track label
49     Int_t MCLabel;
50       // PDG particle code
51     Int_t MCPdg;
52       // z-component of momentum
53     Float_t Pz;
54       // component of momentum in the transverse plane
55     Float_t Pt; 
56       // phi angle of the particle direction
57     Float_t Phi;
58       // local x-coordinate
59     Float_t LocalX;
60       // local y-coordinate
61     Float_t LocalY;
62       // z-coordinate
63     Float_t Z;
64     
65     ClassDef(AliMCComparisonTrack, 1); 
66 };
67
68
69 #endif