diff --git a/CalibCalorimetry/HcalTPGAlgos/src/HcaluLUTTPGCoder.cc b/CalibCalorimetry/HcalTPGAlgos/src/HcaluLUTTPGCoder.cc index db55452509611..985c6598853cf 100644 --- a/CalibCalorimetry/HcalTPGAlgos/src/HcaluLUTTPGCoder.cc +++ b/CalibCalorimetry/HcalTPGAlgos/src/HcaluLUTTPGCoder.cc @@ -652,7 +652,7 @@ void HcaluLUTTPGCoder::update(const HcalDbService& conditions) { lut[adc] = 0; lut_ootpu[adc] = 0; } else { - if ((adc2fC(adc) - ped) < (pedWidth * 5.)) { + if ((adc2fC(adc) - ped) < pedWidth) { lut[adc] = 0; lut_ootpu[adc] = 0; } else { diff --git a/CaloOnlineTools/HcalOnlineDb/src/HcalLutManager.cc b/CaloOnlineTools/HcalOnlineDb/src/HcalLutManager.cc index c15d8e27e7df5..8f1a892d9376c 100644 --- a/CaloOnlineTools/HcalOnlineDb/src/HcalLutManager.cc +++ b/CaloOnlineTools/HcalOnlineDb/src/HcalLutManager.cc @@ -1754,6 +1754,8 @@ std::map> HcalLutManager::getZdcLutXml(const HcalTP _cfg.topbottom = 1; else if (row->topbottom.find('b') != std::string::npos) _cfg.topbottom = 0; + else if (row->topbottom.find('u') != std::string::npos) + _cfg.topbottom = 2; else edm::LogWarning("HcalLutManager") << "fpga out of range...";