]> git.uio.no Git - u/mrichter/AliRoot.git/blame - HLT/hough/AliL3HoughTransformer.h
Worked over Makefiles for standalone HLT version, no changes when you compile with...
[u/mrichter/AliRoot.git] / HLT / hough / AliL3HoughTransformer.h
CommitLineData
3e87ef69 1// @(#) $Id$
2
917e711b 3#ifndef ALIL3HOUGHTRANSFORMER_H
4#define ALIL3HOUGHTRANSFORMER_H
4de874d1 5
6#include "AliL3RootTypes.h"
c52cf5d8 7#include "AliL3HoughBaseTransformer.h"
4de874d1 8
99e7186b 9class AliL3Histogram;
4de874d1 10
c52cf5d8 11class AliL3HoughTransformer : public AliL3HoughBaseTransformer {
4de874d1 12
13 public:
14 AliL3HoughTransformer();
917e711b 15 AliL3HoughTransformer(Int_t slice,Int_t patch,Int_t netasegments,Bool_t DoEtaOverlap=kFALSE,Bool_t DoMC=kFALSE);
4de874d1 16 virtual ~AliL3HoughTransformer();
99e7186b 17
b2a02bce 18 void CreateHistograms(Float_t ptmin,Float_t ptmax,Float_t ptres,Int_t nybin,Float_t psi);
19 void CreateHistograms(Int_t nxbin,Float_t ptmin,Int_t nybin,Float_t phimin,Float_t phimax);
20 void CreateHistograms(Int_t nxbin,Float_t xmin,Float_t xmax,
21 Int_t nybin,Float_t ymin,Float_t ymax);
e26acabd 22 void Reset();
4fc9a6a4 23 void TransformCircle();
917e711b 24 void TransformCircleC(Int_t *rowrange,Int_t every=1);
3e87ef69 25 void TransformLine(Int_t *rowrange=0,Float_t *phirange=0);
26 void TransformLineC(Int_t *rowrange,Float_t *phirange);
4fc9a6a4 27
bd2f8772 28 Int_t GetEtaIndex(Double_t eta) const;
29 void GetEtaIndexes(Double_t eta,Int_t *indexes) const;
917e711b 30 AliL3Histogram *GetHistogram(Int_t etaindex);
974fb714 31 Double_t GetEta(Int_t etaindex,Int_t slice) const;
8a9c0ba2 32 Int_t GetTrackID(Int_t etaindex,Double_t kappa,Double_t psi) const;
1eef4efc 33
917e711b 34 private:
35
36 AliL3Histogram **fParamSpace; //!
37#ifdef do_mc
c62b480b 38 AliL3TrackIndex **fTrackID; //!
917e711b 39#endif
40 Bool_t fDoMC; // Calculate mc labels or not
41 Bool_t fEtaOverlap; // Allow overlapping of eta slice or not
42
43 void DeleteHistograms();
44
237d3f5c 45 ClassDef(AliL3HoughTransformer,1) //Normal Hough transformation class
4de874d1 46
47};
48
49#endif
7646f3c3 50
51
52
53