Skip to content

Commit

Permalink
ITSMFT: Protect CCDB querying in case we don't need IRFrames (#13661)
Browse files Browse the repository at this point in the history
  • Loading branch information
mconcas authored Nov 7, 2024
1 parent 096694b commit fec521f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Detectors/ITSMFT/common/workflow/src/DigitReaderSpec.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ void DigitReader::init(InitContext& ic)
void DigitReader::run(ProcessingContext& pc)
{
const auto& tinfo = pc.services().get<o2::framework::TimingInfo>();
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);
Expand Down

0 comments on commit fec521f

Please sign in to comment.