00001 // 00002 // $Id: DetectorMessenger.hh 222 2008-11-21 08:12:11Z jacquem $ 00003 // 00004 // 00005 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... 00006 00007 #ifndef DetectorMessenger_h 00008 #define DetectorMessenger_h 1 00009 00010 #include "globals.hh" 00011 #include "G4UImessenger.hh" 00012 00013 class DetectorConstruction; 00014 class G4UIdirectory; 00015 class G4UIcmdWithAString; 00016 class G4UIcmdWithADoubleAndUnit; 00017 class G4UIcmdWithoutParameter; 00018 00019 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... 00020 00021 class DetectorMessenger: public G4UImessenger 00022 { 00023 public: 00024 00025 DetectorMessenger(DetectorConstruction* ); 00026 ~DetectorMessenger(); 00027 00028 void SetNewValue(G4UIcommand*, G4String); 00029 00030 private: 00031 00032 DetectorConstruction* m_detector; 00033 00034 G4UIdirectory* m_detDir; 00035 00036 G4UIcmdWithAString* m_materialCmd; 00037 G4UIcmdWithADoubleAndUnit* m_thicknessCmd; 00038 G4UIcmdWithADoubleAndUnit* m_radiusCmd; 00039 G4UIcmdWithADoubleAndUnit* m_lengthCmd; 00040 00041 G4UIcmdWithoutParameter* m_updateCmd; 00042 }; 00043 00044 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... 00045 00046 #endif 00047