22 if (
abs(ebId.
ieta()) == 85 && avoidIeta85)
32 s4 +=
recHitE(
id, recHits, 1, 0);
33 s4 +=
recHitE(
id, recHits, -1, 0);
34 s4 +=
recHitE(
id, recHits, 0, 1);
35 s4 +=
recHitE(
id, recHits, 0, -1);
41 if (e1 < recHitThreshold)
47 s4 +=
recHitE(
id, recHits, 1, 0);
48 s4 +=
recHitE(
id, recHits, -1, 0);
49 s4 +=
recHitE(
id, recHits, 0, 1);
50 s4 +=
recHitE(
id, recHits, 0, -1);
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)) {
133 if (it != recHits.
end())
134 return (*it).energy();
static bool isNextToBoundary(EEDetId id)
std::vector< EcalRecHit >::const_iterator const_iterator
EEDetId offsetBy(int nrStepsX, int nrStepsY) const
static bool isNextToBoundary(EBDetId id)
Abs< T >::type abs(const T &t)
EBDetId offsetBy(int nrStepsEta, int nrStepsPhi) const
int ieta() const
get the crystal ieta
const_iterator end() const
std::vector< Item >::const_iterator const_iterator
iterator find(key_type k)
const_iterator find(uint32_t rawId) const
const_iterator end() const