16 for(
int tech = 0;tech<
toInt(TechnologyIndex::TechnologyIndexMax);++tech ){
17 if( tech ==
toInt(TechnologyIndex::RPC) )
m_hitTimingTools.push_back(ToolHandle<IMuonHitTimingTool>(
"Muon::RPC_TimingTool/RPC_TimingTool"));
29 ATH_MSG_ERROR(
" The MuonHitTimingTool ToolHandleArray SHOULD contain exactly "
30 <<
toInt(TechnologyIndex::TechnologyIndexMax) <<
" ToolHandles (they can be empty). ");
31 return StatusCode::FAILURE;
35 for(
int tech = 0;tech<
toInt(TechnologyIndex::TechnologyIndexMax);++tech ){
39 if( toolHandle.empty() )
continue;
42 return StatusCode::SUCCESS;
48 if( hits.empty() || !hits.front())
return {};
57 if( toolHandle.empty() ) {
61 return toolHandle->calculateTimingResult(hits);
#define ATH_CHECK
Evaluate an expression and check for errors.
#define ATH_MSG_VERBOSE(x)
TechnologyIndex
enum to classify the different layers in the muon spectrometer
constexpr int toInt(const EnumType enumVal)
const std::string & technologyName(TechnologyIndex index)
convert LayerIndex into a string
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.