You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
LOGP(info, "Invalid TPC scaler value {} received for IDC-based scaling! Using CTP fallback", tpcScaler);
63
+
mIDC2CTPFallbackActive = true;
64
+
setMeanLumi(mCorrMap->getLumi(), false);
65
+
setMeanLumiRef(mCorrMapRef->getLumi());
66
+
setLumiScaleType(1);
67
+
} elseif (mCorrMap) {
68
+
// CTP scaling is not possible, dont do any scaling to avoid applying wrong corrections
69
+
constfloat storedIDC = mCorrMap->getIDC();
70
+
LOGP(warning, "Invalid TPC scaler value {} received for IDC-based scaling! CTP fallback not possible, using stored IDC of {} from the map to avoid applying wrong corrections", tpcScaler, storedIDC);
71
+
setInstLumi(storedIDC);
72
+
}
73
+
} else {
74
+
if (mIDC2CTPFallbackActive) {
75
+
// reset back to normal operation
76
+
LOGP(info, "Valid TPC scaler value {} received, switching back to IDC-based scaling", tpcScaler);
77
+
mIDC2CTPFallbackActive = false;
78
+
setMeanLumi(mCorrMap->getIDC(), false);
79
+
setMeanLumiRef(mCorrMapRef->getIDC());
80
+
setLumiScaleType(2);
81
+
}
82
+
// correct IDC received
83
+
setInstLumi(tpcScaler);
84
+
}
85
+
}
86
+
56
87
if (getLumiCTPAvailable() && mInstCTPLumiOverride <= 0.) {
57
88
if (pc.inputs().get<gsl::span<char>>("CTPLumi").size() == sizeof(o2::ctp::LumiInfo)) {
0 commit comments