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.

References gpuPixelDoublets::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 }
edm::ESGetToken< GBRForest, GBRWrapperRcd > ecalRegErrorBarrel
edm::ESGetToken< CaloGeometry, CaloGeometryRecord > caloGeometry
edm::ESGetToken< GBRForest, GBRWrapperRcd > ecalRegEndcap
uint32_t cc[maxCellsPerHit]
Definition: gpuFishbone.h:49
edm::ESGetToken< CaloTopology, CaloTopologyRecord > caloTopology
edm::ESGetToken< GBRForest, GBRWrapperRcd > ecalRegBarrel
edm::ESGetToken< GBRForest, GBRWrapperRcd > combinationReg
edm::ESGetToken< GBRForest, GBRWrapperRcd > ecalRegErrorEndcap

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().