#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::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 85 of file BaseMVAValueMapProducer.h.
|
inlineexplicit |
Definition at line 87 of file BaseMVAValueMapProducer.h.
|
inlineoverride |
Definition at line 135 of file BaseMVAValueMapProducer.h.
|
inlineoverrideprivate |
Definition at line 149 of file BaseMVAValueMapProducer.h.
|
inlineoverrideprivate |
Definition at line 151 of file BaseMVAValueMapProducer.h.
|
inlineprivatevirtual |
Reimplemented in BJetEnergyRegressionMVA, and EvaluateMuonMVAID.
Definition at line 155 of file BaseMVAValueMapProducer.h.
|
static |
Definition at line 328 of file BaseMVAValueMapProducer.h.
|
static |
Definition at line 286 of file BaseMVAValueMapProducer.h.
Referenced by EvaluateMuonMVAID::fillDescriptions(), and BJetEnergyRegressionMVA::fillDescriptions().
|
static |
Definition at line 283 of file BaseMVAValueMapProducer.h.
|
static |
Definition at line 273 of file BaseMVAValueMapProducer.h.
|
overrideprivate |
Definition at line 178 of file BaseMVAValueMapProducer.h.
|
inlineprivatevirtual |
to be implemented in derived classes, filling values for additional variables
Reimplemented in BJetEnergyRegressionMVA.
Definition at line 154 of file BaseMVAValueMapProducer.h.
|
inline |
Definition at line 137 of file BaseMVAValueMapProducer.h.
|
private |
Definition at line 164 of file BaseMVAValueMapProducer.h.
|
private |
Definition at line 170 of file BaseMVAValueMapProducer.h.
|
private |
Definition at line 159 of file BaseMVAValueMapProducer.h.
Referenced by BaseMVAValueMapProducer< pat::Muon >::BaseMVAValueMapProducer().
|
private |
Definition at line 171 of file BaseMVAValueMapProducer.h.
Referenced by BaseMVAValueMapProducer< pat::Muon >::BaseMVAValueMapProducer().
|
private |
Definition at line 166 of file BaseMVAValueMapProducer.h.
Referenced by BaseMVAValueMapProducer< pat::Muon >::BaseMVAValueMapProducer().
|
private |
Definition at line 163 of file BaseMVAValueMapProducer.h.
Referenced by BaseMVAValueMapProducer< pat::Muon >::BaseMVAValueMapProducer().
|
private |
Definition at line 169 of file BaseMVAValueMapProducer.h.
Referenced by BaseMVAValueMapProducer< pat::Muon >::BaseMVAValueMapProducer().
|
private |
Definition at line 174 of file BaseMVAValueMapProducer.h.
Referenced by BaseMVAValueMapProducer< pat::Muon >::BaseMVAValueMapProducer().
|
private |
Definition at line 173 of file BaseMVAValueMapProducer.h.
Referenced by BaseMVAValueMapProducer< pat::Muon >::BaseMVAValueMapProducer().
|
private |
Definition at line 172 of file BaseMVAValueMapProducer.h.
Referenced by BaseMVAValueMapProducer< pat::Muon >::BaseMVAValueMapProducer().
|
private |
Definition at line 158 of file BaseMVAValueMapProducer.h.
Referenced by BaseMVAValueMapProducer< pat::Muon >::BaseMVAValueMapProducer(), and BaseMVAValueMapProducer< pat::Muon >::setValue().
|
private |
Definition at line 161 of file BaseMVAValueMapProducer.h.
Referenced by BaseMVAValueMapProducer< pat::Muon >::BaseMVAValueMapProducer().
|
private |
Definition at line 157 of file BaseMVAValueMapProducer.h.
|
private |
Definition at line 168 of file BaseMVAValueMapProducer.h.
Referenced by BaseMVAValueMapProducer< pat::Muon >::BaseMVAValueMapProducer().
|
private |
Definition at line 167 of file BaseMVAValueMapProducer.h.
Referenced by BaseMVAValueMapProducer< pat::Muon >::BaseMVAValueMapProducer().
|
private |
Definition at line 160 of file BaseMVAValueMapProducer.h.
Referenced by BaseMVAValueMapProducer< pat::Muon >::BaseMVAValueMapProducer(), and BaseMVAValueMapProducer< pat::Muon >::setValue().
|
private |
Definition at line 165 of file BaseMVAValueMapProducer.h.
Referenced by BaseMVAValueMapProducer< pat::Muon >::BaseMVAValueMapProducer().