]>
Commit | Line | Data |
---|---|---|
0ee00e25 | 1 | #ifndef ALIESDTRDTRACK_H |
2 | #define ALIESDTRDTRACK_H | |
3 | ||
4 | // | |
5 | // Tracks from the TRD Global Tracking Unit (GTU, trigger) | |
6 | // | |
7 | ||
8 | #include "TObject.h" | |
9 | ||
10 | class AliESDTrdTrack : public TObject { | |
11 | ||
12 | public: | |
13 | ||
14 | AliESDTrdTrack(); | |
15 | virtual ~AliESDTrdTrack(){}; | |
16 | AliESDTrdTrack(const AliESDTrdTrack& track); | |
17 | AliESDTrdTrack& operator=(const AliESDTrdTrack& track); | |
18 | ||
19 | Float_t GetYproj() { return fYproj; }; | |
20 | Float_t GetZproj() { return fZproj; }; | |
21 | Float_t GetSlope() { return fSlope; }; | |
22 | Int_t GetDetector() { return fDetector; }; | |
23 | Int_t GetTracklets() { return fNtracklets; }; | |
24 | Int_t GetPlanes() { return fNplanes; }; | |
25 | Int_t GetClusters() { return fNclusters; }; | |
26 | Float_t GetPt() { return fPt; }; | |
27 | Float_t GetPhi() { return fPhi; }; | |
28 | Float_t GetEta() { return fEta; }; | |
29 | Int_t GetLabel() { return fLabel; }; | |
30 | Float_t GetPID() { return fPID; }; | |
31 | Bool_t IsElectron() { return fIsElectron; } | |
32 | ||
33 | void SetYproj(Float_t val) { fYproj = val; }; | |
34 | void SetZproj(Float_t val) { fZproj = val; }; | |
35 | void SetSlope(Float_t val) { fSlope = val; }; | |
36 | void SetDetector(Int_t det) { fDetector = det; }; | |
37 | void SetTracklets(Int_t val) { fNtracklets = val; }; | |
38 | void SetPlanes(Int_t val) { fNplanes = val; }; | |
39 | void SetClusters(Int_t val) { fNclusters = val; }; | |
40 | void SetPt(Float_t val) { fPt = val; }; | |
41 | void SetPhi(Float_t val) { fPhi = val; }; | |
42 | void SetEta(Float_t val) { fEta = val; }; | |
43 | void SetLabel(Int_t val) { fLabel = val; }; | |
44 | void SetPID(Float_t val) { fPID = val; }; | |
45 | void SetIsElectron(Bool_t val) { fIsElectron = val; }; | |
46 | ||
47 | protected: | |
48 | ||
49 | Float_t fYproj; // Average values calculated | |
50 | Float_t fZproj; // from the tracklets | |
51 | Float_t fSlope; // | |
52 | Int_t fDetector; // First detector in the module | |
53 | Int_t fNtracklets; // Number of tracklets | |
54 | Int_t fNplanes; // Number of TRD planes | |
55 | Int_t fNclusters; // Total number of clusters | |
56 | Float_t fPt; // Transverse momentum | |
57 | Float_t fPhi; // Phi angle at the vertex | |
58 | Float_t fEta; // Eta at the vertex | |
59 | Int_t fLabel; // Track label | |
60 | Float_t fPID; // PID electron likelihood | |
61 | Bool_t fIsElectron; // Electron flag | |
62 | ||
63 | ClassDef(AliESDTrdTrack,1) | |
64 | ||
65 | }; | |
66 | ||
67 | #endif |