]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/AliMUONVClusterFinder.h
Using AliPHOSLoader instead of AliPHOSGetter
[u/mrichter/AliRoot.git] / MUON / AliMUONVClusterFinder.h
index adae074d14375f9edbe361d48a565186935b769b..e08afad1326535c49a77b8c25068e680fbef83ef 100644 (file)
@@ -7,7 +7,7 @@
 // $Id$
 
 /// \ingroup rec
-/// \class AliMUONClusterFinder
+/// \class AliMUONVClusterFinder
 /// \brief Interface of a cluster finder.
 /// 
 //  Author Laurent Aphecetche
@@ -18,8 +18,8 @@
 
 class AliMUONCluster;
 class AliMpVSegmentation;
-class TClonesArray;
 class AliMUONPad;
+class AliMpArea;
 
 class AliMUONVClusterFinder : public TObject
 {
@@ -27,9 +27,20 @@ public:
   AliMUONVClusterFinder();
   virtual ~AliMUONVClusterFinder();
   
-  virtual Bool_t Prepare(const AliMpVSegmentation* segmentations[2],
-                         TClonesArray* digits[2]) = 0;
+  /// \todo add comment
+
+  virtual Bool_t NeedSegmentation() const { return kFALSE; }
+  
+  virtual Bool_t Prepare(Int_t detElemId,
+                         TClonesArray* pads[2],
+                         const AliMpArea& area);
+
+  virtual Bool_t Prepare(Int_t detElemId,
+                         TClonesArray* pads[2],
+                         const AliMpArea& area,
+                         const AliMpVSegmentation* segmentations[2]);  
   
+  /// \todo add comment
   virtual AliMUONCluster* NextCluster() = 0;
   
   /** Add a pad to the list of pads to be considered for clustering.