@@ -139,12 +139,6 @@ bool CorrectionMapsLoader::accountCCDBInputs(const ConcreteDataMatcher& matcher,
139139 setCorrMap((o2::gpu::TPCFastTransform*)obj);
140140 mCorrMap->rectifyAfterReadingFromFile();
141141 if (getMeanLumiOverride() == 0 && mCorrMap->getLumi() > 0.) {
142- // check if the specified scale type is the same as the lumi from the provided map
143- if (mCorrMap->getLumiSource() == LumiType::None) {
144- LOGP(warning, "Lumi type not set in correction map");
145- } else if (mCorrMap->getLumiSource() != getLumiScaleType()) {
146- LOGP(error, "Lumi scale type {} and lumi source {} for correction map do not match", getLumiScaleType(), int(mCorrMap->getLumiSource()));
147- }
148142 setMeanLumi(mCorrMap->getLumi());
149143 }
150144 LOGP(debug, "MeanLumiOverride={} MeanLumiMap={} -> meanLumi = {}", getMeanLumiOverride(), mCorrMap->getLumi(), getMeanLumi());
@@ -155,13 +149,6 @@ bool CorrectionMapsLoader::accountCCDBInputs(const ConcreteDataMatcher& matcher,
155149 setCorrMapRef((o2::gpu::TPCFastTransform*)obj);
156150 mCorrMapRef->rectifyAfterReadingFromFile();
157151 if (getMeanLumiRefOverride() == 0 && mCorrMapRef->getLumi() > 0.) {
158- // check if the specified scale type is the same as the lumi from the provided map
159- if (mCorrMapRef->getLumiSource() == LumiType::None) {
160- LOGP(warning, "Lumi type not set in reference correction map");
161- } else if ((getLumiScaleMode() != 0) && (mCorrMapRef->getLumiSource() != getLumiScaleType())) {
162- // check only when using derivative map, since for scalemode=0 the lumi of the reference map is not used for scaling
163- LOGP(error, "Lumi scale type {} and lumi source {} for reference correction map do not match", getLumiScaleType(), int(mCorrMapRef->getLumiSource()));
164- }
165152 setMeanLumiRef(mCorrMapRef->getLumi());
166153 }
167154 LOGP(debug, "MeanLumiRefOverride={} MeanLumiMap={} -> meanLumi = {}", getMeanLumiRefOverride(), mCorrMapRef->getLumi(), getMeanLumiRef());
@@ -188,12 +175,6 @@ bool CorrectionMapsLoader::accountCCDBInputs(const ConcreteDataMatcher& matcher,
188175 setUpdatedLumi();
189176 int scaleType = getLumiScaleType();
190177 const std::array<std::string, 3> lumiS{"OFF", "CTP", "TPC scaler"};
191- const auto lumiSource = par.lumiSource;
192- if (lumiSource == LumiType::None) {
193- LOGP(warning, "Lumi type not set in CorrMapParam");
194- } else if (lumiSource != scaleType) {
195- LOGP(error, "Lumi scale type {} and lumi source {} from CorrMapParam do not match", scaleType, int(lumiSource));
196- }
197178 if (scaleType >= lumiS.size()) {
198179 LOGP(fatal, "Wrong lumi-scale-type provided!");
199180 }
0 commit comments