1 #ifndef ALIMUONSIMPLECLUSTERSERVER_H
2 #define ALIMUONSIMPLECLUSTERSERVER_H
4 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
10 /// \class AliMUONSimpleClusterServer
11 /// \brief Implementation of AliMUONVClusterServer interface
13 // Author Laurent Aphecetche, Subatech
15 #ifndef ALIMUONVCLUSTERSERVER_H
16 # include "AliMUONVClusterServer.h"
19 class AliMUONVClusterFinder;
20 class AliMUONGeometryTransformer;
24 class AliMUONSimpleClusterServer : public AliMUONVClusterServer
27 AliMUONSimpleClusterServer(AliMUONVClusterFinder& clusterFinder,
28 const AliMUONGeometryTransformer& transformer);
30 virtual ~AliMUONSimpleClusterServer();
32 Int_t Clusterize(Int_t chamberId,
33 AliMUONVClusterStore& clusterStore,
34 const AliMpArea& area);
36 void UseDigitStore(const AliMUONVDigitStore& digitStore);
38 void Print(Option_t* opt="") const;
42 AliMUONSimpleClusterServer(const AliMUONSimpleClusterServer& rhs);
44 AliMUONSimpleClusterServer& operator=(const AliMUONSimpleClusterServer& rhs);
46 Bool_t Overlap(Int_t detElemId, const AliMpArea& area, AliMpArea& deArea) const;
48 void Global2Local(Int_t detElemId, const AliMpArea& globalArea, AliMpArea& localArea) const;
50 TClonesArray* PadArray(Int_t detElemId, Int_t cathode) const;
53 AliMUONVClusterFinder& fClusterFinder; //!< the cluster finder
54 const AliMUONGeometryTransformer& fTransformer; //!< the geometry transformer
55 AliMpExMap* fPads[2]; ///< map of TClonesArray of AliMUONPads
56 AliMpExMap* fDEAreas; ///< map of detection element areas in global coordinates
58 ClassDef(AliMUONSimpleClusterServer,0) // Cluster server