]>
Commit | Line | Data |
---|---|---|
1 | #ifndef AliFTrack_H | |
2 | #define AliFTrack_H | |
3 | ||
4 | ////////////////////////////////////////////////////////////////////////// | |
5 | // // | |
6 | // AliFast track class // | |
7 | // // | |
8 | ////////////////////////////////////////////////////////////////////////// | |
9 | ||
10 | #include <TObject.h> | |
11 | ||
12 | class AliFTrack : public TObject { | |
13 | ||
14 | public: | |
15 | AliFTrack() {;} | |
16 | AliFTrack(Int_t code, Double_t charge, Double_t pT, Double_t eta, Double_t phi, | |
17 | Double_t v11, Double_t v22, Double_t v33, | |
18 | Double_t v12, Double_t v13, Double_t v23, Int_t iFlag); | |
19 | virtual ~AliFTrack() {;} | |
20 | virtual void Draw(Option_t *option=""); | |
21 | virtual void Paint(Option_t *option=""); | |
22 | ||
23 | //getters | |
24 | Int_t IdTrack() const {return fIdTrack;} | |
25 | Double_t ChTrack() const {return fChTrack;} | |
26 | Double_t PT() const {return fPT;} | |
27 | Double_t Eta() const {return fEta;} | |
28 | Double_t Phi() const {return fPhi;} | |
29 | Double_t V11() const {return fV11;} | |
30 | Double_t V22() const {return fV22;} | |
31 | Double_t V33() const {return fV33;} | |
32 | Double_t V12() const {return fV12;} | |
33 | Double_t V13() const {return fV13;} | |
34 | Double_t V23() const {return fV23;} | |
35 | Int_t IFlag() const {return fIFlag;} | |
36 | ||
37 | private: | |
38 | Int_t fIdTrack; //Track code | |
39 | Double_t fChTrack; //Track charge | |
40 | Double_t fPT; //Track transverse momenta | |
41 | Double_t fEta; //Track eta | |
42 | Double_t fPhi; //Track phi | |
43 | Double_t fV11; //Element of the covariance matrix | |
44 | Double_t fV22; //Element of the covariance matrix | |
45 | Double_t fV33; //Element of the covariance matrix | |
46 | Double_t fV12; //Element of the covariance matrix | |
47 | Double_t fV13; //Element of the covariance matrix | |
48 | Double_t fV23; //Element of the covariance matrix | |
49 | Int_t fIFlag; //Status flag | |
50 | ||
51 | ||
52 | ClassDef(AliFTrack, 1) //AliFast track class | |
53 | }; | |
54 | ||
55 | #endif |