]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/AliMUONPreClusterFinderV3.h
Changed interface to allow combined tracking (Laurent)
[u/mrichter/AliRoot.git] / MUON / AliMUONPreClusterFinderV3.h
index 7940ba098a28673b6a4ddada0116c080560b1f3d..9ca25f69f01bbc00dd1ee2a9e3dc0ced00d3d04c 100644 (file)
@@ -25,8 +25,14 @@ public:
   AliMUONPreClusterFinderV3();
   virtual ~AliMUONPreClusterFinderV3();
   
-  virtual Bool_t Prepare(const AliMpVSegmentation* segmentations[2],
-                         const AliMUONVDigitStore& digitStore);
+  virtual Bool_t NeedSegmentation() const { return kTRUE; }
+  
+  using AliMUONVClusterFinder::Prepare;
+
+  virtual Bool_t Prepare(Int_t detElemId,                         
+                         TClonesArray* pads[2],
+                         const AliMpArea& area,
+                         const AliMpVSegmentation* seg[2]);
   
   virtual AliMUONCluster* NextCluster();
 
@@ -48,12 +54,12 @@ private:
 private:
   TClonesArray* fClusters; //!< the clusters we've found (owner)
   const AliMpVSegmentation** fSegmentations; //!< segmentations (not owner)
-  TClonesArray* fPads[2]; //!< the pads corresponding to the digits (owner)
+  TClonesArray** fPads; //!< the pads corresponding to the digits (not owner)
   TClonesArray* fPreClusters[2]; //!< the preclusters per cathode (owner)
   Int_t fDetElemId; //!< which DE we're considering
   TIterator* fIterator; //!< iterator on fClusters
   
-  ClassDef(AliMUONPreClusterFinderV3,1) // A basic pre-cluster finder
+  ClassDef(AliMUONPreClusterFinderV3,2) // A basic pre-cluster finder
 };
 
 #endif