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