]> git.uio.no Git - u/mrichter/AliRoot.git/blame - MUON/AliMUONSimpleClusterServer.h
fit fraction cut bug fixed
[u/mrichter/AliRoot.git] / MUON / AliMUONSimpleClusterServer.h
CommitLineData
d08b5461 1#ifndef ALIMUONSIMPLECLUSTERSERVER_H
2#define ALIMUONSIMPLECLUSTERSERVER_H
3
4/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5* See cxx source for full Copyright notice */
6
7// $Id$
8
9/// \ingroup reco
10/// \class AliMUONSimpleClusterServer
11/// \brief Implementation of AliMUONVClusterServer interface
12///
13// Author Laurent Aphecetche, Subatech
14
15#ifndef ALIMUONVCLUSTERSERVER_H
16# include "AliMUONVClusterServer.h"
17#endif
18
19class AliMUONVClusterFinder;
20class AliMUONGeometryTransformer;
21class TClonesArray;
22class AliMpExMap;
23
24class AliMUONSimpleClusterServer : public AliMUONVClusterServer
25{
26public:
27 AliMUONSimpleClusterServer(AliMUONVClusterFinder& clusterFinder,
28 const AliMUONGeometryTransformer& transformer);
29
30 virtual ~AliMUONSimpleClusterServer();
31
32 Int_t Clusterize(Int_t chamberId,
33 AliMUONVClusterStore& clusterStore,
34 const AliMpArea& area);
35
36 void UseDigitStore(const AliMUONVDigitStore& digitStore);
37
38 void Print(Option_t* opt="") const;
39
40private:
41 /// Not implemented
42 AliMUONSimpleClusterServer(const AliMUONSimpleClusterServer& rhs);
43 /// Not implemented
44 AliMUONSimpleClusterServer& operator=(const AliMUONSimpleClusterServer& rhs);
45
46 Bool_t Overlap(Int_t detElemId, const AliMpArea& area, AliMpArea& deArea) const;
47
48 void Global2Local(Int_t detElemId, const AliMpArea& globalArea, AliMpArea& localArea) const;
49
50 TClonesArray* PadArray(Int_t detElemId, Int_t cathode) const;
51
52private:
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
57
58 ClassDef(AliMUONSimpleClusterServer,0) // Cluster server
59};
60
61#endif