00001 // $Header: /cvs/lcd/slic/include/GeneratorMessenger.hh,v 1.6 2006/09/05 23:21:43 jeremy Exp $ 00002 00003 #ifndef SLIC_GENERATORMESSENGER_HH 00004 #define SLIC_GENERATORMESSENGER_HH 1 00005 00006 // geant4 00007 #include "G4UImessenger.hh" 00008 00009 class G4UIcommand; 00010 class G4UIdirectory; 00011 class G4UIcmdWithAnInteger; 00012 00013 namespace slic 00014 { 00019 class GeneratorMessenger : public G4UImessenger 00020 { 00021 00022 public: 00023 00024 GeneratorMessenger(); 00025 virtual ~GeneratorMessenger(); 00026 00027 public: 00028 00029 virtual void SetNewValue(G4UIcommand* cmd, G4String newVals); 00030 00031 private: 00032 00033 void defineCommands(); 00034 00035 private: 00036 00037 G4UIdirectory* m_generatorDir; 00038 G4UIcommand* m_randomSeedCmd; 00039 G4UIcommand* m_selectCmd; 00040 G4UIcommand* m_resetCmd; 00041 G4UIcmdWithAnInteger* m_skipEventsCmd; 00042 G4UIcommand* m_filenameCmd; 00043 G4UIcommand* m_dumpCurrentEventCmd; 00044 G4UIcommand* m_printNumEventsGeneratedCmd; 00045 }; 00046 } 00047 00048 #endif
1.5.4