]> git.uio.no Git - u/mrichter/AliRoot.git/blob - HLT/TPCLib/AliHLTTPCFitter.h
Record changes.
[u/mrichter/AliRoot.git] / HLT / TPCLib / AliHLTTPCFitter.h
1 // @(#) $Id$
2 // Original: AliHLTFitter.h,v 1.7 2004/07/05 09:02:18 loizides 
3
4 #ifndef ALIHLTTPCFITTER_H
5 #define ALIHLTTPCFITTER_H
6 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
7  * See cxx source for full Copyright notice                               */
8
9 /** @file   AliHLTTPCFitter.h
10     @author Anders Vestbo, maintained by Matthias Richter
11     @date   
12     @brief  Fit class HLT for helix
13 */
14
15 class AliHLTTPCTrack;
16 class AliHLTTPCVertex;
17 class AliHLTTPCSpacePointData;
18
19 /** 
20  * @class AliHLTTPCFitter
21  * Fit class HLT for helix
22  */
23 class AliHLTTPCFitter {
24
25   public:
26   AliHLTTPCFitter();
27   AliHLTTPCFitter(AliHLTTPCVertex *vertex,Bool_t vertexconstraint=kTRUE);
28   virtual ~AliHLTTPCFitter();
29   
30   void LoadClusters(Char_t *path,Int_t event=0,Bool_t sp=kFALSE);
31   void SortTrackClusters(AliHLTTPCTrack *track) const;
32   Int_t FitHelix(AliHLTTPCTrack *track);
33   Int_t FitCircle();
34   Int_t FitLine();
35   void NoVertex() {fVertexConstraint=kFALSE;}
36  
37  private:
38   /** copy constructor prohibited */
39   AliHLTTPCFitter(const AliHLTTPCFitter& src);
40   /** assignment operator prohibited */
41   AliHLTTPCFitter& operator=(const AliHLTTPCFitter& src);
42
43   AliHLTTPCTrack *fTrack; //!                    actual track
44   AliHLTTPCVertex *fVertex; //!                  vertex info
45   Bool_t fVertexConstraint; //               include vertex constraint
46   AliHLTTPCSpacePointData *fClusters[36][6]; //! clusters
47   UInt_t fNcl[36][6]; //                     cluster numbers
48  
49   ClassDef(AliHLTTPCFitter,1) //HLT fit class
50 };
51
52 #endif