]> git.uio.no Git - u/mrichter/AliRoot.git/blob - HLT/TPCLib/AliHLTTPCFitter.h
correcting the drift time transformation; optional output of cluster id array in...
[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 //* This file is property of and copyright by the ALICE HLT Project        * 
7 //* ALICE Experiment at CERN, All rights reserved.                         *
8 //* See cxx source for full Copyright notice                               *
9
10 /** @file   AliHLTTPCFitter.h
11     @author Anders Vestbo, maintained by Matthias Richter
12     @date   
13     @brief  Fit class HLT for helix
14 */
15
16 class AliHLTTPCTrack;
17 class AliHLTTPCVertex;
18 class AliHLTTPCSpacePointData;
19
20 /** 
21  * @class AliHLTTPCFitter
22  * Fit class HLT for helix
23  *
24  * @ingroup alihlt_tpc
25  */
26 class AliHLTTPCFitter {
27
28   public:
29   AliHLTTPCFitter();
30   AliHLTTPCFitter(AliHLTTPCVertex *vertex,Bool_t vertexconstraint=kTRUE);
31   virtual ~AliHLTTPCFitter();
32   
33   void SortTrackClusters(AliHLTTPCTrack *track) const;
34   Int_t FitHelix(AliHLTTPCTrack *track);
35   Int_t FitCircle();
36   Int_t FitLine();
37   void NoVertex() {fVertexConstraint=kFALSE;}
38  
39  private:
40   /** copy constructor prohibited */
41   AliHLTTPCFitter(const AliHLTTPCFitter& src);
42   /** assignment operator prohibited */
43   AliHLTTPCFitter& operator=(const AliHLTTPCFitter& src);
44
45   AliHLTTPCTrack *fTrack; //!                    actual track
46   AliHLTTPCVertex *fVertex; //!                  vertex info
47   Bool_t fVertexConstraint; //               include vertex constraint
48   AliHLTTPCSpacePointData *fClusters[36][6]; //! clusters
49   UInt_t fNcl[36][6]; //                     cluster numbers
50  
51   ClassDef(AliHLTTPCFitter,0) //HLT fit class
52 };
53
54 #endif