]> git.uio.no Git - u/mrichter/AliRoot.git/blob - HLT/TPCLib/AliHLTTPCFitter.h
Bogdan: new version of MUON visualization.
[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   /** not a valid copy constructor, defined according to effective C++ style */
28   AliHLTTPCFitter(const AliHLTTPCFitter& src);
29   /** not a valid assignment op, but defined according to effective C++ style */
30   AliHLTTPCFitter& operator=(const AliHLTTPCFitter& src);
31   AliHLTTPCFitter(AliHLTTPCVertex *vertex,Bool_t vertexconstraint=kTRUE);
32   virtual ~AliHLTTPCFitter();
33   
34   void LoadClusters(Char_t *path,Int_t event=0,Bool_t sp=kFALSE);
35   void SortTrackClusters(AliHLTTPCTrack *track) const;
36   Int_t FitHelix(AliHLTTPCTrack *track);
37   Int_t FitCircle();
38   Int_t FitLine();
39   void NoVertex() {fVertexConstraint=kFALSE;}
40  
41  private:
42   AliHLTTPCTrack *fTrack; //!                    actual track
43   AliHLTTPCVertex *fVertex; //!                  vertex info
44   Bool_t fVertexConstraint; //               include vertex constraint
45   AliHLTTPCSpacePointData *fClusters[36][6]; //! clusters
46   UInt_t fNcl[36][6]; //                     cluster numbers
47  
48   ClassDef(AliHLTTPCFitter,1) //HLT fit class
49 };
50
51 #endif