--------------------------------------------------------------------
| 39 | |
| 40 | // -------------------------------------------------------------------- |
| 41 | G4UIcmdWithADoubleAndUnit::G4UIcmdWithADoubleAndUnit(const char* theCommandPath, |
| 42 | G4UImessenger* theMessenger) |
| 43 | : G4UIcommand(theCommandPath, theMessenger) |
| 44 | { |
| 45 | auto* dblParam = new G4UIparameter('d'); |
| 46 | SetParameter(dblParam); |
| 47 | auto* untParam = new G4UIparameter('s'); |
| 48 | untParam->SetParameterName("Unit"); |
| 49 | SetParameter(untParam); |
| 50 | SetCommandType(WithADoubleAndUnitCmd); |
| 51 | } |
| 52 | |
| 53 | // -------------------------------------------------------------------- |
| 54 | G4int G4UIcmdWithADoubleAndUnit::DoIt(const G4String& parameterList) |
nothing calls this directly
no test coverage detected