36 name.replace(0, 1, 1, std::tolower(name[0], loc));
63 G4String dirName = GetDirectoryName(physicsName);
65 G4String guidance = physicsName +
" physics commands.";
69 G4String commandName = dirName +
"setModel";
70 fSetModelCmd =
new G4UIcmdWithAString(commandName,
this);
71 guidance =
"Define an extra " + physicsName;
74 if (availableModels.size())
fSetModelCmd->SetCandidates(availableModels);
79 commandName = dirName +
"setEmModel";
81 guidance =
"The same as setModel, kept for backward compatibility.";
84 if (availableModels.size())
fSetEmModelCmd->SetCandidates(availableModels);
88 commandName = dirName +
"setParticles";
90 guidance =
"Set particles for the selected extra " + physicsName +
"\n" +
91 "(all = select all particles which the model is applicable.)";
97 commandName = dirName +
"setExcludedParticles";
99 guidance =
"Set to be excluded from the selected extra " + physicsName +
"\n" +
100 "if 'all' was selected previously ";
106 commandName = dirName +
"setRegions";
108 guidance =
"Set tracking media names (regions) for the selected extra " +
111 " = the model will be applied to the default world region.";
117 commandName = dirName +
"setOneRegion";
119 guidance =
"Set one tracking medium name (regions) for the selected extra " +
122 " = the model will be applied to the default world region.";