]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PWG1/comparison/AliMCComparisonTrack.h
Bug corrected
[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 SetTPCMomentum(Float_t Px, Float_t Py, Float_t Pz)
18       {TPCPx = Px; TPCPy = Py; TPCPz = Pz;}
19       
20     Int_t GetLabel()
21       {return MCLabel;}  
22     Int_t GetPDG()
23       {return MCPdg;}
24     Float_t GetTPCPx()
25       {return TPCPx;}
26     Float_t GetTPCPy()
27       {return TPCPy;}  
28     Float_t GetTPCPz()
29       {return TPCPz;}  
30   
31   private:
32       // track label
33     Int_t MCLabel;
34       // particle PDG
35     Int_t MCPdg;
36       // momentum at the entrance of the TPC
37     Float_t TPCPx;
38     Float_t TPCPy;
39     Float_t TPCPz;
40     
41     ClassDef(AliMCComparisonTrack, 1); 
42 };
43
44
45 #endif