57 virtual void endJob()
override ;
59 bool jetGood(reco::CaloJetCollection::const_iterator &);
83 jet_tag(iConfig.getParameter<edm::
InputTag>(
"JetTag")),
84 jet_threshold(iConfig.getParameter<double>(
"JetThreshold")),
85 eta_cut(iConfig.getParameter<double>(
"EtaCut"))
108 if (cit->energy() >= jet_threshold && std::fabs(cit->eta()) <= eta_cut)
140 for (reco::CaloJetCollection::const_iterator cit =
Jets->begin();
141 cit !=
Jets->end(); cit++) {
142 if (jetGood(cit))
return true;
virtual void beginJob() override
#define DEFINE_FWK_MODULE(type)
HCALHighEnergyFilter(const edm::ParameterSet &)
tuple HCALHighEnergyFilter
virtual bool filter(edm::Event &, const edm::EventSetup &) override
virtual void endJob() override
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
bool jetGood(reco::CaloJetCollection::const_iterator &)