]>
Commit | Line | Data |
---|---|---|
3e87ef69 | 1 | // @(#) $Id$ |
2 | ||
bd2f8772 | 3 | #ifndef ALIL3HOUGHTRACK_H |
4 | #define ALIL3HOUGHTRACK_H | |
d712b5b8 | 5 | |
6 | #include "AliL3Track.h" | |
7 | ||
d712b5b8 | 8 | class AliL3HoughTrack : public AliL3Track { |
9 | ||
d712b5b8 | 10 | public: |
11 | AliL3HoughTrack(); | |
12 | virtual ~AliL3HoughTrack(); | |
13 | ||
14 | virtual void Set(AliL3Track *track); | |
15 | virtual Int_t Compare(const AliL3Track *track) const; | |
d712b5b8 | 16 | |
bd2f8772 | 17 | Bool_t IsHelix() const {return fIsHelix;} |
d712b5b8 | 18 | void UpdateToFirstRow(); |
b46b53c1 | 19 | void SetTrackParameters(Double_t kappa,Double_t eangle,Int_t weight); |
bd2f8772 | 20 | void SetLineParameters(Double_t psi,Double_t D,Int_t weight,Int_t *rowrange,Int_t refrow); |
b1886074 | 21 | |
d712b5b8 | 22 | Int_t GetWeight() const {return fWeight;} |
23 | Double_t GetPsiLine() const {return fPsiLine;} | |
24 | Double_t GetDLine() const {return fDLine;} | |
25 | ||
26 | Int_t GetEtaIndex() const {return fEtaIndex;} | |
27 | Double_t GetEta() const {return fEta;} | |
b1886074 | 28 | Int_t GetSlice() const {return fSlice;} |
3e87ef69 | 29 | void GetLineCrossingPoint(Int_t padrow,Float_t *xy); |
de3c3890 | 30 | |
31 | Float_t GetBinX() const {return fBinX;} | |
32 | Float_t GetBinY() const {return fBinY;} | |
33 | Float_t GetSizeX() const {return fSizeX;} | |
34 | Float_t GetSizeY() const {return fSizeY;} | |
3e87ef69 | 35 | |
36 | void SetHelixTrue() {fIsHelix=kTRUE;} | |
b1886074 | 37 | void SetSlice(Int_t slice) {fSlice=slice;} |
d712b5b8 | 38 | void SetEta(Double_t f); |
39 | void SetWeight(Int_t i,Bool_t update=kFALSE) {if(update) fWeight+= i; else fWeight = i;} | |
40 | void SetEtaIndex(Int_t f) {fEtaIndex = f;} | |
bd2f8772 | 41 | void SetBestMCid(Int_t f,Double_t mindist); |
d712b5b8 | 42 | void SetDLine(Double_t f) {fDLine=f;} |
43 | void SetPsiLine(Double_t f) {fPsiLine=f;} | |
44 | ||
de3c3890 | 45 | void SetBinXY(Float_t binx,Float_t biny,Float_t sizex,Float_t sizey) {fBinX = binx; fBinY = biny; fSizeX = sizex; fSizeY = sizey;} |
46 | ||
bd2f8772 | 47 | private: |
48 | ||
49 | Double_t fMinDist;//Minimum distance to a generated track while associating mc label | |
50 | Int_t fWeight;//Track weight | |
51 | Int_t fEtaIndex;//Eta slice index | |
52 | Double_t fEta;//Track Eta | |
53 | Int_t fSlice; //The slice where this track was found | |
54 | ||
55 | Double_t fDLine;//?? | |
56 | Double_t fPsiLine;//?? | |
57 | ||
58 | Bool_t fIsHelix;//Is the track helix or not? | |
59 | ||
60 | Float_t fBinX,fBinY,fSizeX,fSizeY;//Size and position of the hough space peak | |
61 | ||
b1886074 | 62 | ClassDef(AliL3HoughTrack,1) //Track class for Hough tracklets |
d712b5b8 | 63 | |
64 | }; | |
65 | ||
66 | #endif |