59 virtual void endJob()
override ;
70 GenHandle_(iConfig.getUntrackedParameter<
InputTag>(
"GenTag")),
71 njets_(iConfig.getParameter<int32_t>(
"Njets")),
72 minpt_(iConfig.getParameter<double>(
"MinPt"))
91 for(GenJetCollection::const_iterator iJet =
GenJets->begin(); iJet !=
GenJets->end(); ++iJet)
#define DEFINE_FWK_MODULE(type)
Jets made from MC generator particles.
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
virtual void beginJob() override
virtual bool filter(edm::Event &, const edm::EventSetup &) override
NJetsMC(const edm::ParameterSet &)
virtual void endJob() override
virtual double pt() const final
transverse momentum