7#include "GaudiKernel/EventContext.h"
8#include "GaudiKernel/ThreadLocalContext.h"
14 const std::string& name,
15 const IInterface* parent )
21 if ( not inputFile.good() ) {
23 return StatusCode::FAILURE;
27 while ( std::getline( inputFile, line ) ) {
28 if ( line[0] ==
'#' ) {
continue;}
29 std::istringstream allChains( line );
32 std::string chainName;
33 allChains >> chainName;
34 if ( not chainName.empty() ) {
39 if ( not ids.empty() ) {
40 m_events.push_back( std::move(ids) );
46 return StatusCode::SUCCESS;
60 ATH_MSG_ERROR(
"No chain set found. Cannot decode CTP emulation" );
61 return StatusCode::FAILURE;
64 size_t line = ctx.evt() %
m_events.size();
67 return StatusCode::SUCCESS;
#define ATH_CHECK
Evaluate an expression and check for errors.
Class holding the LVL1 RoIB result build by the RoIBuilder.
std::vector< HLT::Identifier > IDVec