]>
Commit | Line | Data |
---|---|---|
be3bb6c1 | 1 | #ifndef ALIMUONFACTORY_H |
2 | #define ALIMUONFACTORY_H | |
3 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * | |
4 | * See cxx source for full Copyright notice */ | |
5 | ||
6 | /* $Id$ */ | |
7 | ||
8 | //////////////////////////////////////////////////////////// | |
9 | // Factory for muon chambers, segmentations and response // | |
10 | //////////////////////////////////////////////////////////// | |
11 | #include "AliDetector.h" | |
12 | // #include "AliMUONTriggerCircuit.h" // cp | |
13 | ||
be3bb6c1 | 14 | class AliMUON; |
ba030c0e | 15 | class AliMUONResponseV0; |
be3bb6c1 | 16 | |
17 | class AliMUONFactory : public TObject { | |
ba030c0e | 18 | |
be3bb6c1 | 19 | public: |
ba030c0e | 20 | AliMUONFactory(); |
21 | virtual ~AliMUONFactory(); | |
22 | ||
23 | void Build(AliMUON* where, const char* what); | |
24 | void BuildStation(AliMUON* where, Int_t stationNumber); | |
25 | ||
26 | private: | |
27 | void BuildCommon(); | |
28 | void BuildStation1(); | |
29 | void BuildStation2(); | |
30 | void BuildStation3(); | |
31 | void BuildStation4(); | |
32 | void BuildStation5(); | |
33 | void BuildStation6(); | |
34 | ||
35 | // data members | |
36 | AliMUON* fMUON; // MUON detector | |
37 | AliMUONResponseV0* fResponse0; // default response | |
38 | ||
39 | ClassDef(AliMUONFactory,0) // MUON Factory for Chambers and Segmentation | |
be3bb6c1 | 40 | }; |
41 | #endif | |
42 | ||
43 | ||
44 | ||
45 | ||
46 | ||
47 | ||
48 | ||
49 | ||
50 | ||
51 | ||
52 | ||
53 | ||
54 | ||
55 | ||
56 |