CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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,
CaloGeometryRecord
caloGeometry
 
edm::ESGetToken< CaloTopology,
CaloTopologyRecord
caloTopology
 
edm::ESGetToken< GBRForest,
GBRWrapperRcd
combinationReg
 
edm::ESGetToken< GBRForest,
GBRWrapperRcd
ecalRegBarrel
 
edm::ESGetToken< GBRForest,
GBRWrapperRcd
ecalRegEndcap
 
edm::ESGetToken< GBRForest,
GBRWrapperRcd
ecalRegErrorBarrel
 
edm::ESGetToken< GBRForest,
GBRWrapperRcd
ecalRegErrorEndcap
 

Detailed Description

Definition at line 37 of file RegressionHelper.h.

Constructor & Destructor Documentation

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

Definition at line 8 of file RegressionHelper.cc.

References edm::ConsumesCollector::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 }
edm::ESGetToken< GBRForest, GBRWrapperRcd > ecalRegErrorBarrel
tuple cfg
Definition: looper.py:296
edm::ESGetToken< CaloGeometry, CaloGeometryRecord > caloGeometry
edm::ESGetToken< GBRForest, GBRWrapperRcd > ecalRegEndcap
edm::ESGetToken< CaloTopology, CaloTopologyRecord > caloTopology
edm::ESGetToken< GBRForest, GBRWrapperRcd > ecalRegBarrel
edm::ESGetToken< GBRForest, GBRWrapperRcd > combinationReg
edm::ESGetToken< GBRForest, GBRWrapperRcd > ecalRegErrorEndcap

Member Data Documentation

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

Definition at line 41 of file RegressionHelper.h.

Referenced by RegressionHelper::checkSetup().

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

Definition at line 40 of file RegressionHelper.h.

Referenced by RegressionHelper::checkSetup().

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

Definition at line 46 of file RegressionHelper.h.

Referenced by RegressionHelper::checkSetup().

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

Definition at line 42 of file RegressionHelper.h.

Referenced by RegressionHelper::checkSetup().

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

Definition at line 43 of file RegressionHelper.h.

Referenced by RegressionHelper::checkSetup().

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

Definition at line 44 of file RegressionHelper.h.

Referenced by RegressionHelper::checkSetup().

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

Definition at line 45 of file RegressionHelper.h.

Referenced by RegressionHelper::checkSetup().