00001
00002
00003
00004
00005 #ifndef __GLG4DetectorMessenger_hh__
00006 #define __GLG4DetectorMessenger_hh__ 1
00007
00008 #include "G4UImessenger.hh"
00009
00010 class G4UIcommand;
00011 class G4UIcmdWithAString;
00012 class G4UIcmdWith3VectorAndUnit;
00013 class GLG4DetectorConstruction;
00014
00015 class GLG4DetectorMessenger: public G4UImessenger
00016 {
00017 public:
00018 GLG4DetectorMessenger(GLG4DetectorConstruction * myDetector);
00019 ~GLG4DetectorMessenger();
00020
00021 void SetNewValue(G4UIcommand * command,G4String newValues);
00022 G4String GetCurrentValue(G4UIcommand * command);
00023
00024 private:
00025 GLG4DetectorConstruction * myDetector;
00026
00027 G4UIcmdWithAString* PmtStyleCmd;
00028 G4UIcommand* DetectorSelectCmd;
00029 G4UIcommand* CalDeviceCmd;
00030 G4UIcmdWith3VectorAndUnit*CalPositionCmd;
00031 };
00032
00033 #endif