20 if (
abs(ebId.
ieta()) == 85 && avoidIeta85)
57 if (chIt != dch.
end()) {
60 edm::LogError(
"EcalDBError") <<
"No NextToDead status found for xtal " <<
id.rawId();
98 uint16_t dbStatus = 0;
99 if (chIt != chs.
end()) {
101 dbStatus = chIt->getStatusCode();
103 edm::LogError(
"EcalDBError") <<
"No channel status found for xtal " <<
id.rawId()
104 <<
"! something wrong with EcalChannelStatus in your DB? ";
107 return (dbStatus >= chStatusThreshold);
124 if (
id ==
DetId(0)) {
129 return (*it).energy();
static bool isNextToBoundary(EEDetId id)
std::vector< EcalRecHit >::const_iterator const_iterator
Log< level::Error, false > LogError
int ieta() const
get the crystal ieta
static bool isNextToBoundary(EBDetId id)
EEDetId offsetBy(int nrStepsX, int nrStepsY) const
Abs< T >::type abs(const T &t)
const_iterator find(uint32_t rawId) const
std::vector< Item >::const_iterator const_iterator
EBDetId offsetBy(int nrStepsEta, int nrStepsPhi) const
const_iterator end() const