DUNE-DAQ
DUNE Trigger and Data Acquisition software
Loading...
Searching...
No Matches
dump_dunedaq__appmodel.cpp File Reference
#include "conffwk/ConfigObject.hpp"
#include "conffwk/Configuration.hpp"
#include "appmodel/AVXAbsRunSumProcessor.hpp"
#include "appmodel/AVXFixedPedestalSubtractProcessor.hpp"
#include "appmodel/AVXFrugalPedestalSubtractProcessor.hpp"
#include "appmodel/AVXRunSumProcessor.hpp"
#include "appmodel/AVXThresholdProcessor.hpp"
#include "appmodel/CIBApplication.hpp"
#include "appmodel/CIBCalibrationStream.hpp"
#include "appmodel/CIBConf.hpp"
#include "appmodel/CIBModule.hpp"
#include "appmodel/CIBTrigger.hpp"
#include "appmodel/CIBTriggerReport.hpp"
#include "appmodel/CIBoardConf.hpp"
#include "appmodel/CRTBernReaderConf.hpp"
#include "appmodel/CRTBernReaderModule.hpp"
#include "appmodel/CRTGrenobleReaderConf.hpp"
#include "appmodel/CRTGrenobleReaderModule.hpp"
#include "appmodel/CRTReaderApplication.hpp"
#include "appmodel/CRTReaderConf.hpp"
#include "appmodel/CTBApplication.hpp"
#include "appmodel/CTBCRTSubsystem.hpp"
#include "appmodel/CTBCalibrationStream.hpp"
#include "appmodel/CTBConf.hpp"
#include "appmodel/CTBCountLLT.hpp"
#include "appmodel/CTBHLT.hpp"
#include "appmodel/CTBLLT.hpp"
#include "appmodel/CTBMisc.hpp"
#include "appmodel/CTBModule.hpp"
#include "appmodel/CTBMonitorSocket.hpp"
#include "appmodel/CTBPDSLLT.hpp"
#include "appmodel/CTBPDSSubsystem.hpp"
#include "appmodel/CTBPulser.hpp"
#include "appmodel/CTBRandomTrigger.hpp"
#include "appmodel/CTBReceiverSocket.hpp"
#include "appmodel/CTBSocket.hpp"
#include "appmodel/CTBSockets.hpp"
#include "appmodel/CTBStatisticsSocket.hpp"
#include "appmodel/CTBSubsystem.hpp"
#include "appmodel/CTBTiming.hpp"
#include "appmodel/CTBTrigger.hpp"
#include "appmodel/CTBTriggerReport.hpp"
#include "appmodel/CTBoardConf.hpp"
#include "appmodel/ColdADCSettings.hpp"
#include "appmodel/DFApplication.hpp"
#include "appmodel/DFHWConf.hpp"
#include "appmodel/DFOApplication.hpp"
#include "appmodel/DFOConf.hpp"
#include "appmodel/DFOModule.hpp"
#include "appmodel/DPDKPortConfiguration.hpp"
#include "appmodel/DPDKReaderConf.hpp"
#include "appmodel/DPDKReaderModule.hpp"
#include "appmodel/DPDKReceiver.hpp"
#include "appmodel/DTSHSIApplication.hpp"
#include "appmodel/DaphneApplication.hpp"
#include "appmodel/DaphneConf.hpp"
#include "appmodel/DaphneControllerModule.hpp"
#include "appmodel/DaphneMapEntry.hpp"
#include "appmodel/DaphneV2ADC.hpp"
#include "appmodel/DaphneV2AFE.hpp"
#include "appmodel/DaphneV2BoardConf.hpp"
#include "appmodel/DaphneV2Channel.hpp"
#include "appmodel/DaphneV2ControllerModule.hpp"
#include "appmodel/DaphneV2LNA.hpp"
#include "appmodel/DaphneV2PGA.hpp"
#include "appmodel/DaphneV3ControllerModule.hpp"
#include "appmodel/DataHandlerConf.hpp"
#include "appmodel/DataHandlerModule.hpp"
#include "appmodel/DataProcessor.hpp"
#include "appmodel/DataReaderConf.hpp"
#include "appmodel/DataReaderModule.hpp"
#include "appmodel/DataRecorderConf.hpp"
#include "appmodel/DataRecorderModule.hpp"
#include "appmodel/DataStoreConf.hpp"
#include "appmodel/DataSubscriberModule.hpp"
#include "appmodel/DataWriterConf.hpp"
#include "appmodel/DataWriterModule.hpp"
#include "appmodel/FDDataHandlerModule.hpp"
#include "appmodel/FDFakeReaderModule.hpp"
#include "appmodel/FEMBSettings.hpp"
#include "appmodel/FakeDataApplication.hpp"
#include "appmodel/FakeDataProdConf.hpp"
#include "appmodel/FakeDataProdModule.hpp"
#include "appmodel/FakeDataReceiver.hpp"
#include "appmodel/FakeDataSender.hpp"
#include "appmodel/FakeHSIApplication.hpp"
#include "appmodel/FakeHSIEventGeneratorConf.hpp"
#include "appmodel/FakeHSIEventGeneratorModule.hpp"
#include "appmodel/FakeSocketWriterModule.hpp"
#include "appmodel/FelixCardControllerModule.hpp"
#include "appmodel/FelixDataReceiver.hpp"
#include "appmodel/FelixDataSender.hpp"
#include "appmodel/FelixDetectorToDaqConnection.hpp"
#include "appmodel/FelixInterface.hpp"
#include "appmodel/FelixReaderConf.hpp"
#include "appmodel/FelixReaderModule.hpp"
#include "appmodel/FileReaderReceiver.hpp"
#include "appmodel/FilenameParams.hpp"
#include "appmodel/FixedTimeTCConf.hpp"
#include "appmodel/FixedTimeTCMakerModule.hpp"
#include "appmodel/FixedTimeTCMakerModuleConf.hpp"
#include "appmodel/FragmentAggregatorConf.hpp"
#include "appmodel/FragmentAggregatorModule.hpp"
#include "appmodel/HDF5FileLayoutParams.hpp"
#include "appmodel/HDF5PathParams.hpp"
#include "appmodel/HSI2TCTranslatorConf.hpp"
#include "appmodel/HSIDataHandlerModule.hpp"
#include "appmodel/HSIEventSender.hpp"
#include "appmodel/HSIEventToTCApplication.hpp"
#include "appmodel/HSIFrameProcessor.hpp"
#include "appmodel/HSIReadout.hpp"
#include "appmodel/HSIReadoutConf.hpp"
#include "appmodel/HSISignalWindow.hpp"
#include "appmodel/HermesDataSender.hpp"
#include "appmodel/HermesModule.hpp"
#include "appmodel/HermesModuleConf.hpp"
#include "appmodel/IpbusAddressTable.hpp"
#include "appmodel/IpbusDevice.hpp"
#include "appmodel/LatencyBuffer.hpp"
#include "appmodel/MLTApplication.hpp"
#include "appmodel/MLTConf.hpp"
#include "appmodel/MLTModule.hpp"
#include "appmodel/NICStatsConf.hpp"
#include "appmodel/NP02ReadoutApplication.hpp"
#include "appmodel/NWDetDataReceiver.hpp"
#include "appmodel/NWDetDataSender.hpp"
#include "appmodel/NetworkConnectionDescriptor.hpp"
#include "appmodel/NetworkConnectionRule.hpp"
#include "appmodel/NetworkDetectorToDaqConnection.hpp"
#include "appmodel/PDSRawDataProcessor.hpp"
#include "appmodel/ProcessingStep.hpp"
#include "appmodel/QueueConnectionRule.hpp"
#include "appmodel/QueueDescriptor.hpp"
#include "appmodel/ROIGroupConf.hpp"
#include "appmodel/RandomTCMakerConf.hpp"
#include "appmodel/RandomTCMakerModule.hpp"
#include "appmodel/RawDataProcessor.hpp"
#include "appmodel/ReadoutApplication.hpp"
#include "appmodel/ReadoutHost.hpp"
#include "appmodel/RequestHandler.hpp"
#include "appmodel/RoHwConfig.hpp"
#include "appmodel/SNBBookkeeperApplication.hpp"
#include "appmodel/SNBBookkeeperConf.hpp"
#include "appmodel/SNBDataHandlerModule.hpp"
#include "appmodel/SNBFileReaderConf.hpp"
#include "appmodel/SNBFileReaderModule.hpp"
#include "appmodel/SNBFileSourceParameters.hpp"
#include "appmodel/SNBFileTransfer.hpp"
#include "appmodel/SNBTransferApplication.hpp"
#include "appmodel/SNBTransferBookkeeper.hpp"
#include "appmodel/SNBTransferConf.hpp"
#include "appmodel/SSPLEDCalibModule.hpp"
#include "appmodel/SSPRegister.hpp"
#include "appmodel/SamplesOverThresholdMinima.hpp"
#include "appmodel/SmartDaqApplication.hpp"
#include "appmodel/SocketDataSender.hpp"
#include "appmodel/SocketDataWriterConf.hpp"
#include "appmodel/SocketDataWriterModule.hpp"
#include "appmodel/SocketReaderConf.hpp"
#include "appmodel/SocketReaderModule.hpp"
#include "appmodel/SocketReceiver.hpp"
#include "appmodel/SocketWriterConf.hpp"
#include "appmodel/SocketWriterModule.hpp"
#include "appmodel/SourceIDConf.hpp"
#include "appmodel/SourceIDToNetworkConnection.hpp"
#include "appmodel/StandaloneTCMakerConf.hpp"
#include "appmodel/StandaloneTCMakerModule.hpp"
#include "appmodel/StreamEmulationParameters.hpp"
#include "appmodel/SubdetectorReadoutWindowMap.hpp"
#include "appmodel/TAAlgorithm.hpp"
#include "appmodel/TADataProcessor.hpp"
#include "appmodel/TAMakerADCSimpleWindowAlgorithm.hpp"
#include "appmodel/TAMakerBundleNAlgorithm.hpp"
#include "appmodel/TAMakerChannelAdjacencyAlgorithm.hpp"
#include "appmodel/TAMakerChannelDistanceAlgorithm.hpp"
#include "appmodel/TAMakerDBSCANAlgorithm.hpp"
#include "appmodel/TAMakerHorizontalMuonAlgorithm.hpp"
#include "appmodel/TAMakerMichelElectronAlgorithm.hpp"
#include "appmodel/TAMakerPlaneCoincidenceAlgorithm.hpp"
#include "appmodel/TAMakerPrescaleAlgorithm.hpp"
#include "appmodel/TCAlgorithm.hpp"
#include "appmodel/TCDataProcessor.hpp"
#include "appmodel/TCMakerADCSimpleWindowAlgorithm.hpp"
#include "appmodel/TCMakerBundleNAlgorithm.hpp"
#include "appmodel/TCMakerChannelAdjacencyAlgorithm.hpp"
#include "appmodel/TCMakerChannelDistanceAlgorithm.hpp"
#include "appmodel/TCMakerDBSCANAlgorithm.hpp"
#include "appmodel/TCMakerHorizontalMuonAlgorithm.hpp"
#include "appmodel/TCMakerMichelElectronAlgorithm.hpp"
#include "appmodel/TCMakerPlaneCoincidenceAlgorithm.hpp"
#include "appmodel/TCMakerPrescaleAlgorithm.hpp"
#include "appmodel/TCReadoutMap.hpp"
#include "appmodel/TDEAMCModule.hpp"
#include "appmodel/TDEAMCModuleConf.hpp"
#include "appmodel/TDECrateApplication.hpp"
#include "appmodel/TPCRawDataProcessor.hpp"
#include "appmodel/TPDataProcessor.hpp"
#include "appmodel/TPReplayApplication.hpp"
#include "appmodel/TPReplayModule.hpp"
#include "appmodel/TPReplayModuleConf.hpp"
#include "appmodel/TPStreamConf.hpp"
#include "appmodel/TPStreamWriterApplication.hpp"
#include "appmodel/TPStreamWriterConf.hpp"
#include "appmodel/TPStreamWriterModule.hpp"
#include "appmodel/TRBConf.hpp"
#include "appmodel/TRBModule.hpp"
#include "appmodel/TRMonReqApplication.hpp"
#include "appmodel/TRMonRequestorConf.hpp"
#include "appmodel/TRMonRequestorModule.hpp"
#include "appmodel/TdeAmcDetDataSender.hpp"
#include "appmodel/TriggerApplication.hpp"
#include "appmodel/TriggerBitword.hpp"
#include "appmodel/TriggerDataHandlerModule.hpp"
#include "appmodel/WIBModule.hpp"
#include "appmodel/WIBModuleConf.hpp"
#include "appmodel/WIBPulserSettings.hpp"
#include "appmodel/WIBSettings.hpp"
#include "appmodel/WIECApplication.hpp"

Go to the source code of this file.

Functions

static void usage (const char *s)
 
static void no_param (const char *s)
 
int main (int argc, char *argv[])
 

Function Documentation

◆ main()

int main ( int argc,
char * argv[] )

Definition at line 250 of file dump_dunedaq__appmodel.cpp.

251{
252 // parse parameters
253
254 const char * db_name = nullptr;
255 const char * object_id = nullptr;
256 const char * query = "";
257 std::string class_name;
258 bool init_children = false;
259
260 for(int i = 1; i < argc; i++) {
261 const char * cp = argv[i];
262 if(!strcmp(cp, "-h") || !strcmp(cp, "--help")) {
263 usage(argv[0]);
264 return 0;
265 }
266 if(!strcmp(cp, "-t") || !strcmp(cp, "--init-children")) {
267 init_children = true;
268 }
269 else if(!strcmp(cp, "-d") || !strcmp(cp, "--data")) {
270 if(++i == argc || argv[i][0] == '-') { no_param(cp); } else { db_name = argv[i]; }
271 }
272 else if(!strcmp(cp, "-c") || !strcmp(cp, "--class-name")) {
273 if(++i == argc || argv[i][0] == '-') { no_param(cp); } else { class_name = argv[i]; }
274 }
275 else if(!strcmp(cp, "-i") || !strcmp(cp, "--object-id")) {
276 if(++i == argc || argv[i][0] == '-') { no_param(cp); } else { object_id = argv[i]; }
277 }
278 else if(!strcmp(cp, "-q") || !strcmp(cp, "--query")) {
279 if(++i == argc || argv[i][0] == '-') { no_param(cp); } else { query = argv[i]; }
280 }
281 else {
282 std::cerr << "ERROR: bad parameter " << cp << std::endl;
283 usage(argv[0]);
284 return (EXIT_FAILURE);
285 }
286 }
287
288 if(db_name == nullptr) {
289 std::cerr << "ERROR: no database name provided\n";
290 return (EXIT_FAILURE);
291 }
292
293 if(class_name.empty()) {
294 std::cerr << "ERROR: no class name provided\n";
295 return (EXIT_FAILURE);
296 }
297
298 if(*query != 0 && object_id != nullptr) {
299 std::cerr << "ERROR: only one parameter -i or -q can be provided\n";
300 return (EXIT_FAILURE);
301 }
302
303
304std::cout << std::boolalpha;
305
306 try {
308
309 if(!conf.loaded()) {
310 std::cerr << "Can not load database: " << db_name << std::endl;
311 return (EXIT_FAILURE);
312 }
313
314 std::vector< dunedaq::conffwk::ConfigObject > objects;
315
316 if(object_id) {
318 try {
319 conf.get(class_name, object_id, obj, 1);
320 }
321 catch (dunedaq::conffwk::NotFound & ex) {
322 std::cerr << "Can not get object \'" << object_id << "\' of class \'" << class_name << "\':\n" << ex << std::endl;
323 return (EXIT_FAILURE);
324 }
325 objects.push_back(obj);
326 }
327 else {
328 try {
329 conf.get(class_name, objects, query, 1);
330 }
331 catch (dunedaq::conffwk::NotFound & ex) {
332 std::cerr << "Can not get objects of class \'" << class_name << "\':\n" << ex << std::endl;
333 return (EXIT_FAILURE);
334 }
335 }
336
337 struct SortByUId {
338 bool operator() (const dunedaq::conffwk::ConfigObject * o1, const dunedaq::conffwk::ConfigObject * o2) const {
339 return (o1->UID() < o2->UID());
340 };
341 };
342
343 std::set< dunedaq::conffwk::ConfigObject *, SortByUId > sorted_objects;
344
345 for(auto& i : objects)
346 sorted_objects.insert(&i);
347
348 for(auto& i : sorted_objects) {
349 if(class_name == "AVXAbsRunSumProcessor") {
350 std::cout << *conf.get<dunedaq::appmodel::AVXAbsRunSumProcessor>(*i, init_children) << std::endl;
351 }
352 else if(class_name == "AVXFixedPedestalSubtractProcessor") {
353 std::cout << *conf.get<dunedaq::appmodel::AVXFixedPedestalSubtractProcessor>(*i, init_children) << std::endl;
354 }
355 else if(class_name == "AVXFrugalPedestalSubtractProcessor") {
356 std::cout << *conf.get<dunedaq::appmodel::AVXFrugalPedestalSubtractProcessor>(*i, init_children) << std::endl;
357 }
358 else if(class_name == "AVXRunSumProcessor") {
359 std::cout << *conf.get<dunedaq::appmodel::AVXRunSumProcessor>(*i, init_children) << std::endl;
360 }
361 else if(class_name == "AVXThresholdProcessor") {
362 std::cout << *conf.get<dunedaq::appmodel::AVXThresholdProcessor>(*i, init_children) << std::endl;
363 }
364 else if(class_name == "CIBApplication") {
365 std::cout << *conf.get<dunedaq::appmodel::CIBApplication>(*i, init_children) << std::endl;
366 }
367 else if(class_name == "CIBCalibrationStream") {
368 std::cout << *conf.get<dunedaq::appmodel::CIBCalibrationStream>(*i, init_children) << std::endl;
369 }
370 else if(class_name == "CIBConf") {
371 std::cout << *conf.get<dunedaq::appmodel::CIBConf>(*i, init_children) << std::endl;
372 }
373 else if(class_name == "CIBModule") {
374 std::cout << *conf.get<dunedaq::appmodel::CIBModule>(*i, init_children) << std::endl;
375 }
376 else if(class_name == "CIBTrigger") {
377 std::cout << *conf.get<dunedaq::appmodel::CIBTrigger>(*i, init_children) << std::endl;
378 }
379 else if(class_name == "CIBTriggerReport") {
380 std::cout << *conf.get<dunedaq::appmodel::CIBTriggerReport>(*i, init_children) << std::endl;
381 }
382 else if(class_name == "CIBoardConf") {
383 std::cout << *conf.get<dunedaq::appmodel::CIBoardConf>(*i, init_children) << std::endl;
384 }
385 else if(class_name == "CRTBernReaderConf") {
386 std::cout << *conf.get<dunedaq::appmodel::CRTBernReaderConf>(*i, init_children) << std::endl;
387 }
388 else if(class_name == "CRTBernReaderModule") {
389 std::cout << *conf.get<dunedaq::appmodel::CRTBernReaderModule>(*i, init_children) << std::endl;
390 }
391 else if(class_name == "CRTGrenobleReaderConf") {
392 std::cout << *conf.get<dunedaq::appmodel::CRTGrenobleReaderConf>(*i, init_children) << std::endl;
393 }
394 else if(class_name == "CRTGrenobleReaderModule") {
395 std::cout << *conf.get<dunedaq::appmodel::CRTGrenobleReaderModule>(*i, init_children) << std::endl;
396 }
397 else if(class_name == "CRTReaderApplication") {
398 std::cout << *conf.get<dunedaq::appmodel::CRTReaderApplication>(*i, init_children) << std::endl;
399 }
400 else if(class_name == "CRTReaderConf") {
401 std::cout << *conf.get<dunedaq::appmodel::CRTReaderConf>(*i, init_children) << std::endl;
402 }
403 else if(class_name == "CTBApplication") {
404 std::cout << *conf.get<dunedaq::appmodel::CTBApplication>(*i, init_children) << std::endl;
405 }
406 else if(class_name == "CTBCRTSubsystem") {
407 std::cout << *conf.get<dunedaq::appmodel::CTBCRTSubsystem>(*i, init_children) << std::endl;
408 }
409 else if(class_name == "CTBCalibrationStream") {
410 std::cout << *conf.get<dunedaq::appmodel::CTBCalibrationStream>(*i, init_children) << std::endl;
411 }
412 else if(class_name == "CTBConf") {
413 std::cout << *conf.get<dunedaq::appmodel::CTBConf>(*i, init_children) << std::endl;
414 }
415 else if(class_name == "CTBCountLLT") {
416 std::cout << *conf.get<dunedaq::appmodel::CTBCountLLT>(*i, init_children) << std::endl;
417 }
418 else if(class_name == "CTBHLT") {
419 std::cout << *conf.get<dunedaq::appmodel::CTBHLT>(*i, init_children) << std::endl;
420 }
421 else if(class_name == "CTBLLT") {
422 std::cout << *conf.get<dunedaq::appmodel::CTBLLT>(*i, init_children) << std::endl;
423 }
424 else if(class_name == "CTBMisc") {
425 std::cout << *conf.get<dunedaq::appmodel::CTBMisc>(*i, init_children) << std::endl;
426 }
427 else if(class_name == "CTBModule") {
428 std::cout << *conf.get<dunedaq::appmodel::CTBModule>(*i, init_children) << std::endl;
429 }
430 else if(class_name == "CTBMonitorSocket") {
431 std::cout << *conf.get<dunedaq::appmodel::CTBMonitorSocket>(*i, init_children) << std::endl;
432 }
433 else if(class_name == "CTBPDSLLT") {
434 std::cout << *conf.get<dunedaq::appmodel::CTBPDSLLT>(*i, init_children) << std::endl;
435 }
436 else if(class_name == "CTBPDSSubsystem") {
437 std::cout << *conf.get<dunedaq::appmodel::CTBPDSSubsystem>(*i, init_children) << std::endl;
438 }
439 else if(class_name == "CTBPulser") {
440 std::cout << *conf.get<dunedaq::appmodel::CTBPulser>(*i, init_children) << std::endl;
441 }
442 else if(class_name == "CTBRandomTrigger") {
443 std::cout << *conf.get<dunedaq::appmodel::CTBRandomTrigger>(*i, init_children) << std::endl;
444 }
445 else if(class_name == "CTBReceiverSocket") {
446 std::cout << *conf.get<dunedaq::appmodel::CTBReceiverSocket>(*i, init_children) << std::endl;
447 }
448 else if(class_name == "CTBSocket") {
449 std::cout << *conf.get<dunedaq::appmodel::CTBSocket>(*i, init_children) << std::endl;
450 }
451 else if(class_name == "CTBSockets") {
452 std::cout << *conf.get<dunedaq::appmodel::CTBSockets>(*i, init_children) << std::endl;
453 }
454 else if(class_name == "CTBStatisticsSocket") {
455 std::cout << *conf.get<dunedaq::appmodel::CTBStatisticsSocket>(*i, init_children) << std::endl;
456 }
457 else if(class_name == "CTBSubsystem") {
458 std::cout << *conf.get<dunedaq::appmodel::CTBSubsystem>(*i, init_children) << std::endl;
459 }
460 else if(class_name == "CTBTiming") {
461 std::cout << *conf.get<dunedaq::appmodel::CTBTiming>(*i, init_children) << std::endl;
462 }
463 else if(class_name == "CTBTrigger") {
464 std::cout << *conf.get<dunedaq::appmodel::CTBTrigger>(*i, init_children) << std::endl;
465 }
466 else if(class_name == "CTBTriggerReport") {
467 std::cout << *conf.get<dunedaq::appmodel::CTBTriggerReport>(*i, init_children) << std::endl;
468 }
469 else if(class_name == "CTBoardConf") {
470 std::cout << *conf.get<dunedaq::appmodel::CTBoardConf>(*i, init_children) << std::endl;
471 }
472 else if(class_name == "ColdADCSettings") {
473 std::cout << *conf.get<dunedaq::appmodel::ColdADCSettings>(*i, init_children) << std::endl;
474 }
475 else if(class_name == "DFApplication") {
476 std::cout << *conf.get<dunedaq::appmodel::DFApplication>(*i, init_children) << std::endl;
477 }
478 else if(class_name == "DFHWConf") {
479 std::cout << *conf.get<dunedaq::appmodel::DFHWConf>(*i, init_children) << std::endl;
480 }
481 else if(class_name == "DFOApplication") {
482 std::cout << *conf.get<dunedaq::appmodel::DFOApplication>(*i, init_children) << std::endl;
483 }
484 else if(class_name == "DFOConf") {
485 std::cout << *conf.get<dunedaq::appmodel::DFOConf>(*i, init_children) << std::endl;
486 }
487 else if(class_name == "DFOModule") {
488 std::cout << *conf.get<dunedaq::appmodel::DFOModule>(*i, init_children) << std::endl;
489 }
490 else if(class_name == "DPDKPortConfiguration") {
491 std::cout << *conf.get<dunedaq::appmodel::DPDKPortConfiguration>(*i, init_children) << std::endl;
492 }
493 else if(class_name == "DPDKReaderConf") {
494 std::cout << *conf.get<dunedaq::appmodel::DPDKReaderConf>(*i, init_children) << std::endl;
495 }
496 else if(class_name == "DPDKReaderModule") {
497 std::cout << *conf.get<dunedaq::appmodel::DPDKReaderModule>(*i, init_children) << std::endl;
498 }
499 else if(class_name == "DPDKReceiver") {
500 std::cout << *conf.get<dunedaq::appmodel::DPDKReceiver>(*i, init_children) << std::endl;
501 }
502 else if(class_name == "DTSHSIApplication") {
503 std::cout << *conf.get<dunedaq::appmodel::DTSHSIApplication>(*i, init_children) << std::endl;
504 }
505 else if(class_name == "DaphneApplication") {
506 std::cout << *conf.get<dunedaq::appmodel::DaphneApplication>(*i, init_children) << std::endl;
507 }
508 else if(class_name == "DaphneConf") {
509 std::cout << *conf.get<dunedaq::appmodel::DaphneConf>(*i, init_children) << std::endl;
510 }
511 else if(class_name == "DaphneControllerModule") {
512 std::cout << *conf.get<dunedaq::appmodel::DaphneControllerModule>(*i, init_children) << std::endl;
513 }
514 else if(class_name == "DaphneMapEntry") {
515 std::cout << *conf.get<dunedaq::appmodel::DaphneMapEntry>(*i, init_children) << std::endl;
516 }
517 else if(class_name == "DaphneV2ADC") {
518 std::cout << *conf.get<dunedaq::appmodel::DaphneV2ADC>(*i, init_children) << std::endl;
519 }
520 else if(class_name == "DaphneV2AFE") {
521 std::cout << *conf.get<dunedaq::appmodel::DaphneV2AFE>(*i, init_children) << std::endl;
522 }
523 else if(class_name == "DaphneV2BoardConf") {
524 std::cout << *conf.get<dunedaq::appmodel::DaphneV2BoardConf>(*i, init_children) << std::endl;
525 }
526 else if(class_name == "DaphneV2Channel") {
527 std::cout << *conf.get<dunedaq::appmodel::DaphneV2Channel>(*i, init_children) << std::endl;
528 }
529 else if(class_name == "DaphneV2ControllerModule") {
530 std::cout << *conf.get<dunedaq::appmodel::DaphneV2ControllerModule>(*i, init_children) << std::endl;
531 }
532 else if(class_name == "DaphneV2LNA") {
533 std::cout << *conf.get<dunedaq::appmodel::DaphneV2LNA>(*i, init_children) << std::endl;
534 }
535 else if(class_name == "DaphneV2PGA") {
536 std::cout << *conf.get<dunedaq::appmodel::DaphneV2PGA>(*i, init_children) << std::endl;
537 }
538 else if(class_name == "DaphneV3ControllerModule") {
539 std::cout << *conf.get<dunedaq::appmodel::DaphneV3ControllerModule>(*i, init_children) << std::endl;
540 }
541 else if(class_name == "DataHandlerConf") {
542 std::cout << *conf.get<dunedaq::appmodel::DataHandlerConf>(*i, init_children) << std::endl;
543 }
544 else if(class_name == "DataHandlerModule") {
545 std::cout << *conf.get<dunedaq::appmodel::DataHandlerModule>(*i, init_children) << std::endl;
546 }
547 else if(class_name == "DataProcessor") {
548 std::cout << *conf.get<dunedaq::appmodel::DataProcessor>(*i, init_children) << std::endl;
549 }
550 else if(class_name == "DataReaderConf") {
551 std::cout << *conf.get<dunedaq::appmodel::DataReaderConf>(*i, init_children) << std::endl;
552 }
553 else if(class_name == "DataReaderModule") {
554 std::cout << *conf.get<dunedaq::appmodel::DataReaderModule>(*i, init_children) << std::endl;
555 }
556 else if(class_name == "DataRecorderConf") {
557 std::cout << *conf.get<dunedaq::appmodel::DataRecorderConf>(*i, init_children) << std::endl;
558 }
559 else if(class_name == "DataRecorderModule") {
560 std::cout << *conf.get<dunedaq::appmodel::DataRecorderModule>(*i, init_children) << std::endl;
561 }
562 else if(class_name == "DataStoreConf") {
563 std::cout << *conf.get<dunedaq::appmodel::DataStoreConf>(*i, init_children) << std::endl;
564 }
565 else if(class_name == "DataSubscriberModule") {
566 std::cout << *conf.get<dunedaq::appmodel::DataSubscriberModule>(*i, init_children) << std::endl;
567 }
568 else if(class_name == "DataWriterConf") {
569 std::cout << *conf.get<dunedaq::appmodel::DataWriterConf>(*i, init_children) << std::endl;
570 }
571 else if(class_name == "DataWriterModule") {
572 std::cout << *conf.get<dunedaq::appmodel::DataWriterModule>(*i, init_children) << std::endl;
573 }
574 else if(class_name == "FDDataHandlerModule") {
575 std::cout << *conf.get<dunedaq::appmodel::FDDataHandlerModule>(*i, init_children) << std::endl;
576 }
577 else if(class_name == "FDFakeReaderModule") {
578 std::cout << *conf.get<dunedaq::appmodel::FDFakeReaderModule>(*i, init_children) << std::endl;
579 }
580 else if(class_name == "FEMBSettings") {
581 std::cout << *conf.get<dunedaq::appmodel::FEMBSettings>(*i, init_children) << std::endl;
582 }
583 else if(class_name == "FakeDataApplication") {
584 std::cout << *conf.get<dunedaq::appmodel::FakeDataApplication>(*i, init_children) << std::endl;
585 }
586 else if(class_name == "FakeDataProdConf") {
587 std::cout << *conf.get<dunedaq::appmodel::FakeDataProdConf>(*i, init_children) << std::endl;
588 }
589 else if(class_name == "FakeDataProdModule") {
590 std::cout << *conf.get<dunedaq::appmodel::FakeDataProdModule>(*i, init_children) << std::endl;
591 }
592 else if(class_name == "FakeDataReceiver") {
593 std::cout << *conf.get<dunedaq::appmodel::FakeDataReceiver>(*i, init_children) << std::endl;
594 }
595 else if(class_name == "FakeDataSender") {
596 std::cout << *conf.get<dunedaq::appmodel::FakeDataSender>(*i, init_children) << std::endl;
597 }
598 else if(class_name == "FakeHSIApplication") {
599 std::cout << *conf.get<dunedaq::appmodel::FakeHSIApplication>(*i, init_children) << std::endl;
600 }
601 else if(class_name == "FakeHSIEventGeneratorConf") {
602 std::cout << *conf.get<dunedaq::appmodel::FakeHSIEventGeneratorConf>(*i, init_children) << std::endl;
603 }
604 else if(class_name == "FakeHSIEventGeneratorModule") {
605 std::cout << *conf.get<dunedaq::appmodel::FakeHSIEventGeneratorModule>(*i, init_children) << std::endl;
606 }
607 else if(class_name == "FakeSocketWriterModule") {
608 std::cout << *conf.get<dunedaq::appmodel::FakeSocketWriterModule>(*i, init_children) << std::endl;
609 }
610 else if(class_name == "FelixCardControllerModule") {
611 std::cout << *conf.get<dunedaq::appmodel::FelixCardControllerModule>(*i, init_children) << std::endl;
612 }
613 else if(class_name == "FelixDataReceiver") {
614 std::cout << *conf.get<dunedaq::appmodel::FelixDataReceiver>(*i, init_children) << std::endl;
615 }
616 else if(class_name == "FelixDataSender") {
617 std::cout << *conf.get<dunedaq::appmodel::FelixDataSender>(*i, init_children) << std::endl;
618 }
619 else if(class_name == "FelixDetectorToDaqConnection") {
620 std::cout << *conf.get<dunedaq::appmodel::FelixDetectorToDaqConnection>(*i, init_children) << std::endl;
621 }
622 else if(class_name == "FelixInterface") {
623 std::cout << *conf.get<dunedaq::appmodel::FelixInterface>(*i, init_children) << std::endl;
624 }
625 else if(class_name == "FelixReaderConf") {
626 std::cout << *conf.get<dunedaq::appmodel::FelixReaderConf>(*i, init_children) << std::endl;
627 }
628 else if(class_name == "FelixReaderModule") {
629 std::cout << *conf.get<dunedaq::appmodel::FelixReaderModule>(*i, init_children) << std::endl;
630 }
631 else if(class_name == "FileReaderReceiver") {
632 std::cout << *conf.get<dunedaq::appmodel::FileReaderReceiver>(*i, init_children) << std::endl;
633 }
634 else if(class_name == "FilenameParams") {
635 std::cout << *conf.get<dunedaq::appmodel::FilenameParams>(*i, init_children) << std::endl;
636 }
637 else if(class_name == "FixedTimeTCConf") {
638 std::cout << *conf.get<dunedaq::appmodel::FixedTimeTCConf>(*i, init_children) << std::endl;
639 }
640 else if(class_name == "FixedTimeTCMakerModule") {
641 std::cout << *conf.get<dunedaq::appmodel::FixedTimeTCMakerModule>(*i, init_children) << std::endl;
642 }
643 else if(class_name == "FixedTimeTCMakerModuleConf") {
644 std::cout << *conf.get<dunedaq::appmodel::FixedTimeTCMakerModuleConf>(*i, init_children) << std::endl;
645 }
646 else if(class_name == "FragmentAggregatorConf") {
647 std::cout << *conf.get<dunedaq::appmodel::FragmentAggregatorConf>(*i, init_children) << std::endl;
648 }
649 else if(class_name == "FragmentAggregatorModule") {
650 std::cout << *conf.get<dunedaq::appmodel::FragmentAggregatorModule>(*i, init_children) << std::endl;
651 }
652 else if(class_name == "HDF5FileLayoutParams") {
653 std::cout << *conf.get<dunedaq::appmodel::HDF5FileLayoutParams>(*i, init_children) << std::endl;
654 }
655 else if(class_name == "HDF5PathParams") {
656 std::cout << *conf.get<dunedaq::appmodel::HDF5PathParams>(*i, init_children) << std::endl;
657 }
658 else if(class_name == "HSI2TCTranslatorConf") {
659 std::cout << *conf.get<dunedaq::appmodel::HSI2TCTranslatorConf>(*i, init_children) << std::endl;
660 }
661 else if(class_name == "HSIDataHandlerModule") {
662 std::cout << *conf.get<dunedaq::appmodel::HSIDataHandlerModule>(*i, init_children) << std::endl;
663 }
664 else if(class_name == "HSIEventSender") {
665 std::cout << *conf.get<dunedaq::appmodel::HSIEventSender>(*i, init_children) << std::endl;
666 }
667 else if(class_name == "HSIEventToTCApplication") {
668 std::cout << *conf.get<dunedaq::appmodel::HSIEventToTCApplication>(*i, init_children) << std::endl;
669 }
670 else if(class_name == "HSIFrameProcessor") {
671 std::cout << *conf.get<dunedaq::appmodel::HSIFrameProcessor>(*i, init_children) << std::endl;
672 }
673 else if(class_name == "HSIReadout") {
674 std::cout << *conf.get<dunedaq::appmodel::HSIReadout>(*i, init_children) << std::endl;
675 }
676 else if(class_name == "HSIReadoutConf") {
677 std::cout << *conf.get<dunedaq::appmodel::HSIReadoutConf>(*i, init_children) << std::endl;
678 }
679 else if(class_name == "HSISignalWindow") {
680 std::cout << *conf.get<dunedaq::appmodel::HSISignalWindow>(*i, init_children) << std::endl;
681 }
682 else if(class_name == "HermesDataSender") {
683 std::cout << *conf.get<dunedaq::appmodel::HermesDataSender>(*i, init_children) << std::endl;
684 }
685 else if(class_name == "HermesModule") {
686 std::cout << *conf.get<dunedaq::appmodel::HermesModule>(*i, init_children) << std::endl;
687 }
688 else if(class_name == "HermesModuleConf") {
689 std::cout << *conf.get<dunedaq::appmodel::HermesModuleConf>(*i, init_children) << std::endl;
690 }
691 else if(class_name == "IpbusAddressTable") {
692 std::cout << *conf.get<dunedaq::appmodel::IpbusAddressTable>(*i, init_children) << std::endl;
693 }
694 else if(class_name == "IpbusDevice") {
695 std::cout << *conf.get<dunedaq::appmodel::IpbusDevice>(*i, init_children) << std::endl;
696 }
697 else if(class_name == "LatencyBuffer") {
698 std::cout << *conf.get<dunedaq::appmodel::LatencyBuffer>(*i, init_children) << std::endl;
699 }
700 else if(class_name == "MLTApplication") {
701 std::cout << *conf.get<dunedaq::appmodel::MLTApplication>(*i, init_children) << std::endl;
702 }
703 else if(class_name == "MLTConf") {
704 std::cout << *conf.get<dunedaq::appmodel::MLTConf>(*i, init_children) << std::endl;
705 }
706 else if(class_name == "MLTModule") {
707 std::cout << *conf.get<dunedaq::appmodel::MLTModule>(*i, init_children) << std::endl;
708 }
709 else if(class_name == "NICStatsConf") {
710 std::cout << *conf.get<dunedaq::appmodel::NICStatsConf>(*i, init_children) << std::endl;
711 }
712 else if(class_name == "NP02ReadoutApplication") {
713 std::cout << *conf.get<dunedaq::appmodel::NP02ReadoutApplication>(*i, init_children) << std::endl;
714 }
715 else if(class_name == "NWDetDataReceiver") {
716 std::cout << *conf.get<dunedaq::appmodel::NWDetDataReceiver>(*i, init_children) << std::endl;
717 }
718 else if(class_name == "NWDetDataSender") {
719 std::cout << *conf.get<dunedaq::appmodel::NWDetDataSender>(*i, init_children) << std::endl;
720 }
721 else if(class_name == "NetworkConnectionDescriptor") {
722 std::cout << *conf.get<dunedaq::appmodel::NetworkConnectionDescriptor>(*i, init_children) << std::endl;
723 }
724 else if(class_name == "NetworkConnectionRule") {
725 std::cout << *conf.get<dunedaq::appmodel::NetworkConnectionRule>(*i, init_children) << std::endl;
726 }
727 else if(class_name == "NetworkDetectorToDaqConnection") {
728 std::cout << *conf.get<dunedaq::appmodel::NetworkDetectorToDaqConnection>(*i, init_children) << std::endl;
729 }
730 else if(class_name == "PDSRawDataProcessor") {
731 std::cout << *conf.get<dunedaq::appmodel::PDSRawDataProcessor>(*i, init_children) << std::endl;
732 }
733 else if(class_name == "ProcessingStep") {
734 std::cout << *conf.get<dunedaq::appmodel::ProcessingStep>(*i, init_children) << std::endl;
735 }
736 else if(class_name == "QueueConnectionRule") {
737 std::cout << *conf.get<dunedaq::appmodel::QueueConnectionRule>(*i, init_children) << std::endl;
738 }
739 else if(class_name == "QueueDescriptor") {
740 std::cout << *conf.get<dunedaq::appmodel::QueueDescriptor>(*i, init_children) << std::endl;
741 }
742 else if(class_name == "ROIGroupConf") {
743 std::cout << *conf.get<dunedaq::appmodel::ROIGroupConf>(*i, init_children) << std::endl;
744 }
745 else if(class_name == "RandomTCMakerConf") {
746 std::cout << *conf.get<dunedaq::appmodel::RandomTCMakerConf>(*i, init_children) << std::endl;
747 }
748 else if(class_name == "RandomTCMakerModule") {
749 std::cout << *conf.get<dunedaq::appmodel::RandomTCMakerModule>(*i, init_children) << std::endl;
750 }
751 else if(class_name == "RawDataProcessor") {
752 std::cout << *conf.get<dunedaq::appmodel::RawDataProcessor>(*i, init_children) << std::endl;
753 }
754 else if(class_name == "ReadoutApplication") {
755 std::cout << *conf.get<dunedaq::appmodel::ReadoutApplication>(*i, init_children) << std::endl;
756 }
757 else if(class_name == "ReadoutHost") {
758 std::cout << *conf.get<dunedaq::appmodel::ReadoutHost>(*i, init_children) << std::endl;
759 }
760 else if(class_name == "RequestHandler") {
761 std::cout << *conf.get<dunedaq::appmodel::RequestHandler>(*i, init_children) << std::endl;
762 }
763 else if(class_name == "RoHwConfig") {
764 std::cout << *conf.get<dunedaq::appmodel::RoHwConfig>(*i, init_children) << std::endl;
765 }
766 else if(class_name == "SNBBookkeeperApplication") {
767 std::cout << *conf.get<dunedaq::appmodel::SNBBookkeeperApplication>(*i, init_children) << std::endl;
768 }
769 else if(class_name == "SNBBookkeeperConf") {
770 std::cout << *conf.get<dunedaq::appmodel::SNBBookkeeperConf>(*i, init_children) << std::endl;
771 }
772 else if(class_name == "SNBDataHandlerModule") {
773 std::cout << *conf.get<dunedaq::appmodel::SNBDataHandlerModule>(*i, init_children) << std::endl;
774 }
775 else if(class_name == "SNBFileReaderConf") {
776 std::cout << *conf.get<dunedaq::appmodel::SNBFileReaderConf>(*i, init_children) << std::endl;
777 }
778 else if(class_name == "SNBFileReaderModule") {
779 std::cout << *conf.get<dunedaq::appmodel::SNBFileReaderModule>(*i, init_children) << std::endl;
780 }
781 else if(class_name == "SNBFileSourceParameters") {
782 std::cout << *conf.get<dunedaq::appmodel::SNBFileSourceParameters>(*i, init_children) << std::endl;
783 }
784 else if(class_name == "SNBFileTransfer") {
785 std::cout << *conf.get<dunedaq::appmodel::SNBFileTransfer>(*i, init_children) << std::endl;
786 }
787 else if(class_name == "SNBTransferApplication") {
788 std::cout << *conf.get<dunedaq::appmodel::SNBTransferApplication>(*i, init_children) << std::endl;
789 }
790 else if(class_name == "SNBTransferBookkeeper") {
791 std::cout << *conf.get<dunedaq::appmodel::SNBTransferBookkeeper>(*i, init_children) << std::endl;
792 }
793 else if(class_name == "SNBTransferConf") {
794 std::cout << *conf.get<dunedaq::appmodel::SNBTransferConf>(*i, init_children) << std::endl;
795 }
796 else if(class_name == "SSPLEDCalibModule") {
797 std::cout << *conf.get<dunedaq::appmodel::SSPLEDCalibModule>(*i, init_children) << std::endl;
798 }
799 else if(class_name == "SSPRegister") {
800 std::cout << *conf.get<dunedaq::appmodel::SSPRegister>(*i, init_children) << std::endl;
801 }
802 else if(class_name == "SamplesOverThresholdMinima") {
803 std::cout << *conf.get<dunedaq::appmodel::SamplesOverThresholdMinima>(*i, init_children) << std::endl;
804 }
805 else if(class_name == "SmartDaqApplication") {
806 std::cout << *conf.get<dunedaq::appmodel::SmartDaqApplication>(*i, init_children) << std::endl;
807 }
808 else if(class_name == "SocketDataSender") {
809 std::cout << *conf.get<dunedaq::appmodel::SocketDataSender>(*i, init_children) << std::endl;
810 }
811 else if(class_name == "SocketDataWriterConf") {
812 std::cout << *conf.get<dunedaq::appmodel::SocketDataWriterConf>(*i, init_children) << std::endl;
813 }
814 else if(class_name == "SocketDataWriterModule") {
815 std::cout << *conf.get<dunedaq::appmodel::SocketDataWriterModule>(*i, init_children) << std::endl;
816 }
817 else if(class_name == "SocketReaderConf") {
818 std::cout << *conf.get<dunedaq::appmodel::SocketReaderConf>(*i, init_children) << std::endl;
819 }
820 else if(class_name == "SocketReaderModule") {
821 std::cout << *conf.get<dunedaq::appmodel::SocketReaderModule>(*i, init_children) << std::endl;
822 }
823 else if(class_name == "SocketReceiver") {
824 std::cout << *conf.get<dunedaq::appmodel::SocketReceiver>(*i, init_children) << std::endl;
825 }
826 else if(class_name == "SocketWriterConf") {
827 std::cout << *conf.get<dunedaq::appmodel::SocketWriterConf>(*i, init_children) << std::endl;
828 }
829 else if(class_name == "SocketWriterModule") {
830 std::cout << *conf.get<dunedaq::appmodel::SocketWriterModule>(*i, init_children) << std::endl;
831 }
832 else if(class_name == "SourceIDConf") {
833 std::cout << *conf.get<dunedaq::appmodel::SourceIDConf>(*i, init_children) << std::endl;
834 }
835 else if(class_name == "SourceIDToNetworkConnection") {
836 std::cout << *conf.get<dunedaq::appmodel::SourceIDToNetworkConnection>(*i, init_children) << std::endl;
837 }
838 else if(class_name == "StandaloneTCMakerConf") {
839 std::cout << *conf.get<dunedaq::appmodel::StandaloneTCMakerConf>(*i, init_children) << std::endl;
840 }
841 else if(class_name == "StandaloneTCMakerModule") {
842 std::cout << *conf.get<dunedaq::appmodel::StandaloneTCMakerModule>(*i, init_children) << std::endl;
843 }
844 else if(class_name == "StreamEmulationParameters") {
845 std::cout << *conf.get<dunedaq::appmodel::StreamEmulationParameters>(*i, init_children) << std::endl;
846 }
847 else if(class_name == "SubdetectorReadoutWindowMap") {
848 std::cout << *conf.get<dunedaq::appmodel::SubdetectorReadoutWindowMap>(*i, init_children) << std::endl;
849 }
850 else if(class_name == "TAAlgorithm") {
851 std::cout << *conf.get<dunedaq::appmodel::TAAlgorithm>(*i, init_children) << std::endl;
852 }
853 else if(class_name == "TADataProcessor") {
854 std::cout << *conf.get<dunedaq::appmodel::TADataProcessor>(*i, init_children) << std::endl;
855 }
856 else if(class_name == "TAMakerADCSimpleWindowAlgorithm") {
857 std::cout << *conf.get<dunedaq::appmodel::TAMakerADCSimpleWindowAlgorithm>(*i, init_children) << std::endl;
858 }
859 else if(class_name == "TAMakerBundleNAlgorithm") {
860 std::cout << *conf.get<dunedaq::appmodel::TAMakerBundleNAlgorithm>(*i, init_children) << std::endl;
861 }
862 else if(class_name == "TAMakerChannelAdjacencyAlgorithm") {
863 std::cout << *conf.get<dunedaq::appmodel::TAMakerChannelAdjacencyAlgorithm>(*i, init_children) << std::endl;
864 }
865 else if(class_name == "TAMakerChannelDistanceAlgorithm") {
866 std::cout << *conf.get<dunedaq::appmodel::TAMakerChannelDistanceAlgorithm>(*i, init_children) << std::endl;
867 }
868 else if(class_name == "TAMakerDBSCANAlgorithm") {
869 std::cout << *conf.get<dunedaq::appmodel::TAMakerDBSCANAlgorithm>(*i, init_children) << std::endl;
870 }
871 else if(class_name == "TAMakerHorizontalMuonAlgorithm") {
872 std::cout << *conf.get<dunedaq::appmodel::TAMakerHorizontalMuonAlgorithm>(*i, init_children) << std::endl;
873 }
874 else if(class_name == "TAMakerMichelElectronAlgorithm") {
875 std::cout << *conf.get<dunedaq::appmodel::TAMakerMichelElectronAlgorithm>(*i, init_children) << std::endl;
876 }
877 else if(class_name == "TAMakerPlaneCoincidenceAlgorithm") {
878 std::cout << *conf.get<dunedaq::appmodel::TAMakerPlaneCoincidenceAlgorithm>(*i, init_children) << std::endl;
879 }
880 else if(class_name == "TAMakerPrescaleAlgorithm") {
881 std::cout << *conf.get<dunedaq::appmodel::TAMakerPrescaleAlgorithm>(*i, init_children) << std::endl;
882 }
883 else if(class_name == "TCAlgorithm") {
884 std::cout << *conf.get<dunedaq::appmodel::TCAlgorithm>(*i, init_children) << std::endl;
885 }
886 else if(class_name == "TCDataProcessor") {
887 std::cout << *conf.get<dunedaq::appmodel::TCDataProcessor>(*i, init_children) << std::endl;
888 }
889 else if(class_name == "TCMakerADCSimpleWindowAlgorithm") {
890 std::cout << *conf.get<dunedaq::appmodel::TCMakerADCSimpleWindowAlgorithm>(*i, init_children) << std::endl;
891 }
892 else if(class_name == "TCMakerBundleNAlgorithm") {
893 std::cout << *conf.get<dunedaq::appmodel::TCMakerBundleNAlgorithm>(*i, init_children) << std::endl;
894 }
895 else if(class_name == "TCMakerChannelAdjacencyAlgorithm") {
896 std::cout << *conf.get<dunedaq::appmodel::TCMakerChannelAdjacencyAlgorithm>(*i, init_children) << std::endl;
897 }
898 else if(class_name == "TCMakerChannelDistanceAlgorithm") {
899 std::cout << *conf.get<dunedaq::appmodel::TCMakerChannelDistanceAlgorithm>(*i, init_children) << std::endl;
900 }
901 else if(class_name == "TCMakerDBSCANAlgorithm") {
902 std::cout << *conf.get<dunedaq::appmodel::TCMakerDBSCANAlgorithm>(*i, init_children) << std::endl;
903 }
904 else if(class_name == "TCMakerHorizontalMuonAlgorithm") {
905 std::cout << *conf.get<dunedaq::appmodel::TCMakerHorizontalMuonAlgorithm>(*i, init_children) << std::endl;
906 }
907 else if(class_name == "TCMakerMichelElectronAlgorithm") {
908 std::cout << *conf.get<dunedaq::appmodel::TCMakerMichelElectronAlgorithm>(*i, init_children) << std::endl;
909 }
910 else if(class_name == "TCMakerPlaneCoincidenceAlgorithm") {
911 std::cout << *conf.get<dunedaq::appmodel::TCMakerPlaneCoincidenceAlgorithm>(*i, init_children) << std::endl;
912 }
913 else if(class_name == "TCMakerPrescaleAlgorithm") {
914 std::cout << *conf.get<dunedaq::appmodel::TCMakerPrescaleAlgorithm>(*i, init_children) << std::endl;
915 }
916 else if(class_name == "TCReadoutMap") {
917 std::cout << *conf.get<dunedaq::appmodel::TCReadoutMap>(*i, init_children) << std::endl;
918 }
919 else if(class_name == "TDEAMCModule") {
920 std::cout << *conf.get<dunedaq::appmodel::TDEAMCModule>(*i, init_children) << std::endl;
921 }
922 else if(class_name == "TDEAMCModuleConf") {
923 std::cout << *conf.get<dunedaq::appmodel::TDEAMCModuleConf>(*i, init_children) << std::endl;
924 }
925 else if(class_name == "TDECrateApplication") {
926 std::cout << *conf.get<dunedaq::appmodel::TDECrateApplication>(*i, init_children) << std::endl;
927 }
928 else if(class_name == "TPCRawDataProcessor") {
929 std::cout << *conf.get<dunedaq::appmodel::TPCRawDataProcessor>(*i, init_children) << std::endl;
930 }
931 else if(class_name == "TPDataProcessor") {
932 std::cout << *conf.get<dunedaq::appmodel::TPDataProcessor>(*i, init_children) << std::endl;
933 }
934 else if(class_name == "TPReplayApplication") {
935 std::cout << *conf.get<dunedaq::appmodel::TPReplayApplication>(*i, init_children) << std::endl;
936 }
937 else if(class_name == "TPReplayModule") {
938 std::cout << *conf.get<dunedaq::appmodel::TPReplayModule>(*i, init_children) << std::endl;
939 }
940 else if(class_name == "TPReplayModuleConf") {
941 std::cout << *conf.get<dunedaq::appmodel::TPReplayModuleConf>(*i, init_children) << std::endl;
942 }
943 else if(class_name == "TPStreamConf") {
944 std::cout << *conf.get<dunedaq::appmodel::TPStreamConf>(*i, init_children) << std::endl;
945 }
946 else if(class_name == "TPStreamWriterApplication") {
947 std::cout << *conf.get<dunedaq::appmodel::TPStreamWriterApplication>(*i, init_children) << std::endl;
948 }
949 else if(class_name == "TPStreamWriterConf") {
950 std::cout << *conf.get<dunedaq::appmodel::TPStreamWriterConf>(*i, init_children) << std::endl;
951 }
952 else if(class_name == "TPStreamWriterModule") {
953 std::cout << *conf.get<dunedaq::appmodel::TPStreamWriterModule>(*i, init_children) << std::endl;
954 }
955 else if(class_name == "TRBConf") {
956 std::cout << *conf.get<dunedaq::appmodel::TRBConf>(*i, init_children) << std::endl;
957 }
958 else if(class_name == "TRBModule") {
959 std::cout << *conf.get<dunedaq::appmodel::TRBModule>(*i, init_children) << std::endl;
960 }
961 else if(class_name == "TRMonReqApplication") {
962 std::cout << *conf.get<dunedaq::appmodel::TRMonReqApplication>(*i, init_children) << std::endl;
963 }
964 else if(class_name == "TRMonRequestorConf") {
965 std::cout << *conf.get<dunedaq::appmodel::TRMonRequestorConf>(*i, init_children) << std::endl;
966 }
967 else if(class_name == "TRMonRequestorModule") {
968 std::cout << *conf.get<dunedaq::appmodel::TRMonRequestorModule>(*i, init_children) << std::endl;
969 }
970 else if(class_name == "TdeAmcDetDataSender") {
971 std::cout << *conf.get<dunedaq::appmodel::TdeAmcDetDataSender>(*i, init_children) << std::endl;
972 }
973 else if(class_name == "TriggerApplication") {
974 std::cout << *conf.get<dunedaq::appmodel::TriggerApplication>(*i, init_children) << std::endl;
975 }
976 else if(class_name == "TriggerBitword") {
977 std::cout << *conf.get<dunedaq::appmodel::TriggerBitword>(*i, init_children) << std::endl;
978 }
979 else if(class_name == "TriggerDataHandlerModule") {
980 std::cout << *conf.get<dunedaq::appmodel::TriggerDataHandlerModule>(*i, init_children) << std::endl;
981 }
982 else if(class_name == "WIBModule") {
983 std::cout << *conf.get<dunedaq::appmodel::WIBModule>(*i, init_children) << std::endl;
984 }
985 else if(class_name == "WIBModuleConf") {
986 std::cout << *conf.get<dunedaq::appmodel::WIBModuleConf>(*i, init_children) << std::endl;
987 }
988 else if(class_name == "WIBPulserSettings") {
989 std::cout << *conf.get<dunedaq::appmodel::WIBPulserSettings>(*i, init_children) << std::endl;
990 }
991 else if(class_name == "WIBSettings") {
992 std::cout << *conf.get<dunedaq::appmodel::WIBSettings>(*i, init_children) << std::endl;
993 }
994 else if(class_name == "WIECApplication") {
995 std::cout << *conf.get<dunedaq::appmodel::WIECApplication>(*i, init_children) << std::endl;
996 }
997 else {
998 std::cerr << "ERROR: do not know how to dump object of " << class_name << " class\n";
999 return (EXIT_FAILURE);
1000 }
1001 }
1002 }
1003 catch (dunedaq::conffwk::Exception & ex) {
1004 std::cerr << "Caught " << ex << std::endl;
1005 return (EXIT_FAILURE);
1006 }
1007
1008 return 0;
1009}
Represents database objects.
const std::string & UID() const noexcept
Return object identity.
Defines base class for cache of template objects.
Try to access non-existent object or class.
Definition Errors.hpp:47
static void no_param(const char *s)
static void usage()

◆ no_param()

static void no_param ( const char * s)
static

Definition at line 244 of file dump_dunedaq__appmodel.cpp.

245{
246 std::cerr << "ERROR: the required argument for option \'" << s << "\' is missing\n\n";
247 exit (EXIT_FAILURE);
248}

◆ usage()

static void usage ( const char * s)
static

Definition at line 224 of file dump_dunedaq__appmodel.cpp.

225{
226 std::cout << s << " -d db-name -c class-name [-q query | -i object-id] [-t]\n"
227 "\n"
228 "Options/Arguments:\n"
229 " -d | --data db-name mandatory name of the database\n"
230 " -c | --class-name class-name mandatory name of class\n"
231 " -q | --query query optional query to select class objects\n"
232 " -i | --object-id object-id optional identity to select one object\n"
233 " -t | --init-children all referenced objects are initialized (is used\n"
234 " for debug purposes and performance measurements)\n"
235 " -h | --help print this message\n"
236 "\n"
237 "Description:\n"
238 " The program prints out object(s) of given class.\n"
239 " If no query or object id is provided, all objects of the class are printed.\n"
240 " It is automatically generated by oksdalgen utility.\n"
241 "\n";
242}