From e2c39762a64e4a785152a6c434b0061d8934409d Mon Sep 17 00:00:00 2001 From: Giulio Eulisse <10544+ktf@users.noreply.github.com> Date: Sat, 9 Nov 2024 10:07:55 +0100 Subject: [PATCH] Update AODJAlienReaderHelpers.cxx --- Framework/AnalysisSupport/src/AODJAlienReaderHelpers.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Framework/AnalysisSupport/src/AODJAlienReaderHelpers.cxx b/Framework/AnalysisSupport/src/AODJAlienReaderHelpers.cxx index ebd355da0ac47..5d8ec7f88bc58 100644 --- a/Framework/AnalysisSupport/src/AODJAlienReaderHelpers.cxx +++ b/Framework/AnalysisSupport/src/AODJAlienReaderHelpers.cxx @@ -131,7 +131,7 @@ AlgorithmSpec AODJAlienReaderHelpers::rootFileReaderCallback(ConfigContext const if (ctx.options().isSet("aod-parent-access-level")) { parentAccessLevel = ctx.options().get("aod-parent-access-level"); } - if (ctx.options().isSet("aod-file")) { + if (!ctx.options().isSet("aod-file")) { LOGP(fatal, "No input file defined!"); throw std::runtime_error("Processing is stopped!"); }