10 ISvcLocator* pService)
28 return StatusCode::FAILURE;
30 for(
unsigned int i = 0; i <
m_tools.size(); ++i) {
43 unsigned int toolCtr = 0;
44 for (ToolHandle<TBEventStreamerTool>& tool :
m_tools) {
59 return StatusCode::SUCCESS;
65 bool successFlag =
true;
66 for (ToolHandle<TBEventStreamerTool>& tool :
m_tools)
69 successFlag = tool->accept() == StatusCode::SUCCESS;
81 setFilterPassed(successFlag);
82 return StatusCode::SUCCESS;
88 for (ToolHandle<TBEventStreamerTool>& tool :
m_tools) {
91 <<
" (invoked/accept/reject) "
98 return StatusCode::SUCCESS;
#define ATH_CHECK
Evaluate an expression and check for errors.
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T, V, H > &t)
virtual ~TBEventStreamer()
std::map< ToolHandle< TBEventStreamerTool >, unsigned int > m_acceptCounter
virtual StatusCode initialize() override
std::map< ToolHandle< TBEventStreamerTool >, unsigned int > m_invokeCounter
virtual StatusCode execute() override
ToolHandleArray< TBEventStreamerTool > m_tools
std::map< ToolHandle< TBEventStreamerTool >, unsigned int > m_rejectCounter
virtual StatusCode finalize() override
TBEventStreamer(const std::string &name, ISvcLocator *pService)
Algorithm constructor.