| Line | |
|---|
| 1 | #ifndef MDetectorMessenger_h
|
|---|
| 2 | #define MDetectorMessenger_h 1
|
|---|
| 3 |
|
|---|
| 4 | // %%%%%%%%%%
|
|---|
| 5 | // G4 headers
|
|---|
| 6 | // %%%%%%%%%%
|
|---|
| 7 | #include "G4UIcmdWithoutParameter.hh"
|
|---|
| 8 | #include "G4UIdirectory.hh"
|
|---|
| 9 | #include "G4UImessenger.hh"
|
|---|
| 10 |
|
|---|
| 11 | // %%%%%%%%%%%%%
|
|---|
| 12 | // gemc headers
|
|---|
| 13 | // %%%%%%%%%%%%%
|
|---|
| 14 | #include "MDetectorConstruction.h"
|
|---|
| 15 |
|
|---|
| 16 | // %%%%%%%%%%%%%%%%
|
|---|
| 17 | // Class definition
|
|---|
| 18 | // %%%%%%%%%%%%%%%%
|
|---|
| 19 | class MDetectorMessenger : public G4UImessenger
|
|---|
| 20 | {
|
|---|
| 21 | public:
|
|---|
| 22 | MDetectorMessenger(MDetectorConstruction*);
|
|---|
| 23 | ~MDetectorMessenger();
|
|---|
| 24 | void SetNewValue(G4UIcommand*, G4String);
|
|---|
| 25 |
|
|---|
| 26 | public:
|
|---|
| 27 |
|
|---|
| 28 | private:
|
|---|
| 29 | MDetectorConstruction *MDetector;
|
|---|
| 30 | G4UIdirectory *gemcDir;
|
|---|
| 31 | G4UIcmdWithoutParameter *UpdateGeoCmd;
|
|---|
| 32 |
|
|---|
| 33 | };
|
|---|
| 34 |
|
|---|
| 35 | #endif
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.