192{
193
194
195 if ( command == fSetActivationAllCmd.get() ) {
196 fManager->
SetActivation(fSetActivationAllCmd->GetNewBoolValue(newValues));
197 return;
198 }
199
200 if ( command == fSetFileNameAllCmd.get() ) {
202 return;
203 }
204
205
206 std::vector<G4String> parameters;
208
210
213 "\" parameters: " + std::to_string(parameters.size()) +
215 fkClass, "WarnAboutParameters");
216 return;
217 }
218
219 auto counter = 0;
220
221
222
223 if ( command == fCreateCmd.get() ) {
224 auto name = parameters[counter++];
225 auto title = parameters[counter++];
227 return;
228 }
229
230 for (const auto& [colType, checkCommand] : fCreateColumnCmds) {
231 if ( command == checkCommand.get() ) {
232 auto name = parameters[counter++];
233 switch (colType) {
234 case 'I':
236 return;
237 case 'F':
239 return;
240 case 'D':
242 return;
243 case 'S':
245 return;
246 default:
247 return;
248 }
249 }
250 }
251
252 if ( command == fFinishCmd.get() ) {
255 return;
256 }
257
258
259
261
262 if ( command == fDeleteCmd.get() ) {
265 return;
266 }
267
268 if ( command == fSetActivationCmd.get() ) {
270 return;
271 }
272
273 if ( command == fSetFileNameCmd.get() ) {
275 return;
276 }
277
278 if ( command == fListCmd.get() ) {
281 return;
282 }
283}
std::size_t GetParameterEntries() const
static G4int ConvertToInt(const char *st)
static G4bool ConvertToBool(const char *st)
const G4String & GetCommandName() const
G4bool ListNtuple(G4bool onlyIfActive=true) const
G4bool DeleteNtuple(G4int id, G4bool clear=false)
G4int CreateNtupleIColumn(const G4String &name)
G4int CreateNtupleDColumn(const G4String &name)
void SetNtupleFileName(const G4String &fileName)
G4int CreateNtupleFColumn(const G4String &name)
void SetActivation(G4bool activation)
G4int CreateNtupleSColumn(const G4String &name)
G4int CreateNtuple(const G4String &name, const G4String &title)
G4bool SetFileName(const G4String &fileName)
void SetNtupleActivation(G4bool activation)
void Tokenize(const G4String &line, std::vector< G4String > &tokens)
constexpr G4int kInvalidId
void Warn(const G4String &message, const std::string_view inClass, const std::string_view inFunction)
const char * name(G4int ptype)