00001
00002
00003
00004
00005
00006
00007 #ifndef __GLG4PrimaryGeneratorMessenger_hh__
00008 #define __GLG4PrimaryGeneratorMessenger_hh__ 1
00009
00010 #include "G4UImessenger.hh"
00011
00012 class GLG4PrimaryGeneratorAction;
00013 class G4UIcommand;
00014
00015 class GLG4PrimaryGeneratorMessenger: public G4UImessenger
00016 {
00017 public:
00018 GLG4PrimaryGeneratorMessenger(GLG4PrimaryGeneratorAction* myGun);
00019 ~GLG4PrimaryGeneratorMessenger();
00020
00021 void SetNewValue(G4UIcommand * command,G4String newValues);
00022 G4String GetCurrentValue(G4UIcommand * command);
00023
00024 private:
00025 GLG4PrimaryGeneratorAction* myAction;
00026
00027 G4UIcommand* ListCmd;
00028 G4UIcommand* RateCmd;
00029 G4UIcommand* GunCmd;
00030 G4UIcommand* VtxSetCmd;
00031 G4UIcommand* PosSetCmd;
00032 G4UIcommand* EventWindowCmd;
00033 G4UIcommand* ChainClipCmd;
00034 };
00035
00036 #endif