]>
Commit | Line | Data |
---|---|---|
3e87ef69 | 1 | // @(#) $Id$ |
2 | ||
159a9e4e | 3 | #ifndef ALIL3FitterH |
4 | #define ALIL3FitterH | |
1934a2f8 | 5 | |
159a9e4e | 6 | //_____________________________________________________________ |
7 | // AliL3Fitter | |
8 | // | |
9 | // Fit class HLT | |
10 | // | |
11 | // Author: Anders Vestbo <mailto:vestbo@fi.uib.no> | |
1934a2f8 | 12 | |
13 | class AliL3Track; | |
14 | class AliL3Vertex; | |
15 | class AliL3SpacePointData; | |
16 | ||
17 | class AliL3Fitter { | |
18 | ||
159a9e4e | 19 | public: |
0a86fbb7 | 20 | AliL3Fitter(); |
21 | AliL3Fitter(AliL3Vertex *vertex,Bool_t vertexconstraint=kTRUE); | |
3e87ef69 | 22 | virtual ~AliL3Fitter(); |
1934a2f8 | 23 | |
3e87ef69 | 24 | void LoadClusters(Char_t *path,Int_t event=0,Bool_t sp=kFALSE); |
159a9e4e | 25 | void SortTrackClusters(AliL3Track *track) const; |
1934a2f8 | 26 | Int_t FitHelix(AliL3Track *track); |
27 | Int_t FitCircle(); | |
28 | Int_t FitLine(); | |
29 | void NoVertex() {fVertexConstraint=kFALSE;} | |
159a9e4e | 30 | |
31 | private: | |
32 | AliL3Track *fTrack; //! actual track | |
33 | AliL3Vertex *fVertex; //! vertex info | |
34 | Bool_t fVertexConstraint; // include vertex constraint | |
35 | AliL3SpacePointData *fClusters[36][6]; //! clusters | |
36 | UInt_t fNcl[36][6]; // cluster numbers | |
37 | ||
1934a2f8 | 38 | ClassDef(AliL3Fitter,1) //HLT fit class |
39 | }; | |
40 | ||
41 | #endif |