#include <PhysicsTools/PatAlgos/plugins/BaseMVAValueMapProducer.cc>
Public Member Functions | |
BaseMVAValueMapProducer (const edm::ParameterSet &iConfig, const BaseMVACache *cache) | |
void | setValue (const std::string var, float val) |
~BaseMVAValueMapProducer () override | |
Public Member Functions inherited from edm::stream::EDProducer< edm::GlobalCache< BaseMVACache > > | |
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 |
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
static edm::ParameterSetDescription | getDescription () |
static void | globalEndJob (const BaseMVACache *cache) |
static std::unique_ptr< BaseMVACache > | initializeGlobalCache (const edm::ParameterSet &cfg) |
Private Member Functions | |
void | beginStream (edm::StreamID) override |
void | endStream () override |
virtual void | fillAdditionalVariables (const T &) |
void | produce (edm::Event &, const edm::EventSetup &) override |
virtual void | readAdditionalCollections (edm::Event &, const edm::EventSetup &) |
to be implemented in derived classes, filling values for additional variables More... | |
Private Attributes | |
std::string | backend_ |
bool | batch_eval_ |
std::vector< std::pair< std::string, StringObjectFunction< T, true > > > | funcs_ |
std::string | inputTensorName_ |
bool | isClassifier_ |
std::string | name_ |
bool | onnx_ |
std::vector< StringObjectFunction< std::vector< float > > > | output_formulas_ |
std::vector< std::string > | output_names_ |
std::string | outputTensorName_ |
std::map< std::string, size_t > | positions_ |
TMVA::Reader * | reader_ |
edm::EDGetTokenT< edm::View< T > > | src_ |
bool | tf_ |
bool | tmva_ |
std::vector< float > | values_ |
std::vector< std::string > | variablesOrder_ |
std::string | weightfilename_ |
Additional Inherited Members | |
Public Types inherited from edm::stream::EDProducer< edm::GlobalCache< BaseMVACache > > | |
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 |
Description: [one line class summary]
Implementation: [Notes on implementation]
Definition at line 78 of file BaseMVAValueMapProducer.h.
|
inlineexplicit |
Definition at line 80 of file BaseMVAValueMapProducer.h.
|
inlineoverride |
Definition at line 132 of file BaseMVAValueMapProducer.h.
|
inlineoverrideprivate |
Definition at line 146 of file BaseMVAValueMapProducer.h.
|
inlineoverrideprivate |
Definition at line 148 of file BaseMVAValueMapProducer.h.
|
inlineprivatevirtual |
Reimplemented in BJetEnergyRegressionMVA.
Definition at line 152 of file BaseMVAValueMapProducer.h.
|
static |
Definition at line 303 of file BaseMVAValueMapProducer.h.
|
static |
Definition at line 280 of file BaseMVAValueMapProducer.h.
Referenced by BJetEnergyRegressionMVA::fillDescriptions().
|
static |
Definition at line 277 of file BaseMVAValueMapProducer.h.
|
static |
Definition at line 271 of file BaseMVAValueMapProducer.h.
|
overrideprivate |
Definition at line 176 of file BaseMVAValueMapProducer.h.
|
inlineprivatevirtual |
to be implemented in derived classes, filling values for additional variables
Reimplemented in BJetEnergyRegressionMVA.
Definition at line 151 of file BaseMVAValueMapProducer.h.
|
inline |
Definition at line 134 of file BaseMVAValueMapProducer.h.
|
private |
Definition at line 162 of file BaseMVAValueMapProducer.h.
|
private |
Definition at line 168 of file BaseMVAValueMapProducer.h.
|
private |
Definition at line 156 of file BaseMVAValueMapProducer.h.
Referenced by BaseMVAValueMapProducer< pat::Jet >::BaseMVAValueMapProducer().
|
private |
Definition at line 169 of file BaseMVAValueMapProducer.h.
Referenced by BaseMVAValueMapProducer< pat::Jet >::BaseMVAValueMapProducer().
|
private |
Definition at line 164 of file BaseMVAValueMapProducer.h.
|
private |
Definition at line 161 of file BaseMVAValueMapProducer.h.
Referenced by BaseMVAValueMapProducer< pat::Jet >::BaseMVAValueMapProducer().
|
private |
Definition at line 167 of file BaseMVAValueMapProducer.h.
Referenced by BaseMVAValueMapProducer< pat::Jet >::BaseMVAValueMapProducer().
|
private |
Definition at line 172 of file BaseMVAValueMapProducer.h.
Referenced by BaseMVAValueMapProducer< pat::Jet >::BaseMVAValueMapProducer().
|
private |
Definition at line 171 of file BaseMVAValueMapProducer.h.
Referenced by BaseMVAValueMapProducer< pat::Jet >::BaseMVAValueMapProducer().
|
private |
Definition at line 170 of file BaseMVAValueMapProducer.h.
Referenced by BaseMVAValueMapProducer< pat::Jet >::BaseMVAValueMapProducer().
|
private |
Definition at line 155 of file BaseMVAValueMapProducer.h.
Referenced by BaseMVAValueMapProducer< pat::Jet >::BaseMVAValueMapProducer(), and BaseMVAValueMapProducer< pat::Jet >::setValue().
|
private |
Definition at line 159 of file BaseMVAValueMapProducer.h.
Referenced by BaseMVAValueMapProducer< pat::Jet >::BaseMVAValueMapProducer().
|
private |
Definition at line 154 of file BaseMVAValueMapProducer.h.
|
private |
Definition at line 166 of file BaseMVAValueMapProducer.h.
Referenced by BaseMVAValueMapProducer< pat::Jet >::BaseMVAValueMapProducer().
|
private |
Definition at line 165 of file BaseMVAValueMapProducer.h.
Referenced by BaseMVAValueMapProducer< pat::Jet >::BaseMVAValueMapProducer().
|
private |
Definition at line 158 of file BaseMVAValueMapProducer.h.
Referenced by BaseMVAValueMapProducer< pat::Jet >::BaseMVAValueMapProducer(), and BaseMVAValueMapProducer< pat::Jet >::setValue().
|
private |
Definition at line 157 of file BaseMVAValueMapProducer.h.
Referenced by BaseMVAValueMapProducer< pat::Jet >::BaseMVAValueMapProducer().
|
private |
Definition at line 163 of file BaseMVAValueMapProducer.h.
Referenced by BaseMVAValueMapProducer< pat::Jet >::BaseMVAValueMapProducer().