//////////////////////////////////////////////////////////////////// /// \class RAT::Gen_MuonMessenger /// /// \author Katharine Dixon -- contact person /// /// \brief Provide user commands to allow the user to change /// the Gen_Muon parameters via the command line. Developed from Gen_FluxMessenger /// /// HISTORY: /// 08/05/2024: first version - Katharine Dixon /// //////////////////////////////////////////////////////////////////// #ifndef RAT_Gen_MuonMessenger_hh #define RAT_Gen_MuonMessenger_hh #include #include "G4UImessenger.hh" #include "G4String.hh" #include // Forward declarations class G4UIcommand; class G4UIcmdWithAString; class G4UIcmdWithADouble; namespace RAT { // Forward declarations in namespace class Gen_Muon; class Gen_MuonMessenger: public G4UImessenger { public: Gen_MuonMessenger(Gen_Muon*); ~Gen_MuonMessenger(); void SetNewValue(G4UIcommand* command, G4String newValues); G4String GetCurrentValue(G4UIcommand* command); private: Gen_Muon* fGenMuon; G4UIcmdWithAString* fTimeSetCmd; G4UIcmdWithAString* fPositionCmd; G4UIcmdWithAString* fDirectionCmd; G4UIcmdWithADouble* fRadiusCmd; }; } // namespace RAT #endif // RAT_Gen_MuonMessenger_hh