/// \ingroup rec
/// \class AliMUONClusterReconstructor
-/// \brief MUON cluster reconstructor in ALICE
-///
-/////////////////////////////////////
-/// MUON event reconstructor in ALICE
-/////////////////////////////////////
+/// \brief Steering class for clusterizing MUON tracking chambers
#include <TObject.h>
-class AliMUONClusterFinderVS;
-class AliMUONData;
-class TClonesArray;
+class AliMUONVClusterFinder;
+class AliMUONGeometryTransformer;
+class AliMUONVClusterStore;
+class AliMUONVDigitStore;
+class AliMUONRawCluster;
class AliMUONClusterReconstructor : public TObject
{
public:
- AliMUONClusterReconstructor(AliMUONData* data = 0x0); // Constructor
+ AliMUONClusterReconstructor(AliMUONVClusterFinder* finder = 0x0,
+ const AliMUONGeometryTransformer* transformer = 0x0
+ );
+
virtual ~AliMUONClusterReconstructor(void); // Destructor
- // Cluster Finding & Trigger
- 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);
-
+ // Cluster Finding
+ virtual void Digits2Clusters(const AliMUONVDigitStore& digitStore, AliMUONVClusterStore& clusterStore);
+
protected:
+ /// Not implemented
AliMUONClusterReconstructor (const AliMUONClusterReconstructor& rhs); // copy constructor
+ /// Not implemented
AliMUONClusterReconstructor& operator=(const AliMUONClusterReconstructor& rhs); // assignment operator
- void ClusterizeOneDE(Int_t detElemId);
-
- void CheckSize(TClonesArray&);
-
- private:
+ void ClusterizeOneDE(Int_t detElemId, const AliMUONVDigitStore& digitStore);
- AliMUONData* fMUONData; //! Data container for MUON subsystem
- AliMUONClusterFinderVS* fRecModel; //! cluster recontruction model
+private:
+ AliMUONVClusterFinder* fClusterFinder; //!< the object doing the real clustering job (not owner)
- 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)
+
+ AliMUONVClusterStore* fClusterStore; //!< not owner
- ClassDef(AliMUONClusterReconstructor,0) // MUON cluster reconstructor in ALICE
+ ClassDef(AliMUONClusterReconstructor,0) // Clustering steering
};
#endif