From e202908a7327fca6721a18b546204e7a86a3e092 Mon Sep 17 00:00:00 2001 From: lietava Date: Mon, 6 Jan 2025 17:12:21 +0100 Subject: [PATCH] fixes --- Detectors/CTP/workflowIO/src/DigitReaderSpec.cxx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Detectors/CTP/workflowIO/src/DigitReaderSpec.cxx b/Detectors/CTP/workflowIO/src/DigitReaderSpec.cxx index c9d5c3a2e9299..81e6f53f42dcc 100644 --- a/Detectors/CTP/workflowIO/src/DigitReaderSpec.cxx +++ b/Detectors/CTP/workflowIO/src/DigitReaderSpec.cxx @@ -70,7 +70,6 @@ void DigitReader::init(InitContext& ic) { auto filename = o2::utils::Str::concat_string(o2::utils::Str::rectifyDirectory(ic.options().get("input-dir")), ic.options().get("ctp-digit-infile")); - LOG(info) << "init: " << ic.options().hasOption("ignore-irframes") << " " << ic.options().get("ignore-irframes"); if (ic.options().hasOption("ignore-irframes") && !ic.options().get("ignore-irframes")) { mUseIRFrames = true; } @@ -103,8 +102,8 @@ void DigitReader::run(ProcessingContext& pc) ent++; } o2::utils::IRFrameSelector irfSel; - long biasInBC = 0; // depends if digits are already aligned - irfSel.setSelectedIRFrames(irFrames, 0, 0, -biasInBC, true); + // MC digits are already aligned + irfSel.setSelectedIRFrames(irFrames, 0, 0, 0, true); const auto irMin = irfSel.getIRFrames().front().getMin(); // use processed IRframes for rough comparisons (possible shift!) const auto irMax = irfSel.getIRFrames().back().getMax(); LOGP(info, "Selecting IRFrame {}-{}", irMin.asString(), irMax.asString());