22 if (
abs(ebId.
ieta()) == 85 && avoidIeta85)
62 if (chIt != dch->
end()) {
65 edm::LogError(
"EcalDBError") <<
"No NextToDead status found for xtal " <<
id.rawId();
103 uint16_t dbStatus = 0;
104 if (chIt != chs.
end()) {
106 dbStatus = chIt->getStatusCode();
108 edm::LogError(
"EcalDBError") <<
"No channel status found for xtal " <<
id.rawId()
109 <<
"! something wrong with EcalChannelStatus in your DB? ";
112 return (dbStatus >= chStatusThreshold);
129 if (
id ==
DetId(0)) {
134 return (*it).energy();