]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TRD/AliTRDclusterizerV1.h
Use of fGeom avoided; function GetGlobalPosition overwritten
[u/mrichter/AliRoot.git] / TRD / AliTRDclusterizerV1.h
index 4bc178734f8a0b6fc4b52282ab12752c507f086e..e58ece83a321a4b3460c0c662c49048e78be3364 100644 (file)
@@ -27,19 +27,27 @@ class AliTRDclusterizerV1 : public AliTRDclusterizer {
   virtual void    Init();
   virtual Bool_t  MakeClusters();
   virtual Bool_t  ReadDigits();
+          void    UseLUT()                                { fUseLUT        = kTRUE;  };
+          void    UseCOG()                                { fUseLUT        = kFALSE; };
 
-  virtual void    SetClusMaxThresh(Int_t thresh)          { fClusMaxThresh = thresh; };
-  virtual void    SetClusSigThresh(Int_t thresh)          { fClusSigThresh = thresh; };
+          void    SetClusMaxThresh(Int_t thresh)          { fClusMaxThresh = thresh; };
+          void    SetClusSigThresh(Int_t thresh)          { fClusSigThresh = thresh; };
 
-  virtual Int_t GetClusMaxThresh() const                  { return fClusMaxThresh; };
-  virtual Int_t GetClusSigThresh() const                  { return fClusSigThresh; };
+          Int_t   GetClusMaxThresh() const                { return fClusMaxThresh; };
+          Int_t   GetClusSigThresh() const                { return fClusSigThresh; };
 
  protected:
+  enum { 
+    kNlut = 128                        //  Dimension of the lookup table
+  };                    
 
   AliTRDdigitsManager *fDigitsManager; //! TRD digits manager
 
-  Int_t              fClusMaxThresh; // Threshold value for cluster maximum
-  Int_t              fClusSigThresh; // Threshold value for cluster signal
+  Int_t                fClusMaxThresh; //  Threshold value for cluster maximum
+  Int_t                fClusSigThresh; //  Threshold value for cluster signal
+  Bool_t               fUseLUT;        //  Switch for the lookup table method
+  Float_t              fLUT[kNlut];    //  The lookup table
 
  private: