]>
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 | ||
cd888a89 | 19 | Double_t GetYproj() const { return fYproj; }; |
20 | Double_t GetZproj() const { return fZproj; }; | |
21 | Double_t GetSlope() const { return fSlope; }; | |
22 | Char_t GetDetector() const { return fDetector; }; | |
23 | Short_t GetTracklets() const { return fNtracklets; }; | |
24 | Char_t GetPlanes() const { return fNplanes; }; | |
25 | Short_t GetClusters() const { return fNclusters; }; | |
26 | Double_t GetPt() const { return fPt; }; | |
27 | Double_t GetPhi() const { return fPhi; }; | |
28 | Double_t GetEta() const { return fEta; }; | |
e1e6896f | 29 | Int_t GetLabel() const { return fLabel; }; |
cd888a89 | 30 | Double_t GetPID() const { return fPID; }; |
0ee00e25 | 31 | |
32 | void SetYproj(Float_t val) { fYproj = val; }; | |
33 | void SetZproj(Float_t val) { fZproj = val; }; | |
34 | void SetSlope(Float_t val) { fSlope = val; }; | |
35 | void SetDetector(Int_t det) { fDetector = det; }; | |
36 | void SetTracklets(Int_t val) { fNtracklets = val; }; | |
37 | void SetPlanes(Int_t val) { fNplanes = val; }; | |
38 | void SetClusters(Int_t val) { fNclusters = val; }; | |
39 | void SetPt(Float_t val) { fPt = val; }; | |
40 | void SetPhi(Float_t val) { fPhi = val; }; | |
41 | void SetEta(Float_t val) { fEta = val; }; | |
42 | void SetLabel(Int_t val) { fLabel = val; }; | |
43 | void SetPID(Float_t val) { fPID = val; }; | |
0ee00e25 | 44 | |
45 | protected: | |
46 | ||
cd888a89 | 47 | Double32_t fYproj; // Average values calculated |
48 | Double32_t fZproj; // from the tracklets | |
49 | Double32_t fSlope; // slope of the tracklet | |
50 | Double32_t fPt; // Transverse momentum | |
51 | Double32_t fPhi; // Phi angle at the vertex | |
52 | Double32_t fEta; // Eta at the vertex | |
53 | Double32_t fPID; //[0.,1.,8] PID electron likelihood | |
0ee00e25 | 54 | |
cd888a89 | 55 | Int_t fLabel; // Track label |
56 | Short_t fNtracklets; // Number of tracklets | |
57 | Short_t fNclusters; // Total number of clusters | |
58 | Char_t fNplanes; // Number of TRD planes | |
59 | Char_t fDetector; // First detector in the module | |
60 | ||
61 | ||
62 | ClassDef(AliESDTrdTrack,2) | |
0ee00e25 | 63 | |
64 | }; | |
65 | ||
66 | #endif |