////////////////////////////////////////////////////////////// /// /// \class RAT::ProtonESgen /// /// \brief Allows you to set ProtonESgen at command line. /// /// \author Christopher Jones -- contact person /// /// REVISION HISTORY:\n /// /// /// /// /// \details Provide the user commands to change the ProtonESgen \n /// parameters at the command line \n /// Stolen straight from Gen_FluxMessenger. /// ////////////////////////////////////////////////////////////// #ifndef __RAT_ProtonESgenMessenger_hh__ #define __RAT_ProtonESgenMessenger_hh__ #include class G4UIcommand; class G4UIcmdWithAString; class G4UIcmdWithADouble; namespace RAT { class ProtonESgen; class ProtonESgenMessenger: public G4UImessenger { public: ProtonESgenMessenger(ProtonESgen*); ~ProtonESgenMessenger(); void SetNewValue(G4UIcommand* command, G4String newValues); private: ProtonESgen* fProtonESgen; G4UIcmdWithAString* ftypeSetCmd; G4UIcmdWithADouble* fProtonSetCmd; }; } //namespace RAT #endif // __RAT_GenReactorIBDMessenger_hh__