Last change
on this file since 114 was
114,
checked in by moretto, 11 years ago
|
actual version of ESAF at CCin2p3
|
File size:
575 bytes
|
Line | |
---|
1 | #ifndef DetectorFactory_h |
---|
2 | #define DetectorFactory_h 1 |
---|
3 | #include "EsafConfigurable.hh" |
---|
4 | #include "EsafMsgSource.hh" |
---|
5 | |
---|
6 | class G4VUserDetectorConstruction; |
---|
7 | class DetectorFactory : public EsafConfigurable, public EsafMsgSource{ |
---|
8 | public: |
---|
9 | DetectorFactory(); |
---|
10 | virtual ~DetectorFactory(); |
---|
11 | |
---|
12 | static DetectorFactory* Instance() { if (!fMe) return new DetectorFactory(); else return fMe; } |
---|
13 | |
---|
14 | G4VUserDetectorConstruction* GetDetector(); |
---|
15 | |
---|
16 | private: |
---|
17 | static DetectorFactory *fMe; |
---|
18 | G4VUserDetectorConstruction* fDetector; |
---|
19 | |
---|
20 | EsafConfigClass(G4,G4Detector) |
---|
21 | }; |
---|
22 | |
---|
23 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.