36 name.replace(0, 1, 1, std::tolower(name[0], loc));
50 fModelConfigurationManager(manager),
62 G4String dirName = GetDirectoryName(physicsName);
64 G4String guidance = physicsName +
" physics commands.";
68 G4String commandName = dirName +
"setModel";
69 fSetModelCmd =
new G4UIcmdWithAString(commandName,
this);
70 guidance =
"Define an extra " + physicsName;
73 if (availableModels.size())
fSetModelCmd->SetCandidates(availableModels);
78 commandName = dirName +
"setEmModel";
80 guidance =
"The same as setModel, kept for backward compatibility.";
83 if (availableModels.size())
fSetEmModelCmd->SetCandidates(availableModels);
87 commandName = dirName +
"setParticles";
89 guidance =
"Set particles for the selected extra " + physicsName +
"\n" +
90 "(all = select all particles which the model is applicable.)";
96 commandName = dirName +
"setRegions";
98 guidance =
"Set tracking media names (regions) for the selected extra " +
101 " = the model will be applied to the default world region.";
107 commandName = dirName +
"setOneRegion";
109 guidance =
"Set one tracking medium name (regions) for the selected extra " +
112 " = the model will be applied to the default world region.";