//////////////////////////////////////////////////////////////////// /// \class RAT::IBDCrossSecMessenger /// /// \brief Messenger class to control cross section options for the IBD cross section. /// /// \author Nuno Barros -- contact person /// /// REVISION HISTORY:\n /// 02-Jan-2016 - Nuno Barros /// Initial revision. /// /// /// \details Controls user customizable options for the cross section class. /// /// //////////////////////////////////////////////////////////////////// #ifndef RAT_IBDCrossSecMessenger_hh #define RAT_IBDCrossSecMessenger_hh #include #include // Forward declarations class G4UIcommand; class G4UIcmdWithADouble; class G4UIcmdWithAnInteger; class IBDCrosSec; namespace RAT { // Forward declarations in namespace class IBDCrossSec; class IBDCrossSecMessenger: public G4UImessenger { public: IBDCrossSecMessenger(IBDCrossSec*); ~IBDCrossSecMessenger(); void SetNewValue(G4UIcommand* command, G4String newValues); G4String GetCurrentValue(G4UIcommand* command); private: IBDCrossSec* fIBDCrossSection; G4UIcmdWithAnInteger* fStratCmd; }; } // namespace RAT #endif // RAT_ESCrossSecMessenger_hh