//////////////////////////////////////////////////////////////////// /// \class RAT::CoincidenceMessenger /// /// \author Jeanne Wilson -- contact person /// \brief Provide user commands to allow the user to change /// the Coincidence parameters via the command line. /// /// REVISION HISTORY:\n /// 16 July 2008 JR Wilson - first version /// updated 21 June 2013 Zack Blair - added commands for new time distributions //////////////////////////////////////////////////////////////////// #ifndef RAT_CoincidenceMessenger_hh #define RAT_CoincidenceMessenger_hh #include #include "G4UImessenger.hh" #include "G4String.hh" // Forward declarations class G4UIcommand; class G4UIcmdWithADouble; namespace RAT { // Forward declarations in namespace class Coincidence_Gen; class CoincidenceMessenger: public G4UImessenger { public: CoincidenceMessenger(Coincidence_Gen*); ~CoincidenceMessenger(); void SetNewValue(G4UIcommand* command, G4String newValues); G4String GetCurrentValue(G4UIcommand* command); private: Coincidence_Gen* fCoGen; G4UIcommand* fGenAddCmd; G4UIcommand* fVtxSetCmd; G4UIcommand* fPosSetCmd; G4UIcommand* fERangeCmd; G4UIcommand* fExpCmd; G4UIcommand* fFixedCmd; G4UIcommand* fGaussCmd; G4UIcommand* fQuadraticCmd; G4UIcmdWithADouble* fTimeWinCmd; }; } // namespace RAT #endif // RAT_CoincidenceMessenger_hh