00001 //---------------------------------------------------------------------------// 00002 // BOOST --- BESIII Object_Oriented Simulation Tool // 00003 //---------------------------------------------------------------------------// 00004 //Description: passing parameters to Generator TESTER and GENBES 00005 //Author: Liuhm 00006 //Created: Jun. 5, 2003 00007 //Modified: 00008 //Comment: 00009 //---------------------------------------------------------------------------// 00010 00011 #ifndef BesPrimaryGeneratorMessenger_h 00012 #define BesPrimaryGeneratorMessenger_h 1 00013 00014 class BesPrimaryGeneratorAction; 00015 00016 class G4UIdirectory; 00017 class G4UIcommand; 00018 class G4UIcmdWithAString; 00019 class G4ParticleTable; 00020 00021 #include "G4UImessenger.hh" 00022 #include "globals.hh" 00023 00024 class BesPrimaryGeneratorMessenger: public G4UImessenger 00025 { 00026 public: 00027 BesPrimaryGeneratorMessenger(BesPrimaryGeneratorAction* mpga); 00028 ~BesPrimaryGeneratorMessenger(); 00029 00030 public: 00031 void SetNewValue(G4UIcommand * command,G4String newValues); 00032 G4String GetCurrentValue(G4UIcommand * command); 00033 00034 private: 00035 BesPrimaryGeneratorAction * myAction; 00036 G4ParticleTable * particleTable; 00037 private: //commands 00038 G4UIdirectory * generatorDirectory; 00039 G4UIcmdWithAString * gennamCmd; 00040 G4UIcmdWithAString * genbesCmd; 00041 G4UIcommand* testerCmd; 00042 G4UIcommand* cosmicCmd; 00043 }; 00044 00045 #endif 00046 00047 00048 00049 00050