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