]>
Commit | Line | Data |
---|---|---|
d712b5b8 | 1 | #ifndef ALIL3_HOUGH_Track |
2 | #define ALIL3_HOUGH_Track | |
3 | ||
4 | #include "AliL3Track.h" | |
5 | ||
6 | class AliL3Transform; | |
7 | ||
8 | class AliL3HoughTrack : public AliL3Track { | |
9 | ||
10 | private: | |
11 | ||
12 | AliL3Transform *fTransform; //! | |
13 | Double_t fMinDist; | |
14 | Int_t fWeight; | |
15 | Int_t fEtaIndex; | |
16 | Double_t fEta; | |
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; | |
29 | virtual void CalculateHelix(); | |
30 | ||
31 | void UpdateToFirstRow(); | |
32 | void SetTrackParameters(Double_t kappa,Double_t phi,Int_t weight); | |
33 | void SetLineParameters(Double_t psi,Double_t D,Int_t weight,Int_t *rowrange,Int_t ref_row); | |
34 | Int_t GetWeight() const {return fWeight;} | |
35 | Double_t GetPsiLine() const {return fPsiLine;} | |
36 | Double_t GetDLine() const {return fDLine;} | |
37 | ||
38 | Int_t GetEtaIndex() const {return fEtaIndex;} | |
39 | Double_t GetEta() const {return fEta;} | |
40 | void GetLineCrossingPoint(Int_t padrow,Double_t *xy); | |
41 | ||
42 | void SetEta(Double_t f); | |
43 | void SetWeight(Int_t i,Bool_t update=kFALSE) {if(update) fWeight+= i; else fWeight = i;} | |
44 | void SetEtaIndex(Int_t f) {fEtaIndex = f;} | |
45 | void SetBestMCid(Int_t f,Double_t min_dist); | |
46 | void SetDLine(Double_t f) {fDLine=f;} | |
47 | void SetPsiLine(Double_t f) {fPsiLine=f;} | |
48 | ||
49 | ClassDef(AliL3HoughTrack,1) | |
50 | ||
51 | }; | |
52 | ||
53 | #endif |