diff --git a/Detectors/Base/src/GRPGeomHelper.cxx b/Detectors/Base/src/GRPGeomHelper.cxx index 2a76e52b3679e..e7e5248493548 100644 --- a/Detectors/Base/src/GRPGeomHelper.cxx +++ b/Detectors/Base/src/GRPGeomHelper.cxx @@ -235,7 +235,7 @@ void GRPGeomHelper::checkUpdates(ProcessingContext& pc) for (auto id = DetID::First; id <= DetID::Last; id++) { std::string binding = fmt::format("align{}", DetID::getName(id)); if (pc.inputs().getPos(binding.c_str()) < 0) { - return; + continue; } else { pc.inputs().get*>(binding); }