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/CRTBernFrameBuilderConf.hpp"
#include "appmodel/CRTBernFrameBuilderModule.hpp"
#include "appmodel/CRTFrameBuilderApplication.hpp"
#include "appmodel/CRTFrameBuilderConf.hpp"
#include "appmodel/CRTGrenobleFrameBuilderConf.hpp"
#include "appmodel/CRTGrenobleFrameBuilderModule.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/DataMoveCallbackConf.hpp"
#include "appmodel/DataMoveCallbackDescriptor.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/DetectorFrameBuilderConf.hpp"
#include "appmodel/DetectorFrameBuilderModule.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/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/SocketDetectorToDaqConnection.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 254 of file dump_dunedaq__appmodel.cpp.

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

◆ no_param()

void no_param ( const char * s)
static

Definition at line 248 of file dump_dunedaq__appmodel.cpp.

249{
250 std::cerr << "ERROR: the required argument for option \'" << s << "\' is missing\n\n";
251 exit (EXIT_FAILURE);
252}

◆ usage()

void usage ( const char * s)
static

Definition at line 228 of file dump_dunedaq__appmodel.cpp.

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