From 7e6e76c12aa19ccfbbdae4c690f29b91ffaa5e38 Mon Sep 17 00:00:00 2001 From: shahoian Date: Fri, 26 Apr 2024 15:10:13 +0200 Subject: [PATCH] Restore discarded VDrift calib. creation time after imposing winner params on it --- Detectors/TPC/calibration/src/VDriftHelper.cxx | 1 + 1 file changed, 1 insertion(+) diff --git a/Detectors/TPC/calibration/src/VDriftHelper.cxx b/Detectors/TPC/calibration/src/VDriftHelper.cxx index eb36ee4351168..fb262acc1afa1 100644 --- a/Detectors/TPC/calibration/src/VDriftHelper.cxx +++ b/Detectors/TPC/calibration/src/VDriftHelper.cxx @@ -153,6 +153,7 @@ void VDriftHelper::extractCCDBInputs(ProcessingContext& pc, bool laser, bool its mSource = mVDTPCITSTgl.creationTime < mVDLaser.creationTime ? Source::Laser : Source::ITSTPCTgl; auto loseCTime = loserVD.creationTime; loserVD = mVD; // override alternative VD to avoid normalization problems later + loserVD.creationTime = loseCTime; std::string rep = fmt::format("Prefer TPC Drift from {} with time {} to {} with time {}", SourceNames[int(mSource)], mVD.creationTime, mSource == Source::Laser ? SourceNames[int(Source::ITSTPCTgl)] : SourceNames[int(Source::Laser)], mSource == Source::Laser ? mVDTPCITSTgl.creationTime : mVDLaser.creationTime);