diff --git a/examples/DDDB/src/plugins/DeVeloServiceTest.cpp b/examples/DDDB/src/plugins/DeVeloServiceTest.cpp index 36a3e1bb92588bc941b9d8bebd6c2b9557fc0c90..e39c346084b5bbb3924fa85c3e2acb59a39c87b5 100644 --- a/examples/DDDB/src/plugins/DeVeloServiceTest.cpp +++ b/examples/DDDB/src/plugins/DeVeloServiceTest.cpp @@ -130,7 +130,8 @@ namespace { dd4hep::Condition::detkey_type det_key = de.key(); dd4hep::ConditionKey::KeyMaker lower(det_key, dd4hep::Condition::FIRST_ITEM_KEY); dd4hep::ConditionKey::KeyMaker upper(det_key, dd4hep::Condition::LAST_ITEM_KEY); - cout << "Processing " << e.second << " class " << cat->classID << " -> " << de.path() << endl; + printout(DEBUG, "ServiceTest","Processing %ld class %d -> %s", + e.second, cat->classID, de.path().c_str()); m_context->detectors.insert(make_pair(det_key,make_pair(de,cat))); { auto first = cont->conditions().lower_bound(lower.hash); @@ -218,7 +219,7 @@ namespace { printout(INFO,"DDDB","Setting print level for %s to %s [%d]",__FILE__,argv[i-1],s_PrintLevel); } else if ( ::strcmp(argv[i],"--help")==0 ) { - printout(INFO,"Plugin-Help","Usage: DDDBDetectorDump --opt [--opt] "); + printout(INFO,"Plugin-Help","Usage: DDDB_DeVeloServiceTest --opt [--opt] "); printout(INFO,"Plugin-Help"," -print <value> Printlevel for output "); printout(INFO,"Plugin-Help"," -help Print this help message "); return 0; diff --git a/examples/DDDB/src/plugins/DeVeloTest.cpp b/examples/DDDB/src/plugins/DeVeloTest.cpp index e63358e098e2bcafabbcd8f3fc7fae4a933b17ee..b57108643d18dd1b59aaa369e64886655986eb85 100644 --- a/examples/DDDB/src/plugins/DeVeloTest.cpp +++ b/examples/DDDB/src/plugins/DeVeloTest.cpp @@ -128,7 +128,7 @@ namespace { dd4hep::Condition::detkey_type det_key = de.key(); dd4hep::ConditionKey::KeyMaker lower(det_key, dd4hep::Condition::FIRST_ITEM_KEY); dd4hep::ConditionKey::KeyMaker upper(det_key, dd4hep::Condition::LAST_ITEM_KEY); - printout(DEBUG, "ServiceTest","Processing %ld class %d -> %s", + printout(DEBUG, "DeVeloTest","Processing %ld class %d -> %s", e.second, cat->classID, de.path().c_str()); m_context->detectors.insert(make_pair(det_key,make_pair(de,cat))); { @@ -206,7 +206,7 @@ namespace { m_manager.clean(dd4hep::cond::ConditionsFullCleanup()); printout(dd4hep::ALWAYS,"TestSummary","Total %ld conditions load summary (S:%ld,L:%ld,C:%ld,M:%ld)", total.total(), total.selected, total.loaded, total.computed, total.missing); - printout(dd4hep::ALWAYS,"ServiceTest","Test finished...."); + printout(dd4hep::ALWAYS,"DeVeloTest","Test finished...."); return 1; } }; @@ -218,7 +218,7 @@ namespace { printout(INFO,"DDDB","Setting print level for %s to %s [%d]",__FILE__,argv[i-1],s_PrintLevel); } else if ( ::strcmp(argv[i],"--help")==0 ) { - printout(INFO,"Plugin-Help","Usage: DDDBDetectorDump --opt [--opt] "); + printout(INFO,"Plugin-Help","Usage: DDDB_DeVeloTest --opt [--opt] "); printout(INFO,"Plugin-Help"," -print <value> Printlevel for output "); printout(INFO,"Plugin-Help"," -help Print this help message "); return 0;