]> git.uio.no Git - u/mrichter/AliRoot.git/blob - HLT/TPCLib/tracking-ca/AliTPCtrackerCA.h
Completely reworked version of TPC CA tracker (Sergey)
[u/mrichter/AliRoot.git] / HLT / TPCLib / tracking-ca / AliTPCtrackerCA.h
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 #ifndef ALITPCTRACKERCA_H
9 #define ALITPCTRACKERCA_H
10
11 #include "AliTracker.h"
12
13 class AliTPCParam;
14 class AliESD;   
15 class TTree;
16 class AliHLTTPCCAGBTracker;
17 class AliHLTTPCCAPerformance;
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   AliTPCtrackerCA(const AliTPCtrackerCA &);
34   AliTPCtrackerCA & operator=(const AliTPCtrackerCA& );
35   virtual ~AliTPCtrackerCA();
36   //
37   Int_t RefitInward (AliESDEvent *event);
38   Int_t PropagateBack(AliESDEvent *event);
39   //
40   Int_t Clusters2Tracks (AliESDEvent *esd);
41
42   Int_t LoadClusters (TTree * tree);
43   void   UnloadClusters(){ return ; }
44   AliCluster * GetCluster(Int_t index) const;
45   Bool_t &DoHLTPerformance(){ return fDoHLTPerformance; }
46   Bool_t &DoHLTPerformanceClusters(){ return fDoHLTPerformanceClusters; }
47   //
48  protected:
49
50   const AliTPCParam *fParam;  //* TPC parameters
51   AliTPCclusterMI *fClusters; //* array of clusters
52   Int_t fNClusters;           //* N clusters
53   AliHLTTPCCAGBTracker *fHLTTracker; //* pointer to the HLT tracker
54   AliHLTTPCCAPerformance *fHLTPerformance; //* performance calculations
55   Bool_t fDoHLTPerformance; //* flag for call AliHLTTPCCAPerformance
56   Bool_t fDoHLTPerformanceClusters; //* flag for call AliHLTTPCCAPerformance with cluster pulls (takes some time to load TPC MC points)
57   Int_t fStatNEvents; //* N of reconstructed events
58
59   ClassDef(AliTPCtrackerCA,1) 
60 };
61
62
63 #endif
64
65