]> git.uio.no Git - u/mrichter/AliRoot.git/blame - MUON/AliMUONSimpleClusterServer.h
Streamable, needed by HLT.
[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
e41c38cf 9/// \ingroup rec
d08b5461 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
9bf6860b 19class AliESDMuonPad;
d08b5461 20class AliMUONGeometryTransformer;
9bf6860b 21class AliMUONTriggerTrackToTrackerClusters;
22class AliMUONVClusterFinder;
d08b5461 23class AliMpExMap;
7deb8eb0 24class TClonesArray;
d08b5461 25
26class AliMUONSimpleClusterServer : public AliMUONVClusterServer
27{
28public:
9bf6860b 29 AliMUONSimpleClusterServer(AliMUONVClusterFinder* clusterFinder,
d08b5461 30 const AliMUONGeometryTransformer& transformer);
31
32 virtual ~AliMUONSimpleClusterServer();
33
34 Int_t Clusterize(Int_t chamberId,
35 AliMUONVClusterStore& clusterStore,
35be7ed7 36 const AliMpArea& area,
37 const AliMUONRecoParam* recoParam = 0x0);
d08b5461 38
7deb8eb0 39 void UseDigits(TIter& next);
d08b5461 40
41 void Print(Option_t* opt="") const;
9bf6860b 42
43 /// Use trigger tracks. Return kFALSE if not used.
44 virtual Bool_t UseTriggerTrackStore(AliMUONVTriggerTrackStore* trackStore);
45
d08b5461 46private:
47 /// Not implemented
48 AliMUONSimpleClusterServer(const AliMUONSimpleClusterServer& rhs);
49 /// Not implemented
50 AliMUONSimpleClusterServer& operator=(const AliMUONSimpleClusterServer& rhs);
51
52 Bool_t Overlap(Int_t detElemId, const AliMpArea& area, AliMpArea& deArea) const;
53
54 void Global2Local(Int_t detElemId, const AliMpArea& globalArea, AliMpArea& localArea) const;
55
56 TClonesArray* PadArray(Int_t detElemId, Int_t cathode) const;
57
58private:
9bf6860b 59 AliMUONVClusterFinder* fClusterFinder; //!< the cluster finder (owner)
72dae9ff 60 const AliMUONGeometryTransformer& fkTransformer; //!< the geometry transformer (not owner)
d08b5461 61 AliMpExMap* fPads[2]; ///< map of TClonesArray of AliMUONPads
9bf6860b 62 AliMUONVTriggerTrackStore* fTriggerTrackStore; ///< trigger track store (if bypassing of St45 was requested) (not owner)
63 AliMUONTriggerTrackToTrackerClusters* fBypass; ///< to convert trigger track into tracker clusters (owner)
d08b5461 64
65 ClassDef(AliMUONSimpleClusterServer,0) // Cluster server
66};
67
68#endif