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 53 of file EcalClusterLazyTools.h.

Constructor & Destructor Documentation

◆ ESGetTokens()

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

Definition at line 55 of file EcalClusterLazyTools.h.

56  : caloGeometryToken_{cc.esConsumes()},
57  caloTopologyToken_{cc.esConsumes()},
58  ecalIntercalibConstantsToken_{cc.esConsumes()},
59  ecalADCToGeVConstantToken_{cc.esConsumes()},
60  ecalLaserDbServiceToken_{cc.esConsumes()} {}

Member Function Documentation

◆ get()

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

Definition at line 62 of file EcalClusterLazyTools.h.

62  {
63  return {.caloGeometry = eventSetup.getData(caloGeometryToken_),
64  .caloTopology = eventSetup.getData(caloTopologyToken_),
65  .ecalIntercalibConstants = eventSetup.getData(ecalIntercalibConstantsToken_),
66  .ecalADCToGeV = eventSetup.getData(ecalADCToGeVConstantToken_),
67  .ecalLaserDbService = eventSetup.getData(ecalLaserDbServiceToken_)};
68  }

References EcalClusterLazyToolsBase::ESData::caloGeometry, caloGeometryToken_, caloTopologyToken_, ecalADCToGeVConstantToken_, ecalIntercalibConstantsToken_, ecalLaserDbServiceToken_, and edm::EventSetup::getData().

Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), submitPVValidationJobs.BetterConfigParser::__updateDict(), EgammaSuperClusters::analyze(), QcdPhotonsDQM::analyze(), PhotonMVANtuplizer::analyze(), EGEnergyAnalyzer::analyze(), ElectronMVANtuplizer::analyze(), PhotonEnergyCorrector::calculate(), 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::PATElectronProducer::produce(), pat::PATPhotonProducer::produce(), and PhotonIDValueMapProducer::produce().

Member Data Documentation

◆ caloGeometryToken_

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

Definition at line 71 of file EcalClusterLazyTools.h.

Referenced by get().

◆ caloTopologyToken_

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

Definition at line 72 of file EcalClusterLazyTools.h.

Referenced by get().

◆ ecalADCToGeVConstantToken_

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

Definition at line 74 of file EcalClusterLazyTools.h.

Referenced by get().

◆ ecalIntercalibConstantsToken_

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

Definition at line 73 of file EcalClusterLazyTools.h.

Referenced by get().

◆ ecalLaserDbServiceToken_

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

Definition at line 75 of file EcalClusterLazyTools.h.

Referenced by get().

EcalClusterLazyToolsBase::ESGetTokens::caloTopologyToken_
edm::ESGetToken< CaloTopology, CaloTopologyRecord > caloTopologyToken_
Definition: EcalClusterLazyTools.h:72
EcalClusterLazyToolsBase::ESGetTokens::ecalLaserDbServiceToken_
edm::ESGetToken< EcalLaserDbService, EcalLaserDbRecord > ecalLaserDbServiceToken_
Definition: EcalClusterLazyTools.h:75
EcalClusterLazyToolsBase::ESGetTokens::ecalIntercalibConstantsToken_
edm::ESGetToken< EcalIntercalibConstants, EcalIntercalibConstantsRcd > ecalIntercalibConstantsToken_
Definition: EcalClusterLazyTools.h:73
EcalClusterLazyToolsBase::ESGetTokens::ecalADCToGeVConstantToken_
edm::ESGetToken< EcalADCToGeVConstant, EcalADCToGeVConstantRcd > ecalADCToGeVConstantToken_
Definition: EcalClusterLazyTools.h:74
cc
EcalClusterLazyToolsBase::ESGetTokens::caloGeometryToken_
edm::ESGetToken< CaloGeometry, CaloGeometryRecord > caloGeometryToken_
Definition: EcalClusterLazyTools.h:71