#ifndef LGPrimaryGeneratorMessenger_h #define LGPrimaryGeneratorMessenger_h 1 #include "globals.hh" #include "G4UImessenger.hh" class LGPrimaryGeneratorAction; class G4UIdirectory; class G4UIcmdWithADoubleAndUnit; class G4UIcmdWith3VectorAndUnit; class LGPrimaryGeneratorMessenger : public G4UImessenger { public: LGPrimaryGeneratorMessenger(LGPrimaryGeneratorAction* generator_Act); ~LGPrimaryGeneratorMessenger(); void SetNewValue(G4UIcommand* command, G4String new_Value); private: LGPrimaryGeneratorAction* generator_Action; G4UIdirectory* gun_Dir; G4UIcmdWithADoubleAndUnit* energy_Cmd; G4UIcmdWith3VectorAndUnit* position_Cmd; }; #endif