Skip to content

Commit b2f18e7

Browse files
committed
Restore discarded VDrift calib. creation time after imposing winner params on it
1 parent 639b9b2 commit b2f18e7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Detectors/TPC/calibration/src/VDriftHelper.cxx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,7 @@ void VDriftHelper::extractCCDBInputs(ProcessingContext& pc, bool laser, bool its
153153
mSource = mVDTPCITSTgl.creationTime < mVDLaser.creationTime ? Source::Laser : Source::ITSTPCTgl;
154154
auto loseCTime = loserVD.creationTime;
155155
loserVD = mVD; // override alternative VD to avoid normalization problems later
156+
loserVD.creationTime = loseCTime;
156157
std::string rep = fmt::format("Prefer TPC Drift from {} with time {} to {} with time {}",
157158
SourceNames[int(mSource)], mVD.creationTime, mSource == Source::Laser ? SourceNames[int(Source::ITSTPCTgl)] : SourceNames[int(Source::Laser)],
158159
mSource == Source::Laser ? mVDTPCITSTgl.creationTime : mVDLaser.creationTime);

0 commit comments

Comments
 (0)