Transfers the JetFlavourInfos from the original GenJets to the slimmedGenJets in MiniAOD. More...
Public Member Functions | |
GenJetFlavourInfoPreserver (const edm::ParameterSet &iConfig) | |
void | produce (edm::Event &iEvent, const edm::EventSetup &iSetup) override |
~GenJetFlavourInfoPreserver () override | |
Public Member Functions inherited from edm::stream::EDProducer<> | |
EDProducer ()=default | |
EDProducer (const EDProducer &)=delete | |
bool | hasAbilityToProduceInBeginLumis () const final |
bool | hasAbilityToProduceInBeginProcessBlocks () const final |
bool | hasAbilityToProduceInBeginRuns () const final |
bool | hasAbilityToProduceInEndLumis () const final |
bool | hasAbilityToProduceInEndProcessBlocks () const final |
bool | hasAbilityToProduceInEndRuns () const final |
const EDProducer & | operator= (const EDProducer &)=delete |
Private Attributes | |
const edm::EDGetTokenT< reco::JetFlavourInfoMatchingCollection > | genJetFlavourInfosToken_ |
const edm::EDGetTokenT< edm::View< reco::GenJet > > | genJetsToken_ |
const edm::EDGetTokenT< edm::Association< std::vector< reco::GenJet > > > | slimmedGenJetAssociationToken_ |
const edm::EDGetTokenT< edm::View< reco::Jet > > | slimmedGenJetsToken_ |
Additional Inherited Members | |
Public Types inherited from edm::stream::EDProducer<> | |
using | CacheTypes = CacheContexts< T... > |
using | GlobalCache = typename CacheTypes::GlobalCache |
using | HasAbility = AbilityChecker< T... > |
using | InputProcessBlockCache = typename CacheTypes::InputProcessBlockCache |
using | LuminosityBlockCache = typename CacheTypes::LuminosityBlockCache |
using | LuminosityBlockContext = LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCache > |
using | LuminosityBlockSummaryCache = typename CacheTypes::LuminosityBlockSummaryCache |
using | RunCache = typename CacheTypes::RunCache |
using | RunContext = RunContextT< RunCache, GlobalCache > |
using | RunSummaryCache = typename CacheTypes::RunSummaryCache |
Transfers the JetFlavourInfos from the original GenJets to the slimmedGenJets in MiniAOD.
Definition at line 25 of file GenJetFlavourInfoPreserver.cc.
|
explicit |
Definition at line 42 of file GenJetFlavourInfoPreserver.cc.
|
inlineoverride |
Definition at line 28 of file GenJetFlavourInfoPreserver.cc.
|
override |
Definition at line 52 of file GenJetFlavourInfoPreserver.cc.
References cms::cuda::assert(), slimmedGenJetsFlavourInfos_cfi::genJetFlavourInfos, L1CaloJetHTTProducer_cfi::genJets, mps_fire::i, iEvent, GenHFHadronMatcher_cfi::jetFlavourInfos, eostools::move(), slimmedGenJetsFlavourInfos_cfi::slimmedGenJetAssociation, and slimmedGenJets_cfi::slimmedGenJets.
|
private |
Definition at line 36 of file GenJetFlavourInfoPreserver.cc.
|
private |
Definition at line 33 of file GenJetFlavourInfoPreserver.cc.
|
private |
Definition at line 37 of file GenJetFlavourInfoPreserver.cc.
|
private |
Definition at line 34 of file GenJetFlavourInfoPreserver.cc.