]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - HLT/TPCLib/tracking-ca/AliTPCtrackerCA.h
Merge branch 'master' of https://git.cern.ch/reps/AliRoot
[u/mrichter/AliRoot.git] / HLT / TPCLib / tracking-ca / AliTPCtrackerCA.h
index 85b6aefb5de7be558b4302bbeae0062f08e47103..242d9663848bbcfc22d0ef469c69c774f397b2ce 100644 (file)
@@ -1,7 +1,7 @@
 //-*- Mode: C++ -*-
 // $Id$
 // ************************************************************************
-// This file is property of and copyright by the ALICE HLT Project        * 
+// This file is property of and copyright by the ALICE HLT Project        *
 // ALICE Experiment at CERN, All rights reserved.                         *
 // See cxx source for full Copyright notice                               *
 //                                                                        *
 #include "AliTracker.h"
 
 class AliTPCParam;
-class AliESD;   
+class AliESD;
 class TTree;
-class AliHLTTPCCAGBTracker;
 class AliTPCclusterMI;
 class AliTPCtrack;
 
 /**
  * @class AliTPCtrackerCA
- * 
+ *
  * Interface from HLT TPC tracker AliHLTTPCCAGBTracker to off-line
  * The reconstruction algorithm is based on the Cellular Automaton method
  *
  */
-class AliTPCtrackerCA : public AliTracker 
+class AliTPCtrackerCA : public AliTracker
 {
-public:
-  AliTPCtrackerCA();
-  AliTPCtrackerCA(const AliTPCParam *par); 
-  AliTPCtrackerCA(const AliTPCtrackerCA &);
-  const AliTPCtrackerCA & operator=(const AliTPCtrackerCA& ) const;
-  virtual ~AliTPCtrackerCA();
-  //
-  Int_t RefitInward (AliESDEvent *event);
-  Int_t PropagateBack(AliESDEvent *event);
-  //
-  Int_t Clusters2Tracks (AliESDEvent *esd);
+  public:
+    AliTPCtrackerCA();
+    AliTPCtrackerCA( const AliTPCParam *par );
+    virtual ~AliTPCtrackerCA();
+    //
+    int RefitInward ( AliESDEvent *event );
+    int PropagateBack( AliESDEvent *event );
+    //
+    int Clusters2Tracks ( AliESDEvent *esd );
+
+    int LoadClusters ( TTree * tree );
+    void   UnloadClusters() { return ; }
+    AliCluster * GetCluster( int index ) const;
+    bool DoHLTPerformance() const { return fDoHLTPerformance; }
+    bool DoHLTPerformanceClusters() const { return fDoHLTPerformanceClusters; }
+    //
+  protected:
+
+    const AliTPCParam *fkParam;  //* TPC parameters
+    AliTPCclusterMI *fClusters; //* array of clusters
+    unsigned int *fClusterSliceRow;  //* slice and row number for clusters
+    int fNClusters;           //* N clusters
 
-  Int_t LoadClusters (TTree * tree);
-  void   UnloadClusters(){ return ; }
-  AliCluster * GetCluster(Int_t index) const;
-  Bool_t DoHLTPerformance() const { return fDoHLTPerformance; }
-  Bool_t DoHLTPerformanceClusters() const { return fDoHLTPerformanceClusters; }
-  //
- protected:
+    bool fDoHLTPerformance; //* flag for call AliHLTTPCCAPerformance
+    bool fDoHLTPerformanceClusters; //* flag for call AliHLTTPCCAPerformance with cluster pulls (takes some time to load TPC MC points)
+    double fStatCPUTime; //* Total reconstruction time
+    double fStatRealTime; //* Total reconstruction time
+    int fStatNEvents; //* N of reconstructed events
 
-  const AliTPCParam *fkParam;  //* TPC parameters
-  AliTPCclusterMI *fClusters; //* array of clusters
-  Int_t fNClusters;           //* N clusters
-  AliHLTTPCCAGBTracker *fHLTTracker; //* pointer to the HLT tracker
-  Bool_t fDoHLTPerformance; //* flag for call AliHLTTPCCAPerformance
-  Bool_t fDoHLTPerformanceClusters; //* flag for call AliHLTTPCCAPerformance with cluster pulls (takes some time to load TPC MC points)
-  Int_t fStatNEvents; //* N of reconstructed events
+private:
+  /// copy constructor prohibited
+  AliTPCtrackerCA( const AliTPCtrackerCA & );
+  /// assignment operator prohibited
+  AliTPCtrackerCA & operator=( const AliTPCtrackerCA& );
 
-  ClassDef(AliTPCtrackerCA,1) 
+    ClassDef( AliTPCtrackerCA, 1 )
 };
 
 
-#endif
+#endif //ALITPCTRACKERCA_H