17 ATH_CHECK(m_roiCollectionKey.initialize(m_seededDecoding));
19 if (m_seededDecoding) {
20 if (m_regsel_stgc.retrieve().isFailure()) {
22 return StatusCode::FAILURE;
25 m_regsel_stgc.disable();
28 return StatusCode::SUCCESS;
40 if (m_seededDecoding) {
42 ATH_MSG_DEBUG(
"converting sTGC BS into RDOs in ROI-seeded mode");
47 ATH_MSG_WARNING(
"Cannot retrieve muonRoI " << m_roiCollectionKey.key());
48 return StatusCode::FAILURE;
51 std::vector<uint32_t>
robs;
53 for (
auto roi : *muonRoI) {
56 m_regsel_stgc->lookup(ctx)->ROBIDList(*roi,
robs);
59 if (!m_rawDataTool->convert(
robs, ctx).isSuccess()) {
61 return StatusCode::FAILURE;
64 ATH_MSG_DEBUG(
"converting sTGC BS into RDOs in unseeded mode");
65 if (!m_rawDataTool->convert(ctx).isSuccess()) {
67 return StatusCode::FAILURE;
71 return StatusCode::SUCCESS;