From fec521f180c79e416b137acb8358a624b0e2fd83 Mon Sep 17 00:00:00 2001 From: Matteo Concas Date: Thu, 7 Nov 2024 07:04:40 +0100 Subject: [PATCH] ITSMFT: Protect CCDB querying in case we don't need IRFrames (#13661) --- Detectors/ITSMFT/common/workflow/src/DigitReaderSpec.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Detectors/ITSMFT/common/workflow/src/DigitReaderSpec.cxx b/Detectors/ITSMFT/common/workflow/src/DigitReaderSpec.cxx index 5b0a6204ae3e6..3c7a86fe173d6 100644 --- a/Detectors/ITSMFT/common/workflow/src/DigitReaderSpec.cxx +++ b/Detectors/ITSMFT/common/workflow/src/DigitReaderSpec.cxx @@ -70,7 +70,7 @@ void DigitReader::init(InitContext& ic) void DigitReader::run(ProcessingContext& pc) { const auto& tinfo = pc.services().get(); - if (tinfo.globalRunNumberChanged) { // new run is starting: 1st call + if (tinfo.globalRunNumberChanged && mUseIRFrames) { // new run is starting: 1st call // TODO: we have to find a way define CCDBInput for IRFrames mode only using DPL fetcher auto& ccdb = o2::ccdb::BasicCCDBManager::instance(); auto rlim = ccdb.getRunDuration(tinfo.runNumber);