Transfers the JetFlavourInfos from the original GenJets to the slimmedGenJets in MiniAOD. More...
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 |
Public Types inherited from edm::stream::EDProducerBase | |
typedef EDProducerAdaptorBase | ModuleType |
Public Types inherited from edm::ProducerBase | |
using | ModuleToResolverIndicies = std::unordered_multimap< std::string, std::tuple< edm::TypeID const *, const char *, edm::ProductResolverIndex >> |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Static Public Member Functions inherited from edm::stream::EDProducerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | consumes (TypeToGet const &id, edm::InputTag const &tag) |
ConsumesCollector | consumesCollector () |
Use a ConsumesCollector to gather consumes information from helper functions. More... | |
template<typename ProductType , BranchType B = InEvent> | |
void | consumesMany () |
void | consumesMany (const TypeToGet &id) |
template<BranchType B> | |
void | consumesMany (const TypeToGet &id) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
Transfers the JetFlavourInfos from the original GenJets to the slimmedGenJets in MiniAOD.
Definition at line 27 of file GenJetFlavourInfoPreserver.cc.
|
explicit |
Definition at line 44 of file GenJetFlavourInfoPreserver.cc.
|
inlineoverride |
Definition at line 30 of file GenJetFlavourInfoPreserver.cc.
|
override |
Definition at line 54 of file GenJetFlavourInfoPreserver.cc.
References DEFINE_FWK_MODULE, slimmedGenJetsFlavourInfos_cfi::genJetFlavourInfos, genJetFlavourInfosToken_, ttbarCategorization_cff::genJets, genJetsToken_, edm::Event::getByToken(), mps_fire::i, GenHFHadronMatcher_cfi::jetFlavourInfos, eostools::move(), edm::Event::put(), edm::AssociationVector< KeyRefProd, CVal, KeyRef, SizeType, KeyReferenceHelper >::size(), slimmedGenJetsFlavourInfos_cfi::slimmedGenJetAssociation, slimmedGenJetAssociationToken_, slimmedGenJets_cfi::slimmedGenJets, and slimmedGenJetsToken_.
Referenced by ~GenJetFlavourInfoPreserver().
|
private |
Definition at line 38 of file GenJetFlavourInfoPreserver.cc.
Referenced by produce().
|
private |
Definition at line 35 of file GenJetFlavourInfoPreserver.cc.
Referenced by produce().
|
private |
Definition at line 39 of file GenJetFlavourInfoPreserver.cc.
Referenced by produce().
|
private |
Definition at line 36 of file GenJetFlavourInfoPreserver.cc.
Referenced by produce().