CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes
RegressionHelper::ESGetTokens Struct Reference

#include <RegressionHelper.h>

Public Member Functions

 ESGetTokens (Configuration const &cfg, bool useEcalReg, bool useCombinationReg, edm::ConsumesCollector &cc)
 

Public Attributes

edm::ESGetToken< CaloGeometry, CaloGeometryRecordcaloGeometry
 
edm::ESGetToken< CaloTopology, CaloTopologyRecordcaloTopology
 
edm::ESGetToken< GBRForest, GBRWrapperRcdcombinationReg
 
edm::ESGetToken< GBRForest, GBRWrapperRcdecalRegBarrel
 
edm::ESGetToken< GBRForest, GBRWrapperRcdecalRegEndcap
 
edm::ESGetToken< GBRForest, GBRWrapperRcdecalRegErrorBarrel
 
edm::ESGetToken< GBRForest, GBRWrapperRcdecalRegErrorEndcap
 

Detailed Description

Definition at line 37 of file RegressionHelper.h.

Constructor & Destructor Documentation

◆ ESGetTokens()

RegressionHelper::ESGetTokens::ESGetTokens ( Configuration const &  cfg,
bool  useEcalReg,
bool  useCombinationReg,
edm::ConsumesCollector cc 
)

Definition at line 8 of file RegressionHelper.cc.

12  : caloTopology{cc.esConsumes()}, caloGeometry{cc.esConsumes()} {
13  if (useEcalReg && cfg.ecalWeightsFromDB) {
14  ecalRegBarrel = cc.esConsumes<GBRForest, GBRWrapperRcd>(edm::ESInputTag("", cfg.ecalRegressionWeightLabels[0]));
15  ecalRegEndcap = cc.esConsumes<GBRForest, GBRWrapperRcd>(edm::ESInputTag("", cfg.ecalRegressionWeightLabels[1]));
17  cc.esConsumes<GBRForest, GBRWrapperRcd>(edm::ESInputTag("", cfg.ecalRegressionWeightLabels[2]));
19  cc.esConsumes<GBRForest, GBRWrapperRcd>(edm::ESInputTag("", cfg.ecalRegressionWeightLabels[3]));
20  }
21  if (useCombinationReg && cfg.combinationWeightsFromDB) {
23  cc.esConsumes<GBRForest, GBRWrapperRcd>(edm::ESInputTag("", cfg.combinationRegressionWeightLabels[0]));
24  }
25 }

Member Data Documentation

◆ caloGeometry

edm::ESGetToken<CaloGeometry, CaloGeometryRecord> RegressionHelper::ESGetTokens::caloGeometry

Definition at line 41 of file RegressionHelper.h.

Referenced by RegressionHelper::checkSetup().

◆ caloTopology

edm::ESGetToken<CaloTopology, CaloTopologyRecord> RegressionHelper::ESGetTokens::caloTopology

Definition at line 40 of file RegressionHelper.h.

Referenced by RegressionHelper::checkSetup().

◆ combinationReg

edm::ESGetToken<GBRForest, GBRWrapperRcd> RegressionHelper::ESGetTokens::combinationReg

Definition at line 46 of file RegressionHelper.h.

Referenced by RegressionHelper::checkSetup().

◆ ecalRegBarrel

edm::ESGetToken<GBRForest, GBRWrapperRcd> RegressionHelper::ESGetTokens::ecalRegBarrel

Definition at line 42 of file RegressionHelper.h.

Referenced by RegressionHelper::checkSetup().

◆ ecalRegEndcap

edm::ESGetToken<GBRForest, GBRWrapperRcd> RegressionHelper::ESGetTokens::ecalRegEndcap

Definition at line 43 of file RegressionHelper.h.

Referenced by RegressionHelper::checkSetup().

◆ ecalRegErrorBarrel

edm::ESGetToken<GBRForest, GBRWrapperRcd> RegressionHelper::ESGetTokens::ecalRegErrorBarrel

Definition at line 44 of file RegressionHelper.h.

Referenced by RegressionHelper::checkSetup().

◆ ecalRegErrorEndcap

edm::ESGetToken<GBRForest, GBRWrapperRcd> RegressionHelper::ESGetTokens::ecalRegErrorEndcap

Definition at line 45 of file RegressionHelper.h.

Referenced by RegressionHelper::checkSetup().

edm::ESInputTag
Definition: ESInputTag.h:87
RegressionHelper::ESGetTokens::caloGeometry
edm::ESGetToken< CaloGeometry, CaloGeometryRecord > caloGeometry
Definition: RegressionHelper.h:41
GBRForest
Definition: GBRForest.h:24
RegressionHelper::ESGetTokens::ecalRegErrorBarrel
edm::ESGetToken< GBRForest, GBRWrapperRcd > ecalRegErrorBarrel
Definition: RegressionHelper.h:44
RegressionHelper::ESGetTokens::ecalRegEndcap
edm::ESGetToken< GBRForest, GBRWrapperRcd > ecalRegEndcap
Definition: RegressionHelper.h:43
RegressionHelper::ESGetTokens::caloTopology
edm::ESGetToken< CaloTopology, CaloTopologyRecord > caloTopology
Definition: RegressionHelper.h:40
RegressionHelper::ESGetTokens::ecalRegErrorEndcap
edm::ESGetToken< GBRForest, GBRWrapperRcd > ecalRegErrorEndcap
Definition: RegressionHelper.h:45
RegressionHelper::ESGetTokens::combinationReg
edm::ESGetToken< GBRForest, GBRWrapperRcd > combinationReg
Definition: RegressionHelper.h:46
cc
RegressionHelper::ESGetTokens::ecalRegBarrel
edm::ESGetToken< GBRForest, GBRWrapperRcd > ecalRegBarrel
Definition: RegressionHelper.h:42
looper.cfg
cfg
Definition: looper.py:296
GBRWrapperRcd
Definition: GBRWrapperRcd.h:24