#ifndef WCSimPrimaryGeneratorMessenger_h #define WCSimPrimaryGeneratorMessenger_h 1 class WCSimPrimaryGeneratorAction; class G4UIdirectory; class G4UIcmdWithAString; #include "G4UImessenger.hh" #include "globals.hh" class WCSimPrimaryGeneratorMessenger: public G4UImessenger { public: WCSimPrimaryGeneratorMessenger(WCSimPrimaryGeneratorAction* mpga); ~WCSimPrimaryGeneratorMessenger(); public: void SetNewValue(G4UIcommand* command, G4String newValues); G4String GetCurrentValue(G4UIcommand* command); private: WCSimPrimaryGeneratorAction* myAction; private: //commands G4UIdirectory* mydetDirectory; G4UIcmdWithAString* genCmd; G4UIcmdWithAString* fileNameCmd; }; #endif