Skip to content
Snippets Groups Projects
Commit 86d8bc23 authored by Edward Moyse's avatar Edward Moyse Committed by Marco Clemencic
Browse files

Make ToolSvc output clearer.

parent 665b38bf
No related branches found
No related tags found
1 merge request!1348Adds the ability to show the data dependencies of AlgTools
......@@ -665,10 +665,10 @@ StatusCode ToolSvc::start()
IDataHandleHolder* idh = dynamic_cast<IDataHandleHolder*>( iTool );
if ( idh ) {
std::ostringstream ost;
for ( auto& dh : idh->inputHandles() ) { ost << "\n INP: " << dh->fullKey(); }
for ( auto& id : idh->extraInputDeps() ) { ost << "\n EXT I: " << id; }
for ( auto& dh : idh->outputHandles() ) { ost << "\n OUT: " << dh->fullKey(); }
for ( auto& id : idh->extraOutputDeps() ) { ost << "\n EXT O: " << id; }
for ( auto& dh : idh->inputHandles() ) { ost << "\n INPUT " << dh->fullKey(); }
for ( auto& id : idh->extraInputDeps() ) { ost << "\n EXTRA INPUT " << id; }
for ( auto& dh : idh->outputHandles() ) { ost << "\n OUTPUT " << dh->fullKey(); }
for ( auto& id : idh->extraOutputDeps() ) { ost << "\n EXTRA OUTPUT " << id; }
if ( ost.str().length() > 0 ) { info() << "\n" << iTool->name() << ost.str(); }
} else {
error() << "can't cast " << iTool->name() << " to IDataHandleHolder!" << endmsg;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment