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 | |
bool | hasAbilityToProduceInBeginLumis () const final |
bool | hasAbilityToProduceInBeginRuns () const final |
bool | hasAbilityToProduceInEndLumis () const final |
bool | hasAbilityToProduceInEndRuns () const final |
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<> | |
typedef CacheContexts< T... > | CacheTypes |
typedef CacheTypes::GlobalCache | GlobalCache |
typedef AbilityChecker< T... > | HasAbility |
typedef CacheTypes::LuminosityBlockCache | LuminosityBlockCache |
typedef LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCache > | LuminosityBlockContext |
typedef CacheTypes::LuminosityBlockSummaryCache | LuminosityBlockSummaryCache |
typedef CacheTypes::RunCache | RunCache |
typedef RunContextT< RunCache, GlobalCache > | RunContext |
typedef CacheTypes::RunSummaryCache | 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, ttbarCategorization_cff::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.