CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
EcalClusterLazyToolsBase::ESGetTokens Class Reference

#include <EcalClusterLazyTools.h>

Public Member Functions

 ESGetTokens (edm::ConsumesCollector cc)
 
ESData get (edm::EventSetup const &eventSetup) const
 

Private Attributes

edm::ESGetToken< CaloGeometry, CaloGeometryRecordcaloGeometryToken_
 
edm::ESGetToken< CaloTopology, CaloTopologyRecordcaloTopologyToken_
 
edm::ESGetToken< EcalADCToGeVConstant, EcalADCToGeVConstantRcdecalADCToGeVConstantToken_
 
edm::ESGetToken< EcalIntercalibConstants, EcalIntercalibConstantsRcdecalIntercalibConstantsToken_
 
edm::ESGetToken< EcalLaserDbService, EcalLaserDbRecordecalLaserDbServiceToken_
 

Detailed Description

Definition at line 55 of file EcalClusterLazyTools.h.

Constructor & Destructor Documentation

◆ ESGetTokens()

EcalClusterLazyToolsBase::ESGetTokens::ESGetTokens ( edm::ConsumesCollector  cc)
inline

Definition at line 57 of file EcalClusterLazyTools.h.

References edm::ConsumesCollector::esConsumes().

edm::ESGetToken< CaloTopology, CaloTopologyRecord > caloTopologyToken_
edm::ESGetToken< EcalIntercalibConstants, EcalIntercalibConstantsRcd > ecalIntercalibConstantsToken_
edm::ESGetToken< CaloGeometry, CaloGeometryRecord > caloGeometryToken_
edm::ESGetToken< EcalADCToGeVConstant, EcalADCToGeVConstantRcd > ecalADCToGeVConstantToken_
edm::ESGetToken< EcalLaserDbService, EcalLaserDbRecord > ecalLaserDbServiceToken_

Member Function Documentation

◆ get()

ESData EcalClusterLazyToolsBase::ESGetTokens::get ( edm::EventSetup const &  eventSetup) const
inline

Definition at line 64 of file EcalClusterLazyTools.h.

References EcalClusterLazyToolsBase::ESData::caloGeometry, caloGeometryToken_, caloTopologyToken_, ecalADCToGeVConstantToken_, ecalIntercalibConstantsToken_, ecalLaserDbServiceToken_, and options_cfi::eventSetup.

Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), submitPVValidationJobs.BetterConfigParser::__updateDict(), EgammaSuperClusters::analyze(), QcdPhotonsDQM::analyze(), PhotonMVANtuplizer::analyze(), ElectronMVANtuplizer::analyze(), EGEnergyAnalyzer::analyze(), PhotonEnergyCorrector::calculate(), PhotonMVABasedHaloTagger::calculateMVA(), PFClusterEMEnergyCorrector::correctEnergies(), GEDPhotonProducer::fillPhotonCollection(), ElectronIdMVAProducer::filter(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), betterConfigParser.BetterConfigParser::getResultingSection(), submitPVValidationJobs.BetterConfigParser::getResultingSection(), LowPtGsfElectronSeedProducer::loop(), photonIsolationHIProducer::produce(), EgammaHLTClusterShapeProducer::produce(), EgammaHLTR9IDProducer::produce(), HiSpikeCleaner::produce(), pat::PATPhotonProducer::produce(), pat::PATElectronProducer::produce(), and PhotonIDValueMapProducer::produce().

64  {
65  return {.caloGeometry = eventSetup.getData(caloGeometryToken_),
66  .caloTopology = eventSetup.getData(caloTopologyToken_),
67  .ecalIntercalibConstants = eventSetup.getData(ecalIntercalibConstantsToken_),
68  .ecalADCToGeV = eventSetup.getData(ecalADCToGeVConstantToken_),
69  .ecalLaserDbService = eventSetup.getData(ecalLaserDbServiceToken_)};
70  }
edm::ESGetToken< CaloTopology, CaloTopologyRecord > caloTopologyToken_
edm::ESGetToken< EcalIntercalibConstants, EcalIntercalibConstantsRcd > ecalIntercalibConstantsToken_
edm::ESGetToken< CaloGeometry, CaloGeometryRecord > caloGeometryToken_
edm::ESGetToken< EcalADCToGeVConstant, EcalADCToGeVConstantRcd > ecalADCToGeVConstantToken_
edm::ESGetToken< EcalLaserDbService, EcalLaserDbRecord > ecalLaserDbServiceToken_

Member Data Documentation

◆ caloGeometryToken_

edm::ESGetToken<CaloGeometry, CaloGeometryRecord> EcalClusterLazyToolsBase::ESGetTokens::caloGeometryToken_
private

Definition at line 73 of file EcalClusterLazyTools.h.

Referenced by get().

◆ caloTopologyToken_

edm::ESGetToken<CaloTopology, CaloTopologyRecord> EcalClusterLazyToolsBase::ESGetTokens::caloTopologyToken_
private

Definition at line 74 of file EcalClusterLazyTools.h.

Referenced by get().

◆ ecalADCToGeVConstantToken_

edm::ESGetToken<EcalADCToGeVConstant, EcalADCToGeVConstantRcd> EcalClusterLazyToolsBase::ESGetTokens::ecalADCToGeVConstantToken_
private

Definition at line 76 of file EcalClusterLazyTools.h.

Referenced by get().

◆ ecalIntercalibConstantsToken_

edm::ESGetToken<EcalIntercalibConstants, EcalIntercalibConstantsRcd> EcalClusterLazyToolsBase::ESGetTokens::ecalIntercalibConstantsToken_
private

Definition at line 75 of file EcalClusterLazyTools.h.

Referenced by get().

◆ ecalLaserDbServiceToken_

edm::ESGetToken<EcalLaserDbService, EcalLaserDbRecord> EcalClusterLazyToolsBase::ESGetTokens::ecalLaserDbServiceToken_
private

Definition at line 77 of file EcalClusterLazyTools.h.

Referenced by get().