]> git.uio.no Git - u/mrichter/AliRoot.git/blob - MUON/AliMUONLegacyClusterServer.h
New PID Classes
[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, 
27                              AliMUONVClusterStore* store=0x0,
28                              Bool_t bypassSt4=kFALSE,
29                              Bool_t bypassSt5=kFALSE);
30
31   virtual ~AliMUONLegacyClusterServer();
32   
33   virtual Int_t Clusterize(Int_t chamberId, 
34                            AliMUONVClusterStore& clusterStore,
35                            const AliMpArea& area,
36                            const AliMUONRecoParam* recoParam = 0x0);
37   
38   virtual void UseDigits(TIter& next, AliMUONVDigitStore* digitStore = 0x0);
39
40   /// Use trigger tracks. Return kFALSE if not used.
41   virtual Bool_t UseTriggerTrackStore(AliMUONVTriggerTrackStore* trackStore);
42
43 private:
44     /// not defined
45     AliMUONLegacyClusterServer(const AliMUONLegacyClusterServer& rhs);
46   /// not defined
47   AliMUONLegacyClusterServer& operator=(const AliMUONLegacyClusterServer& rhs);
48
49   const AliMUONGeometryTransformer& fkTransformer; //!< geometry convertor
50         AliMUONVClusterStore* fClusterStore; //!< cluster store 
51         AliMUONVTriggerTrackStore* fTriggerTrackStore; //!< trigger track store
52         AliMUONTriggerTrackToTrackerClusters* fBypass; //!< bypass 
53         Bool_t fBypassSt4; //!< whether we should bypass station 4
54         Bool_t fBypassSt5; //!< whether we should bypass station 5
55
56   ClassDef(AliMUONLegacyClusterServer,2) // Implementation of AliMUONVClusterServer
57 };
58
59 #endif