]>
Commit | Line | Data |
---|---|---|
0ee00e25 | 1 | #ifndef ALIESDTRDTRACK_H |
2 | #define ALIESDTRDTRACK_H | |
3 | ||
0ee00e25 | 4 | // Tracks from the TRD Global Tracking Unit (GTU, trigger) |
e1e6896f | 5 | // Stored in the ESD object |
6 | // Author: B.Vulpescu | |
0ee00e25 | 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 | ||
e1e6896f | 19 | Float_t GetYproj() const { return fYproj; }; |
20 | Float_t GetZproj() const { return fZproj; }; | |
21 | Float_t GetSlope() const { return fSlope; }; | |
22 | Int_t GetDetector() const { return fDetector; }; | |
23 | Int_t GetTracklets() const { return fNtracklets; }; | |
24 | Int_t GetPlanes() const { return fNplanes; }; | |
25 | Int_t GetClusters() const { return fNclusters; }; | |
26 | Float_t GetPt() const { return fPt; }; | |
27 | Float_t GetPhi() const { return fPhi; }; | |
28 | Float_t GetEta() const { return fEta; }; | |
29 | Int_t GetLabel() const { return fLabel; }; | |
30 | Float_t GetPID() const { return fPID; }; | |
31 | Bool_t IsElectron() const { return fIsElectron; } | |
0ee00e25 | 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 | |
e1e6896f | 51 | Float_t fSlope; // slope of the tracklet |
0ee00e25 | 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 |