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