33 produces<reco::GenJetCollection>().setBranchAlias(
alias);
37 auto jets = std::make_unique<reco::GenJetCollection>();
45 if (gencon ==
nullptr)
46 throw cms::Exception(
"GenConstituent",
"GenJet is missing its constituents");
48 jets->push_back(jet1);
57 desc.setComment(
"Selects genJets from collision id = 0");
void addWithDefaultLabel(ParameterSetDescription const &psetDescription)
T getParameter(std::string const &) const
edm::EDGetTokenT< edm::View< reco::GenJet > > jetSrc_
~HiSignalGenJetProducer() override=default
static void fillDescriptions(edm::ConfigurationDescriptions &)
HiSignalGenJetProducer(const edm::ParameterSet &)
Jets made from MC generator particles.
#define DEFINE_FWK_MODULE(type)
void produce(edm::StreamID, edm::Event &, const edm::EventSetup &) const override