00001 // $Header: /cvs/lcd/slic/include/GeneratorMessenger.hh,v 1.9 2008/09/10 00:04:34 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 class G4UIcmdWithADoubleAndUnit; 00013 00014 namespace slic 00015 { 00020 class GeneratorMessenger : public G4UImessenger 00021 { 00022 00023 public: 00024 00025 GeneratorMessenger(); 00026 virtual ~GeneratorMessenger(); 00027 00028 public: 00029 00030 virtual void SetNewValue(G4UIcommand* cmd, G4String newVals); 00031 00032 private: 00033 00034 void defineCommands(); 00035 00036 private: 00037 00038 G4UIdirectory* m_generatorDir; 00039 G4UIcommand* m_randomSeedCmd; 00040 G4UIcommand* m_selectCmd; 00041 G4UIcommand* m_resetCmd; 00042 G4UIcmdWithAnInteger* m_skipEventsCmd; 00043 G4UIcommand* m_filenameCmd; 00044 G4UIcommand* m_dumpCurrentEventCmd; 00045 G4UIcommand* m_printNumEventsGeneratedCmd; 00046 G4UIcmdWithADoubleAndUnit* m_setLorentzTransformationAngleCmd; 00047 }; 00048 } 00049 00050 #endif
1.5.4