]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - HLT/TPCLib/tracking-ca/AliTPCtrackerCA.h
When Pt is bad defined (ex. no field), the multiple scattering effect is calculated...
[u/mrichter/AliRoot.git] / HLT / TPCLib / tracking-ca / AliTPCtrackerCA.h
index 79886cb40797a64395f9d0c19cee0f203385ab4b..d9d447279e6bd47e8ccd5d27266811ee960fabb0 100644 (file)
@@ -1,9 +1,11 @@
 //-*- Mode: C++ -*-
 // $Id$
-
-//* 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                               *
+// ************************************************************************
+// 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                               *
+//                                                                        *
+//*************************************************************************
 
 #ifndef ALITPCTRACKERCA_H
 #define ALITPCTRACKERCA_H
 #include "AliTracker.h"
 
 class AliTPCParam;
-class AliESD;   
+class AliESD;
 class TTree;
-class AliHLTTPCCAGBTracker;
-class AliHLTTPCCAPerformance;
 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 &);
-  AliTPCtrackerCA & operator=(const AliTPCtrackerCA& );
-  virtual ~AliTPCtrackerCA();
-  //
-  Int_t RefitInward (AliESDEvent *);
-  Int_t PropagateBack(AliESDEvent *);
-  //
-  Int_t Clusters2Tracks (AliESDEvent *esd);
+  public:
+    AliTPCtrackerCA();
+    AliTPCtrackerCA( const AliTPCParam *par );
+    AliTPCtrackerCA( const AliTPCtrackerCA & );
+    const AliTPCtrackerCA & operator=( const AliTPCtrackerCA& ) const;
+    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:
 
-  Int_t LoadClusters (TTree * tree);
-  void   UnloadClusters(){ return ; }
-  AliCluster * GetCluster(Int_t index) const;
-  Bool_t &DoHLTPerformance(){ return fDoHLTPerformance; }
-  Bool_t &DoHLTPerformanceClusters(){ 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
 
-  const AliTPCParam *fParam;  //* TPC parameters
-  AliTPCclusterMI *fClusters; //* array of clusters
-  Int_t fNClusters;           //* N clusters
-  AliHLTTPCCAGBTracker *fHLTTracker; //* pointer to the HLT tracker
-  AliHLTTPCCAPerformance *fHLTPerformance; //* performance calculations
-  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
+    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
 
-  ClassDef(AliTPCtrackerCA,1) 
+    ClassDef( AliTPCtrackerCA, 1 )
 };