]> git.uio.no Git - u/mrichter/AliRoot.git/blame - HLT/hough/AliL3HoughTrack.h
- check for AliRoot features/libs/files and corresponding conditional
[u/mrichter/AliRoot.git] / HLT / hough / AliL3HoughTrack.h
CommitLineData
3e87ef69 1// @(#) $Id$
2
bd2f8772 3#ifndef ALIL3HOUGHTRACK_H
4#define ALIL3HOUGHTRACK_H
d712b5b8 5
6#include "AliL3Track.h"
7
d712b5b8 8class 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);
f644512a 20 void SetTrackParametersRow(Double_t alpha1,Double_t alpha2,Double_t eta,Int_t weight);
bd2f8772 21 void SetLineParameters(Double_t psi,Double_t D,Int_t weight,Int_t *rowrange,Int_t refrow);
b1886074 22
d712b5b8 23 Int_t GetWeight() const {return fWeight;}
24 Double_t GetPsiLine() const {return fPsiLine;}
25 Double_t GetDLine() const {return fDLine;}
26
27 Int_t GetEtaIndex() const {return fEtaIndex;}
28 Double_t GetEta() const {return fEta;}
b1886074 29 Int_t GetSlice() const {return fSlice;}
3e87ef69 30 void GetLineCrossingPoint(Int_t padrow,Float_t *xy);
de3c3890 31
32 Float_t GetBinX() const {return fBinX;}
33 Float_t GetBinY() const {return fBinY;}
34 Float_t GetSizeX() const {return fSizeX;}
35 Float_t GetSizeY() const {return fSizeY;}
3e87ef69 36
37 void SetHelixTrue() {fIsHelix=kTRUE;}
b1886074 38 void SetSlice(Int_t slice) {fSlice=slice;}
d712b5b8 39 void SetEta(Double_t f);
40 void SetWeight(Int_t i,Bool_t update=kFALSE) {if(update) fWeight+= i; else fWeight = i;}
41 void SetEtaIndex(Int_t f) {fEtaIndex = f;}
bd2f8772 42 void SetBestMCid(Int_t f,Double_t mindist);
d712b5b8 43 void SetDLine(Double_t f) {fDLine=f;}
44 void SetPsiLine(Double_t f) {fPsiLine=f;}
45
de3c3890 46 void SetBinXY(Float_t binx,Float_t biny,Float_t sizex,Float_t sizey) {fBinX = binx; fBinY = biny; fSizeX = sizex; fSizeY = sizey;}
47
bd2f8772 48 private:
49
50 Double_t fMinDist;//Minimum distance to a generated track while associating mc label
51 Int_t fWeight;//Track weight
52 Int_t fEtaIndex;//Eta slice index
53 Double_t fEta;//Track Eta
54 Int_t fSlice; //The slice where this track was found
55
56 Double_t fDLine;//??
57 Double_t fPsiLine;//??
58
59 Bool_t fIsHelix;//Is the track helix or not?
60
61 Float_t fBinX,fBinY,fSizeX,fSizeY;//Size and position of the hough space peak
62
b1886074 63 ClassDef(AliL3HoughTrack,1) //Track class for Hough tracklets
d712b5b8 64
65};
66
67#endif