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