]>
Commit | Line | Data |
---|---|---|
1 | #ifndef ALIESDTRDTRACK_H | |
2 | #define ALIESDTRDTRACK_H | |
3 | ||
4 | // Tracks from the TRD Global Tracking Unit (GTU, trigger) | |
5 | // Stored in the ESD object | |
6 | // Author: B.Vulpescu | |
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 | virtual void Copy(TObject &obj) const; | |
19 | ||
20 | Double_t GetYproj() const { return fYproj; }; | |
21 | Double_t GetZproj() const { return fZproj; }; | |
22 | Double_t GetSlope() const { return fSlope; }; | |
23 | Char_t GetDetector() const { return fDetector; }; | |
24 | Short_t GetTracklets() const { return fNtracklets; }; | |
25 | Char_t GetPlanes() const { return fNplanes; }; | |
26 | Short_t GetClusters() const { return fNclusters; }; | |
27 | Double_t GetPt() const { return fPt; }; | |
28 | Double_t GetPhi() const { return fPhi; }; | |
29 | Double_t GetEta() const { return fEta; }; | |
30 | Int_t GetLabel() const { return fLabel; }; | |
31 | Double_t GetPID() const { return fPID; }; | |
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 | ||
46 | protected: | |
47 | ||
48 | Double32_t fYproj; // Average values calculated | |
49 | Double32_t fZproj; // from the tracklets | |
50 | Double32_t fSlope; // slope of the tracklet | |
51 | Double32_t fPt; // Transverse momentum | |
52 | Double32_t fPhi; // Phi angle at the vertex | |
53 | Double32_t fEta; // Eta at the vertex | |
54 | Double32_t fPID; //[0.,1.,8] PID electron likelihood | |
55 | ||
56 | Int_t fLabel; // Track label | |
57 | Short_t fNtracklets; // Number of tracklets | |
58 | Short_t fNclusters; // Total number of clusters | |
59 | Char_t fNplanes; // Number of TRD planes | |
60 | Char_t fDetector; // First detector in the module | |
61 | ||
62 | ||
63 | ClassDef(AliESDTrdTrack,2) | |
64 | ||
65 | }; | |
66 | ||
67 | #endif |