Skip to content

Commit

Permalink
TPC RefMap mean lumi allowed to be negative
Browse files Browse the repository at this point in the history
  • Loading branch information
shahor02 committed Dec 21, 2023
1 parent cb6d164 commit 8f35003
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Detectors/TPC/calibration/src/CorrectionMapsLoader.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ bool CorrectionMapsLoader::accountCCDBInputs(const ConcreteDataMatcher& matcher,
if (matcher == ConcreteDataMatcher("TPC", "CorrMapRef", 0)) {
setCorrMapRef((o2::gpu::TPCFastTransform*)obj);
mCorrMapRef->rectifyAfterReadingFromFile();
if (getMeanLumiRefOverride() == 0 && mCorrMapRef->getLumi() > 0.) {
if (getMeanLumiRefOverride() == 0) {
setMeanLumiRef(mCorrMapRef->getLumi());
}
LOGP(debug, "MeanLumiRefOverride={} MeanLumiMap={} -> meanLumi = {}", getMeanLumiRefOverride(), mCorrMapRef->getLumi(), getMeanLumiRef());
Expand Down

0 comments on commit 8f35003

Please sign in to comment.