]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/AliMUONClusterReconstructor.h
New definition and implementation of bus patch class,
[u/mrichter/AliRoot.git] / MUON / AliMUONClusterReconstructor.h
index 944461f3b9fb9de92ab2df9a738536e56999228e..40cc7a0e655ef3de3404d47989536eb1109959bd 100644 (file)
 class AliMUONClusterFinderVS;
 class AliMUONData;
 class TClonesArray;
+class AliMUONVClusterFinder;
+class AliMUONGeometryTransformer;
 
 class AliMUONClusterReconstructor : public TObject 
 {
  public:
-  AliMUONClusterReconstructor(AliMUONData* data = 0x0); // Constructor
+  AliMUONClusterReconstructor(AliMUONData* data = 0x0,
+                              AliMUONVClusterFinder* finder = 0x0,
+                              const AliMUONGeometryTransformer* transformer = 0x0
+                              ); 
   virtual ~AliMUONClusterReconstructor(void); // Destructor
 
  
@@ -27,29 +32,29 @@ class AliMUONClusterReconstructor : public TObject
   virtual void   Digits2Clusters(Int_t chBeg = 0);
   virtual void   Trigger2Trigger() ;
 
-//  // pointer to data container
-//  AliMUONData*   GetMUONData() {return fMUONData;}
   // Reco Model
   AliMUONClusterFinderVS* GetRecoModel() {return fRecModel;}
 
   void SetRecoModel(AliMUONClusterFinderVS* rec);
 
  protected:
+
   AliMUONClusterReconstructor (const AliMUONClusterReconstructor& rhs); // copy constructor
   AliMUONClusterReconstructor& operator=(const AliMUONClusterReconstructor& rhs); // assignment operator
 
   void ClusterizeOneDE(Int_t detElemId);
+  void ClusterizeOneDEV2(Int_t detElemId);
   
-  void CheckSize(TClonesArray&);
-  
- private:
-
-  AliMUONData*            fMUONData;           //! Data container for MUON subsystem 
-  AliMUONClusterFinderVS* fRecModel;           //! cluster recontruction model
+private:
+  AliMUONVClusterFinder* fClusterFinder; //!< the object doing the real job (not owner)  
+  AliMUONData*            fMUONData;           //!< Data container for MUON subsystem 
+  AliMUONClusterFinderVS* fRecModel;           //!< cluster recontruction model
 
-  TClonesArray* fDigitsCath0; //! digits for cathode 0 of the current DE
-  TClonesArray* fDigitsCath1; //! digits for cathode 1 of the current DE
+  TClonesArray* fDigitsCath0; //!< digits for cathode 0 of the current DE
+  TClonesArray* fDigitsCath1; //!< digits for cathode 1 of the current DE
   
+  const AliMUONGeometryTransformer* fTransformer; //!< to go from local to global (not owner)
+    
   ClassDef(AliMUONClusterReconstructor,0) // MUON cluster reconstructor in ALICE
 };