MCPcopy Create free account
hub / github.com/Geant4/geant4 / SetParameterName

Method SetParameterName

source/intercoms/src/G4UIcmdWith3Vector.cc:53–69  ·  view source on GitHub ↗

--------------------------------------------------------------------

Source from the content-addressed store, hash-verified

51
52// --------------------------------------------------------------------
53void G4UIcmdWith3Vector::SetParameterName(const char* theNameX, const char* theNameY,
54 const char* theNameZ, G4bool omittable,
55 G4bool currentAsDefault)
56{
57 G4UIparameter* theParamX = GetParameter(0);
58 theParamX->SetParameterName(theNameX);
59 theParamX->SetOmittable(omittable);
60 theParamX->SetCurrentAsDefault(currentAsDefault);
61 G4UIparameter* theParamY = GetParameter(1);
62 theParamY->SetParameterName(theNameY);
63 theParamY->SetOmittable(omittable);
64 theParamY->SetCurrentAsDefault(currentAsDefault);
65 G4UIparameter* theParamZ = GetParameter(2);
66 theParamZ->SetParameterName(theNameZ);
67 theParamZ->SetOmittable(omittable);
68 theParamZ->SetCurrentAsDefault(currentAsDefault);
69}
70
71// --------------------------------------------------------------------
72void G4UIcmdWith3Vector::SetDefaultValue(const G4ThreeVector& vec)

Callers

nothing calls this directly

Calls 2

SetOmittableMethod · 0.80
SetCurrentAsDefaultMethod · 0.80

Tested by

no test coverage detected