Moved from AliTransbit to AliL3Transbit.
[u/mrichter/AliRoot.git] / HLT / misc / AliL3TransBit.h
similarity index 60%
rename from HLT/misc/AliTransBit.h
rename to HLT/misc/AliL3TransBit.h
index 6e9c40e4d0e6cfee225d44e9fdea702ac5b9eda2..16f60f9c789d99ed8a11fef1feee5f3961ec76e5 100644 (file)
@@ -1,12 +1,12 @@
-#ifndef ALITRANSBIT_H
-#define ALITRANSBIT_H
+#ifndef ALIL3TRANSBIT_H
+#define ALIL3TRANSBIT_H
 
 #include "AliL3RootTypes.h"
 
-class AliTransBit {
-public:
-  AliTransBit();
-  virtual ~AliTransBit();
+class AliL3TransBit {
+ public:
+  AliL3TransBit();
+  virtual ~AliL3TransBit();
   inline Int_t Get0to1(Int_t val0);
   inline Int_t Get1to0(Int_t val1);
   Int_t GetBit0() {return fBit0;}
@@ -16,45 +16,45 @@ public:
   void SetX0(Double_t x0) {fX0=x0;}
   virtual void Update()=0;
   virtual Double_t FindOptimumX0()=0;
-protected:
+ protected:
   Int_t  * fTable0; //! table
   Int_t  * fTable1; //! table
   Int_t fBit0;
   Int_t fBit1;
   Double_t fX0;
-  ClassDef(AliTransBit,1)  // Tclusters
-};
 
+  ClassDef(AliL3TransBit,1)
+};
 
-class AliTransBit_v1 : public AliTransBit {
-public:
+class AliL3TransBit_v1 : public AliL3TransBit {
+ public:
   virtual void Update();
   virtual Double_t FindOptimumX0();
-protected:
-  ClassDef(AliTransBit_v1,1)  // Tclusters
+ protected:
+  
+  ClassDef(AliL3TransBit_v1,1)
 };
 
-class AliTransBit_v2 : public AliTransBit {
-public:
+class AliL3TransBit_v2 : public AliL3TransBit {
+ public:
   virtual void Update();
   virtual Double_t FindOptimumX0();
-protected:
-  ClassDef(AliTransBit_v2,1)  // Tclusters
-};
+ protected:
 
+  ClassDef(AliL3TransBit_v2,1)
+};
 
-Int_t AliTransBit::Get0to1(Int_t val0)
+Int_t AliL3TransBit::Get0to1(Int_t val0)
 {
-  //
   //return compressed bit values
   return fTable0[val0];
 }
  
-Int_t AliTransBit::Get1to0(Int_t val1)
+Int_t AliL3TransBit::Get1to0(Int_t val1)
 {
   //return uncompressed bit value
   return fTable1[val1];
 }
 
+#endif 
 
-#endif //ALITRANSBIT_H