49 bool accepted =
false;
58 int ebabovethresh = 0;
59 int eeabovethresh = 0;
60 int etotabovethresh = 0;
68 if (!EBRecHitCollection_.label().empty() && !EBRecHitCollection_.instance().empty()) {
69 iEvent.getByLabel(EBRecHitCollection_, pEBRecHits);
73 edm::LogError(
"EcalRecHitError") <<
"Error! can't get the product " << EBRecHitCollection_.label();
77 if (!EERecHitCollection_.label().empty() && !EERecHitCollection_.instance().empty()) {
78 iEvent.getByLabel(EERecHitCollection_, pEERecHits);
83 edm::LogError(
"EcalRecHitError") <<
"Error! can't get the product " << EERecHitCollection_.label();
105 if (ebabovethresh >=
EBnum)
107 if (eeabovethresh >=
EEnum)
109 if (etotabovethresh >=
ETOTnum)
112 accepted = eb | ee | etot;