24 unsigned int ntool = m_weightTools.size();
26 for (
size_t itool = 0; itool < ntool; ++itool ) {
28 if(msgLvl(MSG::DEBUG)) m_weightTools[itool]->print();
32 ATH_MSG_ERROR(
"The received tool is not an WeightToolBase?!?" );
33 return StatusCode::FAILURE;
36 std::string toolName = m_weightTools[itool]->name();
37 if(toolName.starts_with (
"ToolSvc.")) toolName.replace(0,8,
"");
38 CutIdentifier cID = m_cutFlowSvc->registerTopFilter( toolName,
43 m_cutIDs.push_back(cID);
46 return StatusCode::SUCCESS;