CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes
EGRegressionModifierCondTokens Struct Reference

#include <EGRegressionModifierHelpers.h>

Public Member Functions

 EGRegressionModifierCondTokens (edm::ParameterSet const &config, std::string const &regressionKey, std::string const &uncertaintyKey, edm::ConsumesCollector &cc)
 

Public Attributes

std::vector< edm::ESGetToken< GBRForestD, GBRDWrapperRcd > > mean
 
std::vector< edm::ESGetToken< GBRForestD, GBRDWrapperRcd > > sigma
 

Detailed Description

Definition at line 13 of file EGRegressionModifierHelpers.h.

Constructor & Destructor Documentation

◆ EGRegressionModifierCondTokens()

EGRegressionModifierCondTokens::EGRegressionModifierCondTokens ( edm::ParameterSet const &  config,
std::string const &  regressionKey,
std::string const &  uncertaintyKey,
edm::ConsumesCollector cc 
)

Definition at line 3 of file EGRegressionModifierHelpers.cc.

6  {
7  for (auto const& name : config.getParameter<std::vector<std::string>>(regressionKey)) {
8  mean.push_back(cc.esConsumes<GBRForestD, GBRDWrapperRcd>(edm::ESInputTag("", name)));
9  }
10  for (auto const& name : config.getParameter<std::vector<std::string>>(uncertaintyKey)) {
11  sigma.push_back(cc.esConsumes<GBRForestD, GBRDWrapperRcd>(edm::ESInputTag("", name)));
12  }
13 }

References mean, Skims_PA_cff::name, regressionModifier_cfi::regressionKey, sigma, and regressionModifier_cfi::uncertaintyKey.

Member Data Documentation

◆ mean

std::vector<edm::ESGetToken<GBRForestD, GBRDWrapperRcd> > EGRegressionModifierCondTokens::mean

◆ sigma

std::vector<edm::ESGetToken<GBRForestD, GBRDWrapperRcd> > EGRegressionModifierCondTokens::sigma
edm::ESInputTag
Definition: ESInputTag.h:87
regressionModifier_cfi.regressionKey
regressionKey
Definition: regressionModifier_cfi.py:189
GBRDWrapperRcd
Definition: GBRDWrapperRcd.h:24
config
Definition: config.py:1
EGRegressionModifierCondTokens::mean
std::vector< edm::ESGetToken< GBRForestD, GBRDWrapperRcd > > mean
Definition: EGRegressionModifierHelpers.h:18
GBRForestD
Definition: GBRForestD.h:27
regressionModifier_cfi.uncertaintyKey
uncertaintyKey
Definition: regressionModifier_cfi.py:191
cc
EGRegressionModifierCondTokens::sigma
std::vector< edm::ESGetToken< GBRForestD, GBRDWrapperRcd > > sigma
Definition: EGRegressionModifierHelpers.h:19
Skims_PA_cff.name
name
Definition: Skims_PA_cff.py:17