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