7#include "GaudiKernel/EventContext.h"
13 const std::string& name,
14 const IInterface* parent )
20 if ( not inputFile.good() ) {
22 return StatusCode::FAILURE;
26 while ( std::getline( inputFile, line ) ) {
27 if ( line[0] ==
'#' ) {
continue;}
28 std::istringstream allChains( line );
31 std::string chainName;
32 allChains >> chainName;
33 if ( not chainName.empty() ) {
38 if ( not ids.empty() ) {
39 m_events.push_back( std::move(ids) );
45 return StatusCode::SUCCESS;
59 ATH_MSG_ERROR(
"No chain set found. Cannot decode CTP emulation" );
60 return StatusCode::FAILURE;
63 size_t line = ctx.evt() %
m_events.size();
66 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