]>
Commit | Line | Data |
---|---|---|
d712b5b8 | 1 | #ifndef ALIL3_HOUGH_Track |
2 | #define ALIL3_HOUGH_Track | |
3 | ||
4 | #include "AliL3Track.h" | |
5 | ||
d712b5b8 | 6 | class AliL3HoughTrack : public AliL3Track { |
7 | ||
8 | private: | |
237d3f5c | 9 | |
d712b5b8 | 10 | Double_t fMinDist; |
11 | Int_t fWeight; | |
12 | Int_t fEtaIndex; | |
13 | Double_t fEta; | |
b1886074 | 14 | Int_t fSlice; //The slice where this track was found |
d712b5b8 | 15 | |
16 | Double_t fDLine; | |
17 | Double_t fPsiLine; | |
18 | ||
19 | Bool_t fIsHelix; | |
20 | ||
21 | public: | |
22 | AliL3HoughTrack(); | |
23 | virtual ~AliL3HoughTrack(); | |
24 | ||
25 | virtual void Set(AliL3Track *track); | |
26 | virtual Int_t Compare(const AliL3Track *track) const; | |
27 | virtual void CalculateHelix(); | |
28 | ||
29 | void UpdateToFirstRow(); | |
b46b53c1 | 30 | void SetTrackParameters(Double_t kappa,Double_t eangle,Int_t weight); |
d712b5b8 | 31 | void SetLineParameters(Double_t psi,Double_t D,Int_t weight,Int_t *rowrange,Int_t ref_row); |
b1886074 | 32 | |
d712b5b8 | 33 | Int_t GetWeight() const {return fWeight;} |
34 | Double_t GetPsiLine() const {return fPsiLine;} | |
35 | Double_t GetDLine() const {return fDLine;} | |
36 | ||
37 | Int_t GetEtaIndex() const {return fEtaIndex;} | |
38 | Double_t GetEta() const {return fEta;} | |
b1886074 | 39 | Int_t GetSlice() const {return fSlice;} |
d712b5b8 | 40 | void GetLineCrossingPoint(Int_t padrow,Double_t *xy); |
b1886074 | 41 | |
42 | void SetSlice(Int_t slice) {fSlice=slice;} | |
d712b5b8 | 43 | void SetEta(Double_t f); |
44 | void SetWeight(Int_t i,Bool_t update=kFALSE) {if(update) fWeight+= i; else fWeight = i;} | |
45 | void SetEtaIndex(Int_t f) {fEtaIndex = f;} | |
46 | void SetBestMCid(Int_t f,Double_t min_dist); | |
47 | void SetDLine(Double_t f) {fDLine=f;} | |
48 | void SetPsiLine(Double_t f) {fPsiLine=f;} | |
49 | ||
b1886074 | 50 | ClassDef(AliL3HoughTrack,1) //Track class for Hough tracklets |
d712b5b8 | 51 | |
52 | }; | |
53 | ||
54 | #endif |