]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/AliMUONPreClusterFinder.h
Reverting previous commit and going back to rev.64119Subversion Repositories:
[u/mrichter/AliRoot.git] / MUON / AliMUONPreClusterFinder.h
index 06823bc465dab76a766c7cc82a8a424d6d79d185..9983f95f0e3b032177209a7d1a8e823834fc0b66 100644 (file)
@@ -24,6 +24,7 @@
 
 class TStopwatch;
 class AliMUONPad;
+class TObjArray;
 
 class AliMUONPreClusterFinder : public AliMUONVClusterFinder
 {
@@ -34,7 +35,7 @@ public:
   using AliMUONVClusterFinder::Prepare;
 
   virtual Bool_t Prepare(Int_t detElemId,
-                         TClonesArray* pads[2],
+                         TObjArray* pads[2],
                          const AliMpArea& area);
   
   virtual AliMUONCluster* NextCluster();
@@ -54,9 +55,12 @@ private:
   /// Whether we should stop working...
   virtual Bool_t ShouldAbort() const { return fShouldAbort; }
   
+  AliMUONCluster* NewCluster();
+  void RemoveCluster(AliMUONCluster* cluster);
+  
 private:
   TClonesArray fClusters; //!< the clusters we've found (owner)
-  TClonesArray** fPads; //!< the pads corresponding to the digits (not owner)
+  TObjArray** fPads; //!< the pads corresponding to the digits (not owner)
   Int_t fDetElemId; //!< which DE we're considering
   AliMpArea fArea; //!< area into which to consider pads to *start* a cluster
   Bool_t fShouldAbort; //!< to indicate clustering should stop right now