]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - HLT/comp/AliHLTModeller.h
L3 becomes HLT
[u/mrichter/AliRoot.git] / HLT / comp / AliHLTModeller.h
similarity index 70%
rename from HLT/comp/AliL3Modeller.h
rename to HLT/comp/AliHLTModeller.h
index eceb291d39069664e88d3a86db5d514ed77a4e0a..02d4857a07d032bb9b582976c5281cf187fc794f 100644 (file)
@@ -1,15 +1,15 @@
 // @(#) $Id$
 
-#ifndef AliL3_Modeller
-#define AliL3_Modeller
+#ifndef AliHLT_Modeller
+#define AliHLT_Modeller
 
 
-#include "AliL3RootTypes.h"
+#include "AliHLTRootTypes.h"
 
-class AliL3TrackArray;
-class AliL3MemHandler;
-class AliL3DigitRowData;
-class AliL3ModelTrack;
+class AliHLTTrackArray;
+class AliHLTMemHandler;
+class AliHLTDigitRowData;
+class AliHLTModelTrack;
 
 struct Cluster {
   UInt_t fCharge; // Charge
@@ -29,12 +29,12 @@ struct ClusterRegion {
   Int_t fMaxtime; // Max time
 };
 
-class AliL3Modeller {
+class AliHLTModeller {
   
  public:
   
-  AliL3Modeller();
-  virtual ~AliL3Modeller();
+  AliHLTModeller();
+  virtual ~AliHLTModeller();
   
   virtual void FindClusters();
   void Init(Int_t slice,Int_t patch,Char_t *trackdata,Char_t *path,Bool_t houghtracks,Bool_t binary=kTRUE);
@@ -43,7 +43,7 @@ class AliL3Modeller {
   void RemoveBadTracks();
   void WriteRemaining();
   
-  void SetInputData(AliL3DigitRowData *digits) {fRowData = digits;}
+  void SetInputData(AliHLTDigitRowData *digits) {fRowData = digits;}
   void SetTrackThreshold(Int_t i=0) {fTrackThreshold=i;}
   void SetOverlap(Int_t p=6,Int_t t=8) {fPadOverlap=p;fTimeOverlap=t;}
   void SetSearchRange(Int_t p=1,Int_t t=2) {fPadSearch=p;fTimeSearch=t;}
@@ -51,16 +51,16 @@ class AliL3Modeller {
   void SetOuterSearchRange(Int_t p,Int_t t) {fOuterPadSearch=p; fOuterTimeSearch=t;}
   void SetMaxClusterRange(Int_t p,Int_t t) {fMaxPads=p; fMaxTimebins=t;}
   void Debug() {fDebug=kTRUE;}
-  virtual Bool_t SetFitRange(AliL3ModelTrack */*track*/,Int_t */*p*/,Int_t */*t*/) {return kFALSE;}
+  virtual Bool_t SetFitRange(AliHLTModelTrack */*track*/,Int_t */*p*/,Int_t */*t*/) {return kFALSE;}
   virtual void SetNmaxOverlaps(Int_t /*i*/) {return;}
   virtual void SetChiSqMax(Float_t /*f*/,Int_t /*p*/) {return;}
   
-  AliL3TrackArray *GetTracks() {return fTracks;}
+  AliHLTTrackArray *GetTracks() {return fTracks;}
     
  protected:
   
-  AliL3TrackArray *fTracks; //! Array of tracks
-  AliL3DigitRowData *fRowData;//! Row data
+  AliHLTTrackArray *fTracks; //! Array of tracks
+  AliHLTDigitRowData *fRowData;//! Row data
   Digit *fRow; //! Current row
   Char_t fPath[1024]; // Path to the files
 
@@ -80,9 +80,9 @@ class AliL3Modeller {
   Int_t fSlice; // Slice
   Int_t fPatch; // Patch
   
-  void FillCluster(AliL3ModelTrack *track,Cluster *cluster,Int_t row,Int_t npads);
-  void FillZeros(AliL3DigitRowData *digPt,Bool_t reversesign=kFALSE);
-  void LocateCluster(AliL3ModelTrack *track,ClusterRegion *region,Int_t &padmin,Int_t &padmax);
+  void FillCluster(AliHLTModelTrack *track,Cluster *cluster,Int_t row,Int_t npads);
+  void FillZeros(AliHLTDigitRowData *digPt,Bool_t reversesign=kFALSE);
+  void LocateCluster(AliHLTModelTrack *track,ClusterRegion *region,Int_t &padmin,Int_t &padmax);
   void GetTrackID(Int_t pad,Int_t time,Int_t *trackID);
   
  private:
@@ -91,12 +91,14 @@ class AliL3Modeller {
   Float_t fPadOverlap; // Pad overlap (?)
   Float_t fTimeOverlap; // Time overlap (?)
   Int_t fTrackThreshold; //minimum weigth track need in order to be included.(=Nhits/weight)
-  AliL3MemHandler *fMemHandler; //! Pointer to the memory handler
+  AliHLTMemHandler *fMemHandler; //! Pointer to the memory handler
 
   void CalcClusterWidth(Cluster *cl,Float_t &sigmaY2,Float_t &sigmaZ2);
   
-  ClassDef(AliL3Modeller,1) //Modeller class
+  ClassDef(AliHLTModeller,1) //Modeller class
     
 };
 
+typedef AliHLTModeller AliL3Modeller; // for backward compatibility
+
 #endif