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.

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

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 }
std::vector< edm::ESGetToken< GBRForestD, GBRDWrapperRcd > > mean
uint32_t cc[maxCellsPerHit]
Definition: gpuFishbone.h:49
Definition: config.py:1
std::vector< edm::ESGetToken< GBRForestD, GBRDWrapperRcd > > sigma

Member Data Documentation

◆ mean

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

◆ sigma

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