Added comments for inline functions
[u/mrichter/AliRoot.git] / ALIFAST / AliFTrack.h
CommitLineData
65a39007 1#ifndef AliFTrack_H
2#define AliFTrack_H
3
4//////////////////////////////////////////////////////////////////////////
5// //
6// AliFast track class //
7// //
8//////////////////////////////////////////////////////////////////////////
9
65a39007 10#include <TObject.h>
65a39007 11
12class AliFTrack : public TObject {
13
65a39007 14public:
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
9e9f6402 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
37private:
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
65a39007 50
51
52 ClassDef(AliFTrack, 1) //AliFast track class
53};
54
55#endif