]> git.uio.no Git - u/mrichter/AliRoot.git/blame - HLT/TPCLib/AliHLTTPCFitter.h
correcting memory leaks on error conditions
[u/mrichter/AliRoot.git] / HLT / TPCLib / AliHLTTPCFitter.h
CommitLineData
a6c02c85 1// @(#) $Id$
4aa41877 2// Original: AliHLTFitter.h,v 1.7 2004/07/05 09:02:18 loizides
a6c02c85 3
4#ifndef ALIHLTTPCFITTER_H
5#define ALIHLTTPCFITTER_H
297174de 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 *
a6c02c85 9
6235cd38 10/** @file AliHLTTPCFitter.h
11 @author Anders Vestbo, maintained by Matthias Richter
12 @date
13 @brief Fit class HLT for helix
14*/
a6c02c85 15
16class AliHLTTPCTrack;
17class AliHLTTPCVertex;
18class AliHLTTPCSpacePointData;
19
6235cd38 20/**
21 * @class AliHLTTPCFitter
22 * Fit class HLT for helix
297174de 23 *
24 * @ingroup alihlt_tpc
6235cd38 25 */
a6c02c85 26class AliHLTTPCFitter {
27
28 public:
29 AliHLTTPCFitter();
30 AliHLTTPCFitter(AliHLTTPCVertex *vertex,Bool_t vertexconstraint=kTRUE);
31 virtual ~AliHLTTPCFitter();
32
33 void LoadClusters(Char_t *path,Int_t event=0,Bool_t sp=kFALSE);
34 void SortTrackClusters(AliHLTTPCTrack *track) const;
35 Int_t FitHelix(AliHLTTPCTrack *track);
36 Int_t FitCircle();
37 Int_t FitLine();
38 void NoVertex() {fVertexConstraint=kFALSE;}
39
40 private:
298ef463 41 /** copy constructor prohibited */
42 AliHLTTPCFitter(const AliHLTTPCFitter& src);
43 /** assignment operator prohibited */
44 AliHLTTPCFitter& operator=(const AliHLTTPCFitter& src);
45
a6c02c85 46 AliHLTTPCTrack *fTrack; //! actual track
47 AliHLTTPCVertex *fVertex; //! vertex info
48 Bool_t fVertexConstraint; // include vertex constraint
49 AliHLTTPCSpacePointData *fClusters[36][6]; //! clusters
50 UInt_t fNcl[36][6]; // cluster numbers
51
22240104 52 ClassDef(AliHLTTPCFitter,0) //HLT fit class
a6c02c85 53};
54
55#endif