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