]>
Commit | Line | Data |
---|---|---|
e3b2b5e5 | 1 | #ifndef ALITRDLTUTRACKLET_H |
2 | #define ALITRDLTUTRACKLET_H | |
3 | ||
4 | #include <TObject.h> | |
5 | ||
6 | class AliTRDltuTracklet : public TObject { | |
7 | ||
8 | public: | |
9 | ||
10 | enum { kNplan = 6 }; | |
11 | ||
12 | AliTRDltuTracklet(Int_t det, | |
13 | Int_t row, | |
14 | Float_t rowz, | |
15 | Float_t slope, | |
16 | Float_t offset, | |
17 | Float_t time, | |
18 | Int_t ncl, | |
19 | Int_t label, | |
20 | Float_t q); | |
21 | ||
22 | virtual ~AliTRDltuTracklet(); | |
23 | ||
24 | Bool_t IsSortable() const { return kTRUE; } | |
25 | virtual Int_t Compare(const TObject *o) const; | |
26 | ||
27 | Int_t GetDetector() const { return fDetector; }; | |
28 | Int_t GetPlane(Int_t det) const { return ((Int_t) (det % kNplan)); }; | |
29 | Int_t GetRow() const { return fRow; }; | |
30 | Int_t GetNclusters() const { return fNclusters; }; | |
31 | Float_t GetSlope() const { return fSlope; }; | |
32 | Float_t GetOffset() const { return fY; }; | |
33 | Float_t GetTime0() const { return fX; }; | |
34 | Float_t GetRowz() const { return fRowz; }; | |
35 | Float_t GetYproj(Float_t xpl) const; | |
36 | Float_t GetZproj(Float_t xpl) const; | |
37 | Int_t GetLabel() const { return fLabel; }; | |
38 | Float_t GetPt(Float_t field) const; | |
39 | Float_t GetQ() const { return fQ; }; | |
40 | ||
41 | protected: | |
42 | ||
43 | Float_t fX; // distance vertex to entrance window | |
44 | Float_t fY; // tracklet offset at entrance window | |
45 | Float_t fSlope; // tracklet slope | |
46 | Float_t fRowz; // z coordinate of the pad row center | |
47 | Int_t fDetector; // detector number | |
48 | Int_t fRow; // pad row number | |
49 | Int_t fNclusters; // number of clusters | |
50 | Int_t fLabel; // mc track label | |
51 | Float_t fQ; // charge sum divided by number of clusters | |
52 | ||
53 | ClassDef(AliTRDltuTracklet,2) | |
54 | ||
55 | }; | |
56 | ||
57 | #endif |