]> git.uio.no Git - u/mrichter/AliRoot.git/blob - MUON/AliMUONLegacyClusterServer.h
New raw-reader class which deals with events taken from shared memory via the DATE...
[u/mrichter/AliRoot.git] / MUON / AliMUONLegacyClusterServer.h
1 #ifndef ALIMUONLEGACYCLUSTERSERVER_H
2 #define ALIMUONLEGACYCLUSTERSERVER_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 rec
10 /// \class AliMUONLegacyClusterServer
11 /// \brief Cluster server that always clusterize everything.
12 /// 
13 // Author Laurent Aphecetche, Subatech
14
15 #ifndef ALIMUONVCLUSTERSERVER_H
16 #  include "AliMUONVClusterServer.h"
17 #endif
18
19 class AliMUONTriggerTrackToTrackerClusters;
20 class AliMUONVClusterStore;
21 class AliMUONGeometryTransformer;
22
23 class AliMUONLegacyClusterServer : public AliMUONVClusterServer
24 {
25 public:
26   AliMUONLegacyClusterServer(const AliMUONGeometryTransformer& transformer, AliMUONVClusterStore* store=0x0);
27
28   virtual ~AliMUONLegacyClusterServer();
29   
30   virtual Int_t Clusterize(Int_t chamberId, 
31                            AliMUONVClusterStore& clusterStore,
32                            const AliMpArea& area);
33   
34   virtual void UseDigits(TIter& next);
35
36   /// Use trigger tracks. Return kFALSE if not used.
37   virtual Bool_t UseTriggerTrackStore(AliMUONVTriggerTrackStore* trackStore);
38
39 private:
40     /// not defined
41     AliMUONLegacyClusterServer(const AliMUONLegacyClusterServer& rhs);
42   /// not defined
43   AliMUONLegacyClusterServer& operator=(const AliMUONLegacyClusterServer& rhs);
44
45   const AliMUONGeometryTransformer& fTransformer; //!< geometry convertor
46     AliMUONVClusterStore* fClusterStore; //!< cluster store 
47     AliMUONVTriggerTrackStore* fTriggerTrackStore; //!< trigger track store
48     AliMUONTriggerTrackToTrackerClusters* fBypass; //!< bypass 
49     
50   ClassDef(AliMUONLegacyClusterServer,1) // Implementation of AliMUONVClusterServer
51 };
52
53 #endif