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;
T getParameter(std::string const &) const
#define DEFINE_FWK_MODULE(type)
T const * product() const
std::vector< EcalRecHit >::const_iterator const_iterator
Log< level::Error, false > LogError
T getUntrackedParameter(std::string const &, T const &) const
bool filter(edm::Event &, const edm::EventSetup &) override
ECALActivity(const edm::ParameterSet &)