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"
20 class AliMUONGeometryTransformer;
21 class AliMUONTriggerTrackToTrackerClusters;
22 class AliMUONVClusterFinder;
26 class AliMUONSimpleClusterServer : public AliMUONVClusterServer
29 AliMUONSimpleClusterServer(AliMUONVClusterFinder* clusterFinder,
30 const AliMUONGeometryTransformer& transformer);
32 virtual ~AliMUONSimpleClusterServer();
34 Int_t Clusterize(Int_t chamberId,
35 AliMUONVClusterStore& clusterStore,
36 const AliMpArea& area);
38 void UseDigits(TIter& next);
40 void Print(Option_t* opt="") const;
42 /// Use trigger tracks. Return kFALSE if not used.
43 virtual Bool_t UseTriggerTrackStore(AliMUONVTriggerTrackStore* trackStore);
47 AliMUONSimpleClusterServer(const AliMUONSimpleClusterServer& rhs);
49 AliMUONSimpleClusterServer& operator=(const AliMUONSimpleClusterServer& rhs);
51 Bool_t Overlap(Int_t detElemId, const AliMpArea& area, AliMpArea& deArea) const;
53 void Global2Local(Int_t detElemId, const AliMpArea& globalArea, AliMpArea& localArea) const;
55 TClonesArray* PadArray(Int_t detElemId, Int_t cathode) const;
58 AliMUONVClusterFinder* fClusterFinder; //!< the cluster finder (owner)
59 const AliMUONGeometryTransformer& fTransformer; //!< the geometry transformer (not owner)
60 AliMpExMap* fPads[2]; ///< map of TClonesArray of AliMUONPads
61 AliMUONVTriggerTrackStore* fTriggerTrackStore; ///< trigger track store (if bypassing of St45 was requested) (not owner)
62 AliMUONTriggerTrackToTrackerClusters* fBypass; ///< to convert trigger track into tracker clusters (owner)
64 ClassDef(AliMUONSimpleClusterServer,0) // Cluster server