Public Member Functions | |
BJetEnergyRegressionMVA (const edm::ParameterSet &iConfig) | |
void | fillAdditionalVariables (const pat::Jet &j) override |
void | readAdditionalCollections (edm::Event &iEvent, const edm::EventSetup &) override |
to be implemented in derived classes, filling values for additional variables More... | |
Public Member Functions inherited from BaseMVAValueMapProducer< pat::Jet > | |
BaseMVAValueMapProducer (const edm::ParameterSet &iConfig) | |
void | setValue (const std::string var, float val) |
~BaseMVAValueMapProducer () override | |
Public Member Functions inherited from edm::stream::EDProducer<> | |
EDProducer ()=default | |
Public Member Functions inherited from edm::stream::EDProducerBase | |
EDProducerBase () | |
ModuleDescription const & | moduleDescription () const |
~EDProducerBase () override | |
Public Member Functions inherited from edm::ProducerBase | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
std::vector< edm::ProductResolverIndex > const & | indiciesForPutProducts (BranchType iBranchType) const |
ProducerBase () | |
std::vector< edm::ProductResolverIndex > const & | putTokenIndexToProductResolverIndex () const |
void | registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &) |
std::function< void(BranchDescription const &)> | registrationCallback () const |
used by the fwk to register list of products More... | |
void | resolvePutIndicies (BranchType iBranchType, ModuleToResolverIndicies const &iIndicies, std::string const &moduleLabel) |
virtual | ~ProducerBase () noexcept(false) |
Public Member Functions inherited from edm::EDConsumerBase | |
std::vector< ConsumesInfo > | consumesInfo () const |
void | convertCurrentProcessAlias (std::string const &processName) |
Convert "@currentProcess" in InputTag process names to the actual current process name. More... | |
EDConsumerBase () | |
EDConsumerBase (EDConsumerBase const &)=delete | |
EDConsumerBase (EDConsumerBase &&)=default | |
ProductResolverIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
void | itemsToGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
std::vector< ProductResolverIndexAndSkipBit > const & | itemsToGetFrom (BranchType iType) const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
EDConsumerBase const & | operator= (EDConsumerBase const &)=delete |
EDConsumerBase & | operator= (EDConsumerBase &&)=default |
bool | registeredToConsume (ProductResolverIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
void | updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet) |
virtual | ~EDConsumerBase () noexcept(false) |
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
Static Public Member Functions inherited from BaseMVAValueMapProducer< pat::Jet > | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
static edm::ParameterSetDescription | getDescription () |
Static Public Member Functions inherited from edm::stream::EDProducerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Private Attributes | |
edm::Handle< std::vector< reco::Vertex > > | pvs_ |
const edm::EDGetTokenT< std::vector< reco::Vertex > > | pvsrc_ |
edm::Handle< double > | rho_ |
edm::EDGetTokenT< double > | rhosrc_ |
edm::Handle< edm::View< reco::VertexCompositePtrCandidate > > | svs_ |
const edm::EDGetTokenT< edm::View< reco::VertexCompositePtrCandidate > > | svsrc_ |
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 |
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) |
Definition at line 31 of file BJetEnergyRegressionMVA.cc.
|
inlineexplicit |
Definition at line 33 of file BJetEnergyRegressionMVA.cc.
|
inlineoverridevirtual |
Reimplemented from BaseMVAValueMapProducer< pat::Jet >.
Definition at line 50 of file BJetEnergyRegressionMVA.cc.
References funct::abs(), edmIntegrityCheck::d, pat::Jet::daughterPtrVector(), deltaR(), pat::Jet::jecFactor(), reco::LeafCandidate::p4(), BPhysicsValidation_cfi::pdgid, edm::Handle< T >::product(), pvs_, rho_, and BaseMVAValueMapProducer< pat::Jet >::setValue().
|
inlinestatic |
Definition at line 119 of file BJetEnergyRegressionMVA.cc.
References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::add(), and BaseMVAValueMapProducer< T >::getDescription().
|
inlineoverridevirtual |
to be implemented in derived classes, filling values for additional variables
Reimplemented from BaseMVAValueMapProducer< pat::Jet >.
Definition at line 43 of file BJetEnergyRegressionMVA.cc.
References edm::Event::getByToken(), pvs_, pvsrc_, rho_, rhosrc_, svs_, and svsrc_.
|
private |
Definition at line 129 of file BJetEnergyRegressionMVA.cc.
Referenced by fillAdditionalVariables(), and readAdditionalCollections().
|
private |
Definition at line 128 of file BJetEnergyRegressionMVA.cc.
Referenced by readAdditionalCollections().
|
private |
Definition at line 133 of file BJetEnergyRegressionMVA.cc.
Referenced by fillAdditionalVariables(), and readAdditionalCollections().
|
private |
Definition at line 132 of file BJetEnergyRegressionMVA.cc.
Referenced by readAdditionalCollections().
|
private |
Definition at line 131 of file BJetEnergyRegressionMVA.cc.
Referenced by readAdditionalCollections().
|
private |
Definition at line 130 of file BJetEnergyRegressionMVA.cc.
Referenced by readAdditionalCollections().