Class RMGHardwareMessenger

Inheritance Relationships

Base Type

  • public G4UImessenger

Class Documentation

class RMGHardwareMessenger : public G4UImessenger

Public Functions

RMGHardwareMessenger(RMGHardware *hw)

Constructor based on a RMGHardware pointer.

This currently initialises the "/RMG/Geometry/RegisterDetector" and the "/RMG/Geometry/SetMaxStepSize" commands.

Parameters:

hw – Pointer to the RMGHardware instance.

~RMGHardwareMessenger()
void SetNewValue(G4UIcommand *command, G4String newValues) override

Set the values for command.

Parameters:
  • command – the command to set parameters

  • newValues – the parameter values.

void DefineRegisterDetector()

Define the commands to set the sensitive detectors.

void DefineStepLimits()

Define the commands to set the step limits.