]>
Commit | Line | Data |
---|---|---|
a713db22 | 1 | #ifndef ALIMUONFACTORYV2_H |
2 | #define ALIMUONFACTORYV2_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 | // Revision of includes 07/05/2004 | |
8 | ||
9 | //////////////////////////////////////////////////////////// | |
10 | // Factory for muon chambers, segmentations and response | |
11 | // The number 2 is refering to new segmentation | |
002920d1 | 12 | // |
a713db22 | 13 | //////////////////////////////////////////////////////////// |
14 | ||
15 | #include <TObject.h> | |
002920d1 | 16 | #include <TNamed.h> |
a713db22 | 17 | |
18 | class AliMUON; | |
19 | class AliMUONResponseV0; | |
20 | ||
002920d1 | 21 | class AliMUONFactoryV2 : public TNamed { |
a713db22 | 22 | |
23 | public: | |
dd1f2c35 | 24 | AliMUONFactoryV2(const char* name); |
a713db22 | 25 | AliMUONFactoryV2(); |
26 | virtual ~AliMUONFactoryV2(); | |
27 | ||
28 | void Build(AliMUON* where, const char* what); | |
29 | void BuildStation(AliMUON* where, Int_t stationNumber); | |
30 | ||
31 | protected: | |
32 | AliMUONFactoryV2(const AliMUONFactoryV2& rhs); | |
33 | AliMUONFactoryV2& operator=(const AliMUONFactoryV2& rhs); | |
34 | ||
35 | private: | |
3bf95daf | 36 | Bool_t IsGeometryDefined(Int_t ichamber); |
a713db22 | 37 | void BuildCommon(); |
38 | void BuildStation1(); | |
39 | void BuildStation2(); | |
40 | void BuildStation3(); | |
41 | void BuildStation4(); | |
42 | void BuildStation5(); | |
43 | void BuildStation6(); | |
44 | ||
45 | // data members | |
dd1f2c35 | 46 | AliMUON* fMUON; // MUON detector |
47 | AliMUONResponseV0* fResponse0; // default response | |
48 | TObjArray* fDESegmentations;// DE segmentations | |
a713db22 | 49 | |
50 | ClassDef(AliMUONFactoryV2,0) // MUON Factory for Chambers and Segmentation | |
51 | }; | |
52 | #endif | |
53 | ||
54 | ||
55 | ||
56 | ||
57 | ||
58 | ||
59 | ||
60 | ||
61 | ||
62 | ||
63 | ||
64 | ||
65 | ||
66 | ||
67 |