When Pt is bad defined (ex. no field), the multiple scattering effect is calculated...
[u/mrichter/AliRoot.git] / HLT / TPCLib / tracking-ca / AliTPCtrackerCA.h
CommitLineData
d54804bf 1//-*- Mode: C++ -*-
2// $Id$
ce565086 3// ************************************************************************
fbb9b71b 4// This file is property of and copyright by the ALICE HLT Project *
ce565086 5// ALICE Experiment at CERN, All rights reserved. *
6// See cxx source for full Copyright notice *
7// *
8//*************************************************************************
d54804bf 9
10#ifndef ALITPCTRACKERCA_H
11#define ALITPCTRACKERCA_H
12
13#include "AliTracker.h"
14
15class AliTPCParam;
fbb9b71b 16class AliESD;
d54804bf 17class TTree;
d54804bf 18class AliTPCclusterMI;
19class AliTPCtrack;
20
21/**
22 * @class AliTPCtrackerCA
fbb9b71b 23 *
d54804bf 24 * Interface from HLT TPC tracker AliHLTTPCCAGBTracker to off-line
25 * The reconstruction algorithm is based on the Cellular Automaton method
26 *
27 */
fbb9b71b 28class AliTPCtrackerCA : public AliTracker
d54804bf 29{
fbb9b71b 30 public:
31 AliTPCtrackerCA();
32 AliTPCtrackerCA( const AliTPCParam *par );
33 AliTPCtrackerCA( const AliTPCtrackerCA & );
34 const AliTPCtrackerCA & operator=( const AliTPCtrackerCA& ) const;
35 virtual ~AliTPCtrackerCA();
36 //
37 int RefitInward ( AliESDEvent *event );
38 int PropagateBack( AliESDEvent *event );
39 //
40 int Clusters2Tracks ( AliESDEvent *esd );
d54804bf 41
fbb9b71b 42 int LoadClusters ( TTree * tree );
43 void UnloadClusters() { return ; }
44 AliCluster * GetCluster( int index ) const;
45 bool DoHLTPerformance() const { return fDoHLTPerformance; }
46 bool DoHLTPerformanceClusters() const { return fDoHLTPerformanceClusters; }
47 //
48 protected:
d54804bf 49
fbb9b71b 50 const AliTPCParam *fkParam; //* TPC parameters
51 AliTPCclusterMI *fClusters; //* array of clusters
b8139972 52 unsigned int *fClusterSliceRow; //* slice and row number for clusters
53 int fNClusters; //* N clusters
54
fbb9b71b 55 bool fDoHLTPerformance; //* flag for call AliHLTTPCCAPerformance
56 bool fDoHLTPerformanceClusters; //* flag for call AliHLTTPCCAPerformance with cluster pulls (takes some time to load TPC MC points)
3dc0bb93 57 double fStatCPUTime; //* Total reconstruction time
58 double fStatRealTime; //* Total reconstruction time
fbb9b71b 59 int fStatNEvents; //* N of reconstructed events
d54804bf 60
fbb9b71b 61 ClassDef( AliTPCtrackerCA, 1 )
d54804bf 62};
63
64
65#endif
66
67