]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/AliMUONClusterFinderSimpleFit.h
ALIROOT-5420 Changes for CDH v3
[u/mrichter/AliRoot.git] / MUON / AliMUONClusterFinderSimpleFit.h
index 96017aea7418448a00284cea419fab2f2544c1d3..ac90dc24da27d89375d772ebf22de0fd5b79a181 100644 (file)
@@ -21,14 +21,21 @@ class AliMUONMathieson;
 class AliMUONClusterFinderSimpleFit : public AliMUONVClusterFinder
 {
 public:
-  AliMUONClusterFinderSimpleFit();
+  AliMUONClusterFinderSimpleFit(AliMUONVClusterFinder* clusterFinder);
   virtual ~AliMUONClusterFinderSimpleFit();
   
-  virtual Bool_t Prepare(const AliMpVSegmentation* segmentations[2],
-                         const AliMUONVDigitStore& digitStore);
+  using AliMUONVClusterFinder::Prepare;
+
+  virtual Bool_t Prepare(Int_t detElemId,
+                         TObjArray* pads[2],
+                         const AliMpArea& area);
   
   virtual AliMUONCluster* NextCluster();
   
+  virtual void SetChargeHints(Double_t /*lowestPadCharge*/, Double_t lowestClusterCharge) { 
+    fLowestClusterCharge=lowestClusterCharge; 
+  }
+  
 private:
   /// Not implemented
   AliMUONClusterFinderSimpleFit(const AliMUONClusterFinderSimpleFit& rhs);
@@ -40,8 +47,9 @@ private:
 private:
     AliMUONVClusterFinder* fClusterFinder; //!< the preclustering we use
   AliMUONMathieson* fMathieson; //!< Mathieson to compute the charge repartition
+  Double_t fLowestClusterCharge; //!< minimum cluster charge we allow
   
-  ClassDef(AliMUONClusterFinderSimpleFit,1) // 
+  ClassDef(AliMUONClusterFinderSimpleFit,2) // Basic cluster finder
 };
 
 #endif