CMS 3D CMS Logo

List of all members | Public Member Functions | Private Member Functions | Private Attributes | Friends
edm::EventSetup Class Reference

#include <EventSetup.h>

Public Member Functions

 EventSetup (EventSetup const &)=delete
 
 EventSetup (EventSetupImpl const &iSetup, unsigned int iTransitionID, ESProxyIndex const *iGetTokenIndices, ESParentContext const &iContext, bool iRequireToken)
 
template<typename T >
 EventSetup (T const &info, unsigned int iTransitionID, ESProxyIndex const *iGetTokenIndices, ESParentContext const &iContext, bool iRequireToken)
 
void fillAvailableRecordKeys (std::vector< eventsetup::EventSetupRecordKey > &oToFill) const
 clears the oToFill vector and then fills it with the keys for all available records More...
 
std::optional< eventsetup::EventSetupRecordGenericfind (const eventsetup::EventSetupRecordKey &iKey) const
 
template<typename T >
T get () const
 
template<typename T , typename R >
T const & getData (const ESGetToken< T, R > &iToken) const noexcept(false)
 
template<typename T >
bool getData (const ESInputTag &iTag, T &iHolder) const
 
template<typename T >
bool getData (const std::string &iLabel, T &iHolder) const
 
template<typename T , typename R >
T const & getData (ESGetToken< T, R > &iToken) const noexcept(false)
 
template<typename T >
bool getData (T &iHolder) const
 
template<typename T , typename R >
ESHandle< TgetHandle (const ESGetToken< T, R > &iToken) const
 
template<typename T , typename R >
ESTransientHandle< TgetTransientHandle (const ESGetToken< T, R > &iToken) const
 
EventSetupoperator= (EventSetup const &)=delete
 
bool recordIsProvidedByAModule (eventsetup::EventSetupRecordKey const &iKey) const
 
template<typename T >
std::optional< TtryToGet () const
 

Private Member Functions

edm::EventSetupImpl const & impl () const
 

Private Attributes

ESParentContext const * m_context
 
ESProxyIndex const * m_getTokenIndices
 
unsigned int m_id
 
bool m_requireToken
 
edm::EventSetupImpl const & m_setup
 

Friends

class edm::PileUp
 Needed until a better solution can be found. More...
 

Detailed Description

Description: Container for all Records dealing with non-RunState info

Usage: <usage>

Definition at line 58 of file EventSetup.h.

Constructor & Destructor Documentation

◆ EventSetup() [1/3]

template<typename T >
edm::EventSetup::EventSetup ( T const &  info,
unsigned int  iTransitionID,
ESProxyIndex const *  iGetTokenIndices,
ESParentContext const &  iContext,
bool  iRequireToken 
)
inlineexplicit

Definition at line 64 of file EventSetup.h.

69  : EventSetup(info.eventSetupImpl(), iTransitionID, iGetTokenIndices, iContext, iRequireToken) {}

◆ EventSetup() [2/3]

edm::EventSetup::EventSetup ( EventSetupImpl const &  iSetup,
unsigned int  iTransitionID,
ESProxyIndex const *  iGetTokenIndices,
ESParentContext const &  iContext,
bool  iRequireToken 
)
inlineexplicit

Definition at line 71 of file EventSetup.h.

76  : m_setup{iSetup},
77  m_getTokenIndices{iGetTokenIndices},
78  m_context(&iContext),
79  m_id{iTransitionID},
80  m_requireToken(iRequireToken) {}

◆ EventSetup() [3/3]

edm::EventSetup::EventSetup ( EventSetup const &  )
delete

Member Function Documentation

◆ fillAvailableRecordKeys()

void edm::EventSetup::fillAvailableRecordKeys ( std::vector< eventsetup::EventSetupRecordKey > &  oToFill) const
inline

clears the oToFill vector and then fills it with the keys for all available records

Definition at line 181 of file EventSetup.h.

181  {
183  }

References edm::EventSetupImpl::fillAvailableRecordKeys(), and m_setup.

Referenced by RawDataConverter::beginRun(), edm::PrintEventSetupDataRetrieval::check(), DTDCSByLumiTask::dqmBeginRun(), and edm::PrintEventSetupContent::print().

◆ find()

std::optional<eventsetup::EventSetupRecordGeneric> edm::EventSetup::find ( const eventsetup::EventSetupRecordKey iKey) const
inline

◆ get()

template<typename T >
T edm::EventSetup::get ( ) const
inline

returns the Record of type T. If no such record available a eventsetup::NoRecordException<T> is thrown

Definition at line 87 of file EventSetup.h.

87  {
88  using namespace eventsetup;
89  using namespace eventsetup::heterocontainer;
90  //NOTE: this will catch the case where T does not inherit from EventSetupRecord
91  // HOWEVER the error message under gcc 3.x is awful
92  static_assert(std::is_base_of_v<edm::eventsetup::EventSetupRecord, T>,
93  "Trying to get a class that is not a Record from EventSetup");
94 
96  eventsetup::EventSetupRecordKey>());
97  if (nullptr == temp) {
98  throw eventsetup::NoRecordException<T>(recordDoesExist(m_setup, eventsetup::EventSetupRecordKey::makeKey<T>()));
99  }
100  T returnValue;
101  returnValue.setImpl(temp, m_id, m_getTokenIndices, &m_setup, m_context, m_requireToken);
102  return returnValue;
103  }

References edm::EventSetupImpl::findImpl(), m_context, m_getTokenIndices, m_id, m_requireToken, m_setup, edm::eventsetup::heterocontainer::makeKey(), edm::eventsetup::recordDoesExist(), and groupFilesInBlocks::temp.

Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), submitPVValidationJobs.BetterConfigParser::__updateDict(), SiStripDigitizer::accumulate(), HcalDigitizer::accumulate(), cms::SiPixelDigitizer::accumulatePixelHits(), edm::DataMixingHcalDigiWorker::addHcalPileups(), edm::DataMixingHcalDigiWorker::addHcalSignals(), DDTestMuonNumbering::analyze(), L1TriggerKeyListExtReader::analyze(), EcalTrivialObjectAnalyzer::analyze(), ExTestEcalChannelStatusAnalyzer::analyze(), L1TriggerKeyExtViewer::analyze(), edmtest::FillInfoESAnalyzer::analyze(), edmtest::LHCInfoESAnalyzer::analyze(), CMTRawAnalyzer::analyze(), RPCStripNoisesRcdRead::analyze(), PVSSIDReader::analyze(), HcalLutGenerator::analyze(), DumpFWRecoGeometry::analyze(), QGLikelihoodDBReader::analyze(), QGLikelihoodSystematicsDBReader::analyze(), L1KeyListWriter::analyze(), L1KeyWriter::analyze(), L1TMuonOverlapParamsWriter::analyze(), DumpFWTGeoRecoGeometry::analyze(), SurveyInputCSCfromPins::analyze(), L1TCaloParamsUpdater::analyze(), L1MuScalesTester::analyze(), L1TGlobalPrescalesVetosViewer::analyze(), GBRForestGetterFromDB::analyze(), L1CondDBIOVWriterExt::analyze(), L1TCaloStage2ParamsWriter::analyze(), L1MenuViewer::analyze(), L1TGlobalPrescalesVetosWriter::analyze(), L1TMuonBarrelParamsWriter::analyze(), RPCDigiValid::analyze(), L1TMuonGlobalParamsWriter::analyze(), EcalPFRecHitThresholdsMaker::analyze(), CondReader::analyze(), L1MenuWriter::analyze(), L1TMuonEndCapForestWriter::analyze(), L1TMuonEndCapParamsWriter::analyze(), RPCPointVsRecHit::analyze(), L1TMuonEndCapParamsViewer::analyze(), edmtest::RunInfoESAnalyzer::analyze(), edmtest::RunSummaryESAnalyzer::analyze(), L1TMuonOverlapParamsViewer::analyze(), L1CondDBPayloadWriterExt::analyze(), DDCMSDetector::analyze(), HtrXmlPattern::analyze(), L1TMuonBarrelParamsViewer::analyze(), CTPPSRPAlignmentInfoReader::analyze(), CTPPSPixGainCalibsESAnalyzer::analyze(), L1TMuonGlobalParamsViewer::analyze(), RPCRecHitValid::analyze(), CTPPSPixelDAQMappingAnalyzer::analyze(), DTSurveyConvert::analyze(), WriteEcalMiscalibConstants::analyze(), WriteEcalMiscalibConstantsMC::analyze(), DTVDriftSegmentCalibration::analyze(), AlignmentStats::analyze(), EcalSRCondTools::analyze(), CSCViewDigi::analyze(), L1GctConfigDump::analyze(), L1ScalesTester::analyze(), JetResolutionDBReader::analyze(), SurveyDataConverter::analyze(), DTTTrigOffsetCalibration::analyze(), RPCGeometryServTest::analyze(), L1O2OTestAnalyzerExt::analyze(), BPHHistoSpecificDecay::analyze(), JetCorrectorDemo::analyze(), DQMSourcePi0::analyze(), FactorizedJetCorrectorDemo::analyze(), DTT0CalibrationRMS::analyze(), DTTTrigWriter::analyze(), MuonEnergyDepositAnalyzer::analyze(), edmtest::L1TriggerScalerESAnalyzer::analyze(), L1GtBoardMapsTester::analyze(), L1GtPsbSetupTester::analyze(), PhysicsObjectsMonitor::analyze(), EcalTPGAnalyzer::analyze(), DTConfigTester::analyze(), PrintTotemDAQMapping::analyze(), CSCTFConfigTestAnalyzer::analyze(), RetrieveCTPPSBeamParameters::analyze(), EcalGetLaserData::analyze(), CTPPSAlignmentInfo::analyze(), BeamConditionsMonitor::analyze(), L1MuCSCTFParametersTester::analyze(), L1GtParametersTester::analyze(), L1GtStableParametersTester::analyze(), L1CaloInputScaleTester::analyze(), WriteCTPPSBeamParameters::analyze(), DTTTrigCalibration::analyze(), KineExample::analyze(), DTVDriftCalibration::analyze(), JetCorrectorDBReader::analyze(), Mixing2DB::analyze(), CTPPSRPAlignmentInfoAnalyzer::analyze(), L1TCaloParamsViewer::analyze(), WriteCTPPSPixelAnalysisMask::analyze(), WriteCTPPSPixelDAQMapping::analyze(), TrackSplittingMonitor::analyze(), L1CondDBIOVWriter::analyze(), L1CondDBPayloadWriter::analyze(), L1GtVhdlWriter::analyze(), L1RCTChannelMaskTester::analyze(), TrackEfficiencyMonitor::analyze(), EcalDccWeightBuilder::analyze(), DTT0Calibration::analyze(), SimplePhotonAnalyzer::analyze(), TotemRPDQMSource::analyze(), L1RCTParametersTester::analyze(), JetResolutionScaleFactorDBReader::analyze(), L1RCTRelValAnalyzer::analyze(), L1CaloGeometryDump::analyze(), HcalTestNumberingTester::analyze(), CTPPSGeometryInfo::analyze(), HGCalHitCalibration::analyze(), HGCalShowerSeparation::analyze(), SiPixelDQMRocLevelAnalyzer::analyze(), CaloSimHitAnalysis::analyze(), ContainmentCorrectionAnalyzer::analyze(), BDHadronTrackMonitoringAnalyzer::analyze(), EcalSimHitStudy::analyze(), PrimaryVertexResolution::analyze(), L1O2OTestAnalyzer::analyze(), DumpSimGeometry::analyze(), TkConvValidator::analyze(), HcalCollapseAnalyzer::analyze(), MuonIdDQM::analyze(), TestHits::analyze(), TotemTimingDQMSource::analyze(), L1GtTrigReport::analyze(), DTRunConditionVar::analyze(), ElectronSeedAnalyzer::analyze(), GEMGeometryValidate::analyze(), ME0GeometryValidate::analyze(), RPCGeometryValidate::analyze(), TestSmoothHits::analyze(), BeamSpotRcdReader::analyze(), BTagPerformaceRootProducerFromSQLITE::analyze(), BeamSpotOnlineHLTRcdReader::analyze(), L1RCTTestAnalyzer::analyze(), BeamSpotOnlineLegacyRcdReader::analyze(), MuonDTDigis::analyze(), CSCGeometryValidate::analyze(), PixelLumiDQM::analyze(), TestOutliers::analyze(), TestTrackHits::analyze(), HGCalRecHitValidation::analyze(), SiStripElectronAnalyzer::analyze(), PhotonValidator::analyze(), DisplayGeom::analyze(), MuonIdVal::analyze(), ECALMultifitAnalyzer_HI::analyze(), EcalMipGraphs::analyze(), TauJetCorrectorExample::analyze(), ValidateGeometry::analyze(), EcalDisplaysByEvent::analyze(), L1CaloTowerTreeProducer::analyze(), HGCalDigiValidation::analyze(), EcalCosmicsHists::analyze(), AlignmentMonitorAsAnalyzer::analyze(), CSCOfflineMonitor::analyze(), MuonGeometrySanityCheck::analyze(), L1TTauOffline::analyze(), GlobalDigisAnalyzer::analyze(), L1MuonRecoTreeProducer::analyze(), QcdLowPtDQM::analyze(), BeamHaloAnalyzer::analyze(), L1TConfigDumper::analyze(), EcalSelectiveReadoutValidation::analyzeEB(), EcalSelectiveReadoutValidation::analyzeEE(), EcalSelectiveReadoutValidation::analyzeTP(), GlobalTrackerMuonAlignment::analyzeTrackTrack(), GlobalTrackerMuonAlignment::analyzeTrackTrajectory(), AlignmentProducerBase::applyDB(), SegmentToTrackAssociator::associate(), SegmentsTrackAssociator::associate(), ecaldqm::TrigPrimTask::beginEvent(), ecaldqm::ClusterTask::beginEvent(), reco::tau::RecoTauImpactParameterSignificancePlugin::beginEvent(), reco::tau::PFRecoTauChargedHadronFromPFCandidatePlugin::beginEvent(), TrackingRecHitAlgorithm::beginEvent(), reco::tau::PFRecoTauChargedHadronFromGenericTrackPlugin< TrackClass >::beginEvent(), PFRecHitQTestHCALChannel::beginEvent(), PFRecHitQTestECALMultiThreshold::beginEvent(), PFRecHitQTestThresholdInThicknessNormalizedMIPs::beginEvent(), PFRecHitQTestDBSeedingThreshold::beginEvent(), hcaldqm::DQClient::beginLuminosityBlock(), cms::Phase2TrackerDigitizer::beginLuminosityBlock(), EcalDeadCellDeltaRFilter::beginLuminosityBlock(), CaloTruthAccumulator::beginLuminosityBlock(), PTrackerParametersDBBuilder::beginRun(), EcalDQMonitorClient::beginRun(), L1MuonOverlapParamsDBProducer::beginRun(), XMLGeometryReader::beginRun(), hcaldqm::DQHarvester::beginRun(), HFNoseVFEProducer::beginRun(), HcalParametersDBBuilder::beginRun(), PCaloGeometryBuilder::beginRun(), ecaldqm::SelectiveReadoutTask::beginRun(), CSCRecoIdealDBLoader::beginRun(), ME0RecoIdealDBLoader::beginRun(), PHGCalParametersDBBuilder::beginRun(), RPCRecoIdealDBLoader::beginRun(), ecaldqm::TrigPrimTask::beginRun(), DTRecoIdealDBLoader::beginRun(), GEMRecoIdealDBLoader::beginRun(), PGeometricDetBuilder::beginRun(), hcaldqm::DQClient::beginRun(), RPCandIRPCDigiProducer::beginRun(), HGCalDigiClient::beginRun(), sistrip::ExcludedFEDListProducer::beginRun(), Phase2Tracker::Phase2TrackerDigiProducer::beginRun(), HGCalRecHitsClient::beginRun(), RPCUnpackingModule::beginRun(), edmtest::L1TriggerScalerESAnalyzer::beginRun(), cms::MinBias::beginRun(), DTResolutionAnalysisTest::beginRun(), HGCalSimHitsClient::beginRun(), OutputMagneticFieldDDToDDL::beginRun(), DTNoiseAnalysisTest::beginRun(), EcalTPGAnalyzer::beginRun(), EcalPedOffset::beginRun(), HcalRecHitRecalib::beginRun(), OMTFPatternMaker::beginRun(), PFProducer::beginRun(), OutputDDToDDL::beginRun(), DTOccupancyTest::beginRun(), EcalSimple2007H4TBAnalyzer::beginRun(), HGCalBHValidation::beginRun(), DTSegmentAnalysisTest::beginRun(), AlCaRecoTriggerBitsRcdRead::beginRun(), DTLocalTriggerBaseTest::beginRun(), CtfSpecialSeedGenerator::beginRun(), DTOccupancyTestML::beginRun(), DTEfficiencyTest::beginRun(), TrackingCertificationInfo::beginRun(), ConversionTrackCandidateProducer::beginRun(), DTRunConditionVarClient::beginRun(), HGCalTimingAnalyzer::beginRun(), TestHits::beginRun(), TestSmoothHits::beginRun(), PFCandidateRecalibrator::beginRun(), SiStripPlotGain::beginRun(), TrackingRecHitProducer::beginRun(), FWFFLooper::beginRun(), TestOutliers::beginRun(), TestTrackHits::beginRun(), ConvBremSeedProducer::beginRun(), EcalTPCondAnalyzer::beginRun(), RPDigiProducer::beginRun(), TTClusterBuilder< T >::beginRun(), RPCChamberMasker::beginRun(), ElectronCalibrationUniv::beginRun(), HGCalTBAnalyzer::beginRun(), EmbeddingVertexCorrector::beginRun(), TTStubAssociator< T >::beginRun(), L1TStage2Layer2Producer::beginRun(), HcalRecHitsDQMClient::beginRun(), MuonSimHitProducer::beginRun(), TTClusterAssociator< T >::beginRun(), FastTrackDeDxProducer::beginRun(), EcalCosmicsHists::beginRun(), L1TStage2Layer1Producer::beginRun(), RPCTechnicalTrigger::beginRun(), L1TStage1Layer2Producer::beginRun(), DTTrigPhase2Prod::beginRun(), HGCDigitizer::beginRun(), RPCSeedGenerator::beginRun(), PFAnalysis::beginRun(), L1FPGATrackProducer::beginRun(), NoCQTask::bookHistograms(), DigiComparisonTask::bookHistograms(), TPComparisonTask::bookHistograms(), PedestalTask::bookHistograms(), FCDTask::bookHistograms(), TPTask::bookHistograms(), LEDTask::bookHistograms(), QIE10Task::bookHistograms(), QIE11Task::bookHistograms(), UMNioTask::bookHistograms(), RPCMonitorDigi::bookHistograms(), RawTask::bookHistograms(), LaserTask::bookHistograms(), GEMEfficiencyAnalyzer::bookHistograms(), RPCRecHitValid::bookHistograms(), RecHitTask::bookHistograms(), DigiTask::bookHistograms(), EcalPileUpDepMonitor::bookHistograms(), ECALpedestalPCLworker::bookHistograms(), SiStripMonitorDigi::bookHistograms(), MonitorTrackResidualsBase< pixel_or_strip >::bookHistograms(), SiStripMonitorCluster::bookHistograms(), L1TGT::bookHistograms(), L1GtHwValidation::bookHistograms(), L1TBPTX::bookHistograms(), HcalDigitizer::buildHBHEQIECells(), HcalDigitizer::buildHFQIECells(), HcalDigitizer::buildHOSiPMCells(), SeedForPhotonConversion1Leg::buildSeed(), SeedForPhotonConversionFromQuadruplets::buildSeed(), SeedForPhotonConversionFromQuadruplets::buildSeedBool(), reco::helper::JetMuonHitsIDHelper::calculate(), TrackingParticleNumberOfLayers::calculate(), CSCHaloAlgo::Calculate(), PhotonIsolationCalculator::calculateEcalRecHitIso(), CaloTrkProcessing::CaloTrkProcessing(), ConditionHelper::checkAndUpdateConditions(), AngleConverter::checkAndUpdateGeometry(), L1TMuon::GeometryTranslator::checkAndUpdateGeometry(), EcalBarrelDigisValidation::checkCalibrations(), EcalEndcapDigisValidation::checkCalibrations(), EcalDigisValidation::checkCalibrations(), EcalDigiProducer::checkCalibrations(), EcalMixingModuleValidation::checkCalibrations(), DeepFlavourTagInfoProducer::checkEventSetup(), IPProducer< Container, Base, Helper >::checkEventSetup(), EcalTimeDigiProducer::checkGeometry(), HcalTBDigiProducer::checkGeometry(), CastorDigiProducer::checkGeometry(), HcalDigitizer::checkGeometry(), EcalDigiProducer::checkGeometry(), EcalMixingModuleValidation::checkPedestals(), RPCSeedPattern::checkSimplePattern(), CkfDebugger::CkfDebugger(), ClusterShapeTrackFilter::ClusterShapeTrackFilter(), rrapi.RRApi::columns(), L1GtDataEmulAnalyzer::compareFDL(), CompareHitPairsY::CompareHitPairsY(), EcalMixingModuleValidation::computeSDBunchDigi(), EcalTPGDBCopy::copyToDB(), EcalDBCopy::copyToDB(), ESDBCopy::copyToDB(), PFClusterEMEnergyCorrector::correctEnergies(), CosmicHitPairGeneratorFromLayerPair::CosmicHitPairGeneratorFromLayerPair(), CosmicHitTripletGeneratorFromLayerTriplet::CosmicHitTripletGeneratorFromLayerTriplet(), rrapi.RRApi::count(), RPCSeedPattern::createFakeSeed(), AlignmentProducerBase::createGeometries(), TGeoFromDddService::createManager(), RPCSeedPattern::createSeed(), AlCaRecoTriggerBitsRcdUpdate::createStartTriggerBits(), rrapi.RRApi::data(), EcalLaserCondTools::dbToAscii(), muonisolation::CaloExtractor::deposit(), muonisolation::PixelTrackExtractor::deposit(), muonisolation::JetExtractor::deposit(), egammaisolation::EgammaHcalExtractor::deposit(), egammaisolation::EgammaRecHitExtractor::deposit(), muonisolation::CaloExtractorByAssociator::deposits(), AlignmentTrackSelector::detailedHitsCheck(), EcalCosmicsHists::determineTriggers(), MultipleScatteringGeometry::detLayers(), PreMixingSiStripWorker::DMinitializeDetUnit(), CSCOfflineMonitor::doBXMonitor(), CSCValidation::doCalibrations(), CSCValidation::doTimeMonitoring(), hcaldqm::DQHarvester::dqmBeginLuminosityBlock(), RPCMonitorLinkSynchro::dqmBeginRun(), EcalSelectiveReadoutValidation::dqmBeginRun(), SiStripMonitorDigi::dqmBeginRun(), DTSegmentAnalysisTask::dqmBeginRun(), DTEfficiencyTask::dqmBeginRun(), TotemTimingDQMSource::dqmBeginRun(), DTTriggerEfficiencyTask::dqmBeginRun(), DTLocalTriggerBaseTask::dqmBeginRun(), DTDigiTask::dqmBeginRun(), TkConvValidator::dqmBeginRun(), HGCalRecHitValidation::dqmBeginRun(), DTLocalTriggerLutTask::dqmBeginRun(), DTLocalTriggerSynchTask::dqmBeginRun(), DTLocalTriggerTask::dqmBeginRun(), PhotonValidator::dqmBeginRun(), HGCalDigiValidation::dqmBeginRun(), HGCalHitValidation::dqmBeginRun(), HGCalSimHitValidation::dqmBeginRun(), JetAnalyzer::dqmBeginRun(), METAnalyzer::dqmBeginRun(), DTDataIntegrityTest::dqmEndLuminosityBlock(), DTChamberEfficiencyTest::dqmEndLuminosityBlock(), DTResolutionTest::dqmEndLuminosityBlock(), edmtest::HcalDumpConditions::dumpIt(), InvRingCalib::duringLoop(), EcalEleCalibLooper::duringLoop(), ZeeCalibration::duringLoop(), EcalClusterIsoCalculator::EcalClusterIsoCalculator(), ECalSD::ECalSD(), InvRingCalib::EERingDef(), TrackerOfflineValidationSummary::endJob(), ecaldqm::TowerStatusTask::endLuminosityBlock(), ecaldqm::IntegrityClient::endLuminosityBlock(), ECALpedestalPCLHarvester::endRun(), EcalDeadCellDeltaRFilter::envSet(), HITrackingRegionProducer::estimateMultiplicity(), HITrackingRegionForPrimaryVtxProducer::estimateMultiplicity(), AlignmentMonitorMuonSystemMap1D::event(), AlignmentMonitorMuonVsCurvature::event(), AlignmentMonitorSegmentDifferences::event(), HGCalTriggerTools::eventSetup(), RPCSeedPattern::extropolateStep(), FiberSD::FiberSD(), PixelRecoUtilities::FieldAt0::FieldAt0(), HGCalTriggerNtupleHGCTowers::fill(), HGCalTriggerNtupleHGCMulticlusters::fill(), HGCalTriggerNtupleHGCPanels::fill(), HGCalTriggerNtupleHGCClusters::fill(), HGCalTriggerNtupleHGCTriggerSums::fill(), HGCalTriggerNtupleHGCDigis::fill(), HGCalTriggerNtupleHGCTriggerCells::fill(), BPHWriteSpecificDecay::fill(), HGCalTriggerNtupleGen::fill(), HIPAlignmentAlgorithm::fillAlignablesMonitor(), DTBlockedROChannelsTest::fillChamberMap(), GlobalHitsAnalyzer::fillECal(), GlobalHitsProdHist::fillECal(), GlobalHitsProducer::fillECal(), HCALRecHitAnalyzer::FillGeometry(), ECALRecHitAnalyzer::FillGeometry(), GlobalHitsAnalyzer::fillHCal(), GlobalHitsProdHist::fillHCal(), GlobalHitsProducer::fillHCal(), GlobalDigisProducer::fillHCal(), GlobalDigisAnalyzer::fillHCal(), GlobalRecHitsAnalyzer::fillHCal(), GlobalRecHitsProducer::fillHCal(), GlobalHitsAnalyzer::fillMuon(), GlobalHitsProdHist::fillMuon(), GlobalHitsProducer::fillMuon(), GlobalDigisAnalyzer::fillMuon(), GlobalRecHitsAnalyzer::fillMuon(), GlobalRecHitsProducer::fillMuon(), PhotonProducer::fillPhotonCollection(), GEDPhotonProducer::fillPhotonCollection(), QcdLowPtDQM::fillPixels(), EBShape::fillShape(), APDShape::fillShape(), EEShape::fillShape(), CaloParticleDebugger::fillSimHits(), CSCTimingExtractor::fillTiming(), DTTimingExtractor::fillTiming(), GlobalHitsAnalyzer::fillTrk(), GlobalHitsProdHist::fillTrk(), GlobalHitsProducer::fillTrk(), GlobalDigisProducer::fillTrk(), GlobalDigisAnalyzer::fillTrk(), GlobalRecHitsAnalyzer::fillTrk(), GlobalRecHitsProducer::fillTrk(), muonisolation::CaloExtractor::fillVetos(), L1Filter::filter(), ElectronIdMVAProducer::filter(), EcalLaserCorrFilter::filter(), ElectronRegressionEnergyProducer::filter(), EEBadScFilter::filter(), EcalBadCalibFilter::filter(), EcalDeadCellBoundaryEnergyFilter::filter(), RPCRecHitFilter::filter(), CSCSkim::filter(), LeptonSkimming::filter(), CSCEfficiency::filter(), SiStripDigitizer::finalizeEvent(), cms::SiPixelDigitizer::finalizeEvent(), edm::get(), PixelInactiveAreaFinder::getBadPixelDets(), JetCorrectorImplMakerBase::getCalculator(), betterConfigParser.BetterConfigParser::getCompares(), getData(), HGCalDepthPreClusterer::getEventSetup(), HGCalClusteringAlgoBase::getEventSetup(), L1RCTProducer::getFedVectorFromOmds(), L1RCTProducer::getFedVectorFromRunInfo(), HTrackAssociator::getFreeTrajectoryState(), edm::DataMixingEMDigiWorker::GetGainRatios(), betterConfigParser.BetterConfigParser::getGeneral(), ExoticaDQM::getGenParticleTrajectoryAtBeamline(), EcalClusterPUCleaningTools::getGeometry(), L1GetHistLimits::getHistLimits(), PFCand_AssoMapAlgos::GetInputCollections(), PF_PU_AssoMapAlgos::GetInputCollections(), JetCorrector::getJetCorrector(), EcalFEtoDigi::getLUT(), edm::DataMixingEMDigiWorker::GetPedestals(), betterConfigParser.BetterConfigParser::getResultingSection(), submitPVValidationJobs.BetterConfigParser::getResultingSection(), RPCDqmClient::getRPCdetId(), pat::PATIsolatedTrackProducer::getTrackDetMatchInfo(), EcalClusterCrackCorrection::getValue(), LHCInfoProducer::globalBeginLuminosityBlockProduce(), L1Comparator::globalBeginRun(), RawPCCProducer::globalEndLuminosityBlockProduce(), LeptonRecoSkim::handleObjects(), HcalRechitIsoCalculator::HcalRechitIsoCalculator(), HCalSD::HCalSD(), HcalTB02SD::HcalTB02SD(), HcalTB06BeamSD::HcalTB06BeamSD(), HcalTestNS::HcalTestNS(), CosmicHitPairGeneratorFromLayerPair::hitPairs(), ctfseeding::HitExtractorPIX::hits(), ctfseeding::HitExtractorSTRP::hits(), RectangularEtaPhiTrackingRegion::hits(), CosmicTrackingRegion::hits_(), CosmicHitTripletGeneratorFromLayerTriplet::hitTriplets(), PixelTripletLargeTipGenerator::hitTriplets(), HLTLevel1GTSeed::hltFilter(), PFHBHERecHitCreator::importRecHits(), PFHcalRecHitCreator< Digi, Geometry, Layer, Detector >::importRecHits(), PFPSRecHitCreator::importRecHits(), PFHGCalRecHitCreator< DET, Layer, det, subdet >::importRecHits(), PFHFRecHitCreator::importRecHits(), PFEcalBarrelRecHitCreator::importRecHits(), PFEcalEndcapRecHitCreator::importRecHits(), PixelInactiveAreaFinder::inactiveAreas(), SSDigitizerAlgorithm::init(), PSPDigitizerAlgorithm::init(), PSSDigitizerAlgorithm::init(), reco::modules::CandVertexFitterEventSetupInit< Fitter >::init(), reco::modules::CandKinematicVertexFitterEventSetupInit::init(), PFRecHitEcalBarrelNavigatorWithTime::init(), CosmicSeedCreator::init(), helper::BFieldIsolationAlgorithmSetup< Alg >::init(), LowPtClusterShapeSeedComparitor::init(), SeedGeneratorForCRack::init(), CosmicLayerPairs::init(), SiStripFedZeroSuppression::init(), SeedFromProtoTrack::init(), PFRecHitEcalEndcapNavigatorWithTime::init(), PFECALHashNavigator::init(), PixelClusterShapeSeedComparitor::init(), Pixel3DDigitizerAlgorithm::init(), EcalClusterEnergyCorrection::init(), EcalClusterEnergyCorrectionObjectSpecific::init(), SeedGeneratorForCosmics::init(), EcalClusterEnergyUncertainty::init(), PhotonEnergyCorrector::init(), MatcherUsingTracksAlgorithm::init(), PropagateToMuon::init(), omtf::RpcLinkMap::init(), PFHCALDenseIdNavigator< HcalDetId, HcalTopology, false >::init(), EcalClusterCrackCorrection::init(), PFRecHitEcalBarrelNavigator::init(), SiPixelChargeReweightingAlgorithm::init(), CSCRecHitMatcher::init(), SeedFromConsecutiveHitsCreator::init(), PixelDigitizerAlgorithm::init(), CheckHitPattern::init(), PFBadHcalPseudoClusterProducer::init(), SimpleCosmicBONSeeder::init(), TSGFromPropagation::init(), CosmicLayerTriplets::init(), PFRecHitEcalEndcapNavigator::init(), SiPixelDigitizerAlgorithm::init(), PFRecHitHCALNavigator::init(), PFRecHitHCALNavigatorWithTime::init(), CosmicTrajectoryBuilder::init(), PFRecHitCaloTowerNavigator::init(), PFEcalBarrelRecHitCreator::init(), PFEcalEndcapRecHitCreator::init(), HTrackAssociator::init(), CRackTrajectoryBuilder::init(), SiPixelDigitizerAlgorithm::init_DynIneffDB(), omtf::RpcPacker::initCabling(), omtf::RpcUnpacker::initCabling(), EcalZeroSuppressionProducer::initCalibrations(), MultiHitGeneratorFromChi2::initES(), SeedFinderSelector::initEvent(), DTHitAssociator::initEvent(), GEMDQMBase::initGeometry(), FastHFShowerLibrary::initHFShowerLibrary(), MuonPathAnalyzerInChamber::initialise(), HoughGrouping::initialise(), MuonPathAssociator::initialise(), MuonPathAnalyticAnalyzer::initialise(), RPCIntegrator::initialise(), EGEnergyCorrector::Initialize(), DBReader::initialize(), SiStripClusterToDigiProducer::initialize(), CSCOverlapsAlignmentAlgorithm::initialize(), MuonAlignmentFromReference::initialize(), SiStripDigitizerAlgorithm::initializeDetUnit(), EcalTBDigiProducer::initializeEvent(), CastorDigiProducer::initializeEvent(), HcalTBDigiProducer::initializeEvent(), HcalSignalGenerator< HBHEDigitizerTraits >::initializeEvent(), PreMixingSiPixelWorker::initializeEvent(), PreMixingSiStripWorker::initializeEvent(), SiStripDigitizer::initializeEvent(), HcalDigitizer::initializeEvent(), cms::SiPixelDigitizer::initializeEvent(), SiStripDigitizerAlgorithm::initializeEvent(), EcalSignalGenerator< EEDigitizerTraits >::initializeEvent(), RunManagerMTWorker::initializeG4(), TMVAEvaluator::initializeGBRForest(), SeedForPhotonConversion1Leg::initialKinematic(), SeedForPhotonConversionFromQuadruplets::initialKinematic(), PileupJetIdProducer::initJetEnergyCorrector(), DreamSD::initMap(), L1TCaloLayer1FetchLUTs(), pat::LeptonVertexSignificance::LeptonVertexSignificance(), ConcreteFFTJetRcdMapper< DataType, RecordType >::load(), PFMETAlgorithmMVA::loadMVAfromDB(), PiZeroAnalyzer::makePizero(), SeedingLayerSetsBuilder::makeSeedingLayerSetsHitsforFastSim(), ticl::PatternRecognitionbyCA< TILES >::makeTracksters(), CosmicParametersDefinerForTP::momentum(), ParametersDefinerForTP::momentum(), MultipleScatteringGeometry::MultipleScatteringGeometry(), MuonResidualsFromTrack::MuonResidualsFromTrack(), MuonSensitiveDetector::MuonSensitiveDetector(), MuonAlignmentInputDB::newAlignableMuon(), MuonAlignmentInputSurveyDB::newAlignableMuon(), MuonAlignmentInputXML::newAlignableMuon(), MuonAlignmentInputMethod::newAlignableMuon(), pat::helper::KinResolutionsLoader::newEvent(), pat::helper::VertexingHelper::newEvent(), NuclearInteractionFinder::NuclearInteractionFinder(), CosmicTrackingParticleSelector::operator()(), PixelFitterByHelixProjections::PixelFitterByHelixProjections(), FWFFService::postBeginRun(), CtfSpecialSeedGenerator::preliminaryCheck(), OpticalFunctionsTransport::process(), RecHitProcessor::process(), RecHitProcessor::processLook(), MultiTrackSelector::processMVA(), HIMultiTrackSelector::processMVA(), HcalPatternSource::produce(), SeedGeneratorFromProtoTracksEDProducer::produce(), MFProducer::produce(), JetSignalVertexCompatibility::produce(), FamosProducer::produce(), QGTagger::produce(), PixelTrackProducer::produce(), EcalTBWeightUncalibRecHitProducer::produce(), MeasurementTrackerEventProducer::produce(), ESZeroSuppressionProducer::produce(), JetTracksAssociatorAtCaloFace::produce(), PixelTracksProducer::produce(), SeedCreatorFromRegionHitsEDProducerT< T_SeedCreator >::produce(), TSGFromL2Muon::produce(), HIPixelClusterVtxProducer::produce(), JetTagProducer::produce(), CalibratedElectronProducerRun2T< T >::produce(), KFBasedPixelFitterProducer::produce(), HIProtoTrackFilterProducer::produce(), SoftPFElectronTagInfoProducer::produce(), Phase2TrackerClusterizer::produce(), cms::JetCorrectionProducer< T >::produce(), SoftPFMuonTagInfoProducer::produce(), ImpactParameter::produce(), PixelFitterByHelixProjectionsProducer::produce(), FastTrackerRecHitMatcher::produce(), TSGForOI::produce(), TSGForOIFromL2::produce(), L1TMuonBarrelKalmanStubProducer::produce(), PFEGammaProducer::produce(), HiEgammaSCCorrectionMaker::produce(), EcalRecHitRecalib::produce(), CaloCleaner< T >::produce(), EgammaSCCorrectionMaker::produce(), GeometryProducer::produce(), ConversionSeedFilterCharge::produce(), PrimaryVertexSorter< ParticlesCollection >::produce(), OutsideInMuonSeeder::produce(), TwoBodyDecayConstraintProducer::produce(), TwoBodyDecayMomConstraintProducer::produce(), PixelFitterByConformalMappingAndLineProducer::produce(), TrackTimeValueMapProducer::produce(), TrackCandidateProducer::produce(), SimpleCosmicBONSeeder::produce(), ConversionSeedFilter::produce(), pat::TauJetCorrFactorsProducer::produce(), L1TGlobalProducer::produce(), ShiftedPFCandidateProducerForNoPileUpPFMEt::produce(), ShiftedPFCandidateProducerForPFNoPUMEt::produce(), TrackAssociatorByPositionProducer::produce(), L1GlobalTriggerRecordProducer::produce(), MuonMillepedeTrackRefitter::produce(), PFBadHcalPseudoClusterProducer::produce(), PhotonProducer::produce(), L1TMuonLegacyConverter::produce(), RecHitCorrector::produce(), HiSpikeCleaner::produce(), pat::PATIsolatedTrackProducer::produce(), TrackAssociatorByChi2Producer::produce(), MuonErrorMatrixAdjuster::produce(), ConversionTrackCandidateProducer::produce(), MuScleFitMuonProducer::produce(), pat::PATTriggerEventProducer::produce(), pat::PATElectronProducer::produce(), HiEvtPlaneFlatProducer::produce(), TrackAlgoCompareUtil::produce(), PFTauPrimaryVertexProducerBase::produce(), L1TExtCondProducer::produce(), TrackAssociatorByHitsProducer::produce(), L1TExtCondLegacyToStage2::produce(), RctInputTextToDigi::produce(), pat::PATPhotonProducer::produce(), SeedToTrackProducer::produce(), PFCandidateRecalibrator::produce(), PFTauTransverseImpactParameters::produce(), PFTauSecondaryVertexProducer::produce(), ConvBremSeedProducer::produce(), TrackExtrapolator::produce(), RPCTrigger::produce(), pat::PATTriggerProducer::produce(), TrackerToMuonPropagator::produce(), L1MuGlobalMuonTrigger::produce(), CSCOverlapsTrackPreparation::produce(), FastSimProducer::produce(), PixelClusterTagInfoProducer::produce(), cms::CosmicTrackFinder::produce(), pat::PATMuonProducer::produce(), NuclearTrackCorrector::produce(), TrajectorySeedProducer::produce(), L1GlobalTrigger::produce(), EgammaHLTExtraProducer::produce(), EcalTrigPrimProducer::produce(), SelectedElectronFEDListProducer< TEle, TCand >::produce(), PFTau3ProngReco::produce(), EgammaHLTPhase2ExtraProducer::produce(), ShiftedJetProducerT< T, Textractor >::produce(), RPCSeedGenerator::produce(), DeepCoreSeedGenerator::produce(), GlobalDigisProducer::produce(), EvtPlaneProducer::produce(), MuonToTrackingParticleAssociatorEDProducer::produce(), L1FPGATrackProducer::produce(), L1EGCrystalClusterEmulatorProducer::produce(), cms::CkfTrackCandidateMakerBase::produceBase(), PreMixingSiPixelWorker::put(), PreMixingSiStripWorker::put(), edm::DataMixingHcalDigiWorker::putHcal(), CocoaAnalyzer::readCalibrationDB(), OscarMTMasterThread::readES(), L1TdeRCT::readFEDVector(), AlignmentProducerBase::readInSurveyRcds(), CocoaAnalyzer::readXMLFile(), CosmicRegionalSeedGenerator::regions(), rrapi.RRApi::report(), rrapi.RRApi::reports(), L1GtPrescaleFactorsAndMasksTester::retrieveL1EventSetup(), L1GtTriggerMenuLiteProducer::retrieveL1EventSetup(), L1GtTriggerMenuTester::retrieveL1EventSetup(), L1GtUtils::retrieveL1EventSetup(), l1t::L1TGlobalUtil::retrieveL1Setup(), RPDisplacementGenerator::RPDisplacementGenerator(), HGCalTowerMapProcessor::run(), HGCalTowerProcessor::run(), PixelTrackReconstruction::run(), HGCalBackendLayer1Processor2DClustering::run(), HGCalBackendLayer2Processor3DClustering::run(), EveDisplayPlugin::run(), L1MuonPixelTrackFitter::run(), L1GlobalTriggerGTL::run(), CSCOverlapsAlignmentAlgorithm::run(), MuonAlignmentFromReference::run(), RPCSeedPattern::SegmentAlgorithmSpecial(), SingleEleCalibSelector::select(), HitPixelLayersTPSelector::select(), HGCalRecHitWorkerSimple::set(), HGCalUncalibRecHitWorkerWeights::set(), ESTimingTask::set(), EcalUncalibRecHitWorkerWeights::set(), EcalUncalibRecHitWorkerGlobal::set(), SiPixelCPEGenericDBErrorParametrization::setDBAccess(), EcalCondDBReader::setElectronicsMap(), EcalDQMStatusWriter::setElectronicsMap(), EcalFEDMonitorTemp< SUBDET >::setElectronicsMap(), SiPixelGainCalibrationServicePayloadGetter< SiPixelGainCalibrationOffline, SiPixelGainCalibrationOfflineRcd >::setESObjects(), ClusterShapeTrajectoryFilter::setEvent(), TSGFromPropagation::setEvent(), TSGForRoadSearch::setEvent(), BaseCkfTrajectoryBuilder::setEvent(), MuonCkfTrajectoryBuilder::setEvent_(), EGRegressionModifierV3::setEventContent(), TransientInitialStateEstimator::setEventSetup(), ConversionTrackFinder::setEventSetup(), ConversionSeedFinder::setEventSetup(), cms::CkfTrackCandidateMakerBase::setEventSetup(), SeedTransformer::setServices(), ecaldqm::DQWorker::setSetupObjects(), EcalSelectiveReadoutValidation::setTtEtSums(), EcalSelectiveReadoutSuppressor::setTtFlags(), PhiSymmetryCalibration_step2_SM::setUp(), PhiSymmetryCalibration_step2::setUp(), HcalDigitizer::setup(), TrackingRecHitProducer::setupDetIdPipes(), FamosManager::setupGeometryAndField(), ParametrizedSubtractor::setupGeometryMap(), PileUpSubtractor::setupGeometryMap(), EcalDBCopy::shouldCopy(), EcalTPGDBCopy::shouldCopy(), ESDBCopy::shouldCopy(), rrapi.RRApi::tables(), rrapi.RRApi::tags(), rrapi.RRApi::templates(), HIPAlignmentAlgorithm::terminate(), ThirdHitPrediction::ThirdHitPrediction(), ThrParameters::ThrParameters(), LaserDQM::trackerStatistics(), SeedForPhotonConversionFromQuadruplets::trajectorySeed(), TripletFilter::TripletFilter(), MuonIdTruthInfo::truthMatchMuon(), BPHDecayVertex::tTracks(), ECALPFSeedCleaner::update(), MonopoleSteppingAction::update(), SCRegressionCalculator< VarCalc >::update(), BaselinePFSCRegression::update(), HGCScintSD::update(), HFNoseSD::update(), HGCalSD::update(), HGCSD::update(), PhysicsTools::MVAComputerCache::update(), RealisticSimClusterMapper::update(), ECAL2DPositionCalcWithDepthCorr::update(), fastsim::Geometry::update(), TkAccumulatingSensitiveDetector::update(), SimG4HGCalValidation::update(), AntiElectronDeadECAL::updateBadTowers(), L1RCTProducer::updateConfiguration(), DTTrig::updateES(), SuperClusterImporter::updateEventSetup(), SeedingLayerSetsBuilder::updateEventSetup(), L1RCTProducer::updateFedVector(), GeometryProducer::updateMagneticField(), MeasurementTrackerEventProducer::updatePixels(), CosmicParametersDefinerForTP::vertex(), ParametersDefinerForTP::vertex(), rrapi.RRApi::workspaces(), MuonAlignmentOutputXML::write(), and ECALRecHitAnalyzer::WriteECALRecHits().

◆ getData() [1/5]

template<typename T , typename R >
T const& edm::EventSetup::getData ( const ESGetToken< T, R > &  iToken) const
inlinenoexcept

Definition at line 144 of file EventSetup.h.

144  {
145  return this
146  ->get<std::conditional_t<std::is_same_v<R, edm::DefaultRecord>, eventsetup::default_record_t<ESHandle<T>>, R>>()
147  .get(iToken);
148  }

References get(), and dttmaxenums::R.

◆ getData() [2/5]

template<typename T >
bool edm::EventSetup::getData ( const ESInputTag iTag,
T iHolder 
) const
inline

Definition at line 138 of file EventSetup.h.

138  {
139  auto const& rec = this->get<eventsetup::default_record_t<T>>();
140  return rec.get(iTag, iHolder);
141  }

◆ getData() [3/5]

template<typename T >
bool edm::EventSetup::getData ( const std::string &  iLabel,
T iHolder 
) const
inline

Definition at line 132 of file EventSetup.h.

132  {
133  auto const& rec = this->get<eventsetup::default_record_t<T>>();
134  return rec.get(iLabel, iHolder);
135  }

◆ getData() [4/5]

template<typename T , typename R >
T const& edm::EventSetup::getData ( ESGetToken< T, R > &  iToken) const
inlinenoexcept

Definition at line 150 of file EventSetup.h.

150  {
151  return this->getData(const_cast<const ESGetToken<T, R>&>(iToken));
152  }

References getData().

◆ getData() [5/5]

template<typename T >
bool edm::EventSetup::getData ( T iHolder) const
inline

can directly access data if data_default_record_trait<> is defined for this data type

Definition at line 127 of file EventSetup.h.

127  {
128  return getData(std::string{}, iHolder);
129  }

References AlCaHLTBitMon_QueryRunRegistry::string.

Referenced by Hector::add(), SiStripGainRandomCalculator::algoAnalyze(), DeDxDiscriminatorLearner::algoAnalyzeTheTree(), DeDxDiscriminatorLearner::algoBeginJob(), SiStripGainCosmicCalculator::algoBeginJob(), SiStripGainFromData::algoBeginJob(), SiStripGainFromCalibTree::algoBeginJob(), SiStripQualityHotStripIdentifier::algoBeginRun(), SiStripQualityHotStripIdentifierRoot::algoBeginRun(), SiStripGainFromCalibTree::algoBeginRun(), CreateIdealTkAlRecords::alignToGT(), ME0HitsValidation::analyze(), SiStripApvSimulationParametersBuilder::analyze(), ME0RecHitsValidation::analyze(), ME0DigisValidation::analyze(), ME0SegmentsValidation::analyze(), HcalTBParameterTester::analyze(), HcalLutGenerator::analyze(), CSCRecHitValidation::analyze(), HcalFrontEndMapPopConAnalyzer::analyze(), HcalSiPMCharacteristicsPopConAnalyzer::analyze(), HcalSiPMParametersPopConAnalyzer::analyze(), HcalTPChannelParametersPopConAnalyzer::analyze(), HcalTPParametersPopConAnalyzer::analyze(), SiStripBadStripReader::analyze(), DummyCondObjPrinter< TObject, TRecord >::analyze(), CastorElectronicsMapPopConAnalyzer::analyze(), CastorGainsPopConAnalyzer::analyze(), CastorGainWidthsPopConAnalyzer::analyze(), CastorChannelQualityPopConAnalyzer::analyze(), CastorPedestalWidthsPopConAnalyzer::analyze(), CastorQIEDataPopConAnalyzer::analyze(), CastorRecoParamsPopConAnalyzer::analyze(), CastorPedestalsPopConAnalyzer::analyze(), CastorSaturationCorrsPopConAnalyzer::analyze(), HcalChannelQualityPopConAnalyzer::analyze(), HcalDcsMapPopConAnalyzer::analyze(), HcalDcsValuesPopConAnalyzer::analyze(), HcalElectronicsMapPopConAnalyzer::analyze(), HcalFlagHFDigiTimeParamsPopConAnalyzer::analyze(), HcalGainsPopConAnalyzer::analyze(), scaleGains::analyze(), HcalGainWidthsPopConAnalyzer::analyze(), HcalL1TriggerObjectsPopConAnalyzer::analyze(), HcalLongRecoParamsPopConAnalyzer::analyze(), HcalLUTCorrsPopConAnalyzer::analyze(), HcalLutMetadataPopConAnalyzer::analyze(), HcalMCParamsPopConAnalyzer::analyze(), HcalPedestalsPopConAnalyzer::analyze(), HcalPFCorrsPopConAnalyzer::analyze(), HcalQIEDataPopConAnalyzer::analyze(), HcalQIETypesPopConAnalyzer::analyze(), HcalRecoParamsPopConAnalyzer::analyze(), HcalRespCorrsPopConAnalyzer::analyze(), HcalPedestalWidthsPopConAnalyzer::analyze(), HcalTimeCorrsPopConAnalyzer::analyze(), HcalTimingParamsPopConAnalyzer::analyze(), HcalValidationCorrsPopConAnalyzer::analyze(), HcalZSThresholdsPopConAnalyzer::analyze(), corrResps::analyze(), HcalZDCLowGainFractionsPopConAnalyzer::analyze(), SiStripCablingTrackerMap::analyze(), SiStripSummaryReader::analyze(), corrGains::analyze(), SiStripDetVOffTkMapPlotter::analyze(), KVFTrackUpdate::analyze(), modGains::analyze(), CSCDigiValidation::analyze(), OuterTrackerMonitorTrackingParticles::analyze(), SiStripLorentzAngleReader::analyze(), SiStripBadComponentsDQMServiceReader::analyze(), HcalPulseContainmentTest::analyze(), SiStripNoisesReader::analyze(), SiStripPedestalsReader::analyze(), SiStripThresholdReader::analyze(), CTPPSLHCInfoPlotter::analyze(), SiStripApvGainReader::analyze(), SiStripDetVOffReader::analyze(), HcalCalibrator::analyze(), CTPPSOpticsPlotter::analyze(), CTPPSHepMCDistributionPlotter::analyze(), SiStripDetVOffTrendPlotter::analyze(), HGcalHitIdCheck::analyze(), SiStripNoiseNormalizedWithApvGainBuilder::analyze(), PPSGeometryBuilder::analyze(), OnlineBeamSpotFromDB::analyze(), CTPPSProtonReconstructionValidator::analyze(), SiStripMonitorDigi::analyze(), SiPixelRecHitsValid::analyze(), SiStripApvGainBuilderFromTag::analyze(), CTPPSProtonReconstructionPlotter::analyze(), ValidationMisalignedTracker::analyze(), CTPPSProtonReconstructionSimulationValidator::analyze(), HcalQIEDataCheck::analyze(), KVFTest::analyze(), SiStripLAProfileBooker::analyze(), CTPPSProtonReconstructionEfficiencyEstimatorMC::analyze(), ElectronStudy::analyze(), HcalAutoPedestalValidator::analyze(), SiStripAnalyser::analyze(), WriteL1TriggerObjectsTxt::analyze(), CTPPSProtonReconstructionEfficiencyEstimatorData::analyze(), HcalPedestalsCheck::analyze(), HcalPedestalWidthsCheck::analyze(), cms::ProducerAnalyzer::analyze(), HcalSimHitAnalysis::analyze(), tadqm::TrackAnalyzer::analyze(), HcalHBHEMuonSimAnalyzer::analyze(), DTCCablingMapTestReader::analyze(), BoostIODBReader< DataType, RecordType >::analyze(), MonitorTrackResidualsBase< pixel_or_strip >::analyze(), SiStripMonitorQuality::analyze(), MuonAlignmentAnalyzer::analyze(), SiStripMonitorRawData::analyze(), TrackerGeometryCompare::analyze(), SiStripApvGainRescaler::analyze(), PPSAlignmentWorker::analyze(), HcalGainsCheck::analyze(), SiPhase2OuterTrackerLorentzAngleWriter::analyze(), SiStripMonitorCluster::analyze(), HIPTwoBodyDecayAnalyzer::analyze(), HcalLutAnalyzer::analyze(), BPHMonitor::analyze(), SiStripChannelGainFromDBMiscalibrator::analyze(), SiStripMonitorPedestals::analyze(), HcalLuttoDB::analyze(), SiStripNoisesFromDBMiscalibrator::analyze(), SiStripFEDCheckPlugin::analyze(), HcalRaddamMuon::analyze(), HcalRecHitsAnalyzer::analyze(), HitEff::analyze(), StudyCaloGen::analyze(), DetIdSelectorTest::analyze(), BuildTrackerMapPlugin::analyze(), ApeEstimatorSummary::analyze(), AnalyzerMinbias::analyze(), SiStripQualityHistory::analyze(), SiPixelQualityHistory::analyze(), cms::Analyzer_minbias::analyze(), ValidIsoTrkCalib::analyze(), PixelBaryCentreAnalyzer::analyze(), TrackerTreeGenerator::analyze(), SiPixelTrackingRecHitsValid::analyze(), SiStripMonitorTrack::analyze(), ApeTreeCreateDefault::analyze(), HcalDigisValidation::analyze(), SiStripCMMonitorPlugin::analyze(), EopTreeWriter::analyze(), CastorMonitorModule::analyze(), EcalTPGParamBuilder::analyze(), TrackingMonitor::analyze(), CTPPSDiamondDQMSource::analyze(), SiStripFEDMonitorPlugin::analyze(), MCMisalignmentScaler::analyze(), IsoTrackCalibration::analyze(), SiPixelPhase1Analyzer::analyze(), APVShotsAnalyzer::analyze(), CastorPedestalsAnalysis::analyze(), TrackerGeometryIntoNtuples::analyze(), HcalHBHEMuonAnalyzer::analyze(), TrackerRemapper::analyze(), edmtest::HcalDumpConditions::analyze(), CosmicRateAnalyzer::analyze(), HcalHBHEMuonHighEtaAnalyzer::analyze(), SplitVertexResolution::analyze(), IsoTrackCalib::analyze(), SeedMultiplicityAnalyzer::analyze(), StudyCaloResponse::analyze(), OverlapValidation::analyze(), HcalIsoTrkAnalyzer::analyze(), IsoTrig::analyze(), IsolatedTracksHcalScale::analyze(), IsolatedGenParticles::analyze(), PFAnalysis::analyze(), IsolatedTracksCone::analyze(), SiStripRecHitsValid::analyze(), TrackerDpgAnalysis::analyze(), IsolatedTracksNxN::analyze(), SiStripTrackingRecHitsValid::analyze(), ResidualRefitting::analyze(), TrackingNtuple::analyze(), PixelClusterShapeExtractor::analyzeRecTracks(), PixelClusterShapeExtractor::analyzeSimHits(), EMEnrichingFilterAlgo::applyBFieldCurv(), TrackDetectorAssociator::associate(), PositionAtECalEntranceComputer::beginEvent(), ElectronHcalHelper::beginEvent(), HGCalTrackCollectionProducer::beginLuminosityBlock(), HcalPulseContainmentManager::beginRun(), PFDisplacedTrackerVertexProducer::beginRun(), PFNuclearProducer::beginRun(), PFV0Producer::beginRun(), LightPFTrackProducer::beginRun(), edm::FlatBaseThetaGunProducer::beginRun(), edmtest::DQMXMLFileEventSetupAnalyzer::beginRun(), PFConversionProducer::beginRun(), edmtest::DQMReferenceHistogramRootFileEventSetupAnalyzer::beginRun(), HcalPulseShapes::beginRun(), edm::BaseFlatGunProducer::beginRun(), edm::BaseRandomtXiGunProducer::beginRun(), HcalTrigPrimDigiProducer::beginRun(), SiStripDetInfoFileWriter::beginRun(), PPSModifySingularModes::beginRun(), ZdcSimpleReconstructor::beginRun(), PFTrackProducer::beginRun(), HcalSimpleRecAlgo::beginRun(), HcalSimpleReconstructor::beginRun(), TkVoltageMapCreator::beginRun(), TrackingAnalyser::beginRun(), TauHadronDecayFilter::beginRun(), trackerDTC::ProducerED::beginRun(), edm::FlatEGunASCIIWriter::beginRun(), SiStripAnalyser::beginRun(), OMTFReconstruction::beginRun(), ConvertedPhotonProducer::beginRun(), MagneticFieldFilter::beginRun(), SiStripFineDelayHit::beginRun(), ZdcHitReconstructor::beginRun(), HcalHBHEMuonSimAnalyzer::beginRun(), TrackingCertificationInfo::beginRun(), HLTPrescaleRecorder::beginRun(), DeDxEstimatorProducer::beginRun(), SiStripGainsPCLHarvester::beginRun(), IsolatedPixelTrackCandidateProducer::beginRun(), SiStripCorrelateBadStripAndNoise::beginRun(), tmtt::TMTrackProducer::beginRun(), SiStripCorrelateNoise::beginRun(), HcalHitReconstructor::beginRun(), SiStripCertificationInfo::beginRun(), SiStripDaqInfo::beginRun(), SiStripPlotGain::beginRun(), SimpleHBHEPhase1Algo::beginRun(), IsolatedPixelTrackCandidateL1TProducer::beginRun(), SiStripClassToMonitorCondData::beginRun(), APVModeFilter::beginRun(), APVCyclePhaseProducerFromL1TS::beginRun(), HcalRaddamMuon::beginRun(), SiStripQualityHistory::beginRun(), SiPixelQualityHistory::beginRun(), DuplicateRecHits::beginRun(), PFElecTkProducer::beginRun(), MuonIdProducer::beginRun(), RecAnalyzerMinbias::beginRun(), GoodSeedProducer::beginRun(), HcalHBHEMuonAnalyzer::beginRun(), HcalHBHEMuonHighEtaAnalyzer::beginRun(), AlCaIsoTracksProducer::beginRun(), HcalIsoTrkAnalyzer::beginRun(), TrackerDpgAnalysis::beginRun(), GEMCheckGeometry::bookHistograms(), SiPixelDigiValid::bookHistograms(), HcalSimHitStudy::bookHistograms(), SimHitsValidationHcal::bookHistograms(), hcaldqm::DQTask::bookHistograms(), HcalSimHitsValidation::bookHistograms(), SiStripMonitorQuality::bookHistograms(), MonitorTrackResidualsBase< pixel_or_strip >::bookHistograms(), SiStripMonitorRawData::bookHistograms(), L1TRate_Offline::bookHistograms(), PPSAlignmentWorker::bookHistograms(), L1TRate::bookHistograms(), SiStripSpyMonitorModule::bookHistograms(), SiStripMonitorPedestals::bookHistograms(), SiStripMonitorTrack::bookHistograms(), SiStripCMMonitorPlugin::bookHistograms(), SiStripFEDMonitorPlugin::bookHistograms(), L1TSync::bookHistograms(), L1TSync_Offline::bookHistograms(), tadqm::TrackAnalyzer::bookHistosForEfficiencyFromHitPatter(), ConversionProducer::buildCollection(), HcalHaloAlgo::Calculate(), EcalHaloAlgo::Calculate(), spr::chargeIsolation(), spr::chargeIsolationEcal(), spr::chargeIsolationHcal(), SiStripBadComponentInfo::checkBadComponents(), SiStripGainsPCLHarvester::checkBookAPVColls(), TrackerOfflineValidation::checkBookHists(), EcalDigiProducer_Ph2::checkCalibrations(), SiStripCorrelateNoise::checkGainCache(), RegressionHelper::checkSetup(), ResidualRefitting::CollectTrackHits(), GsfElectronAlgo::completeElectrons(), spr::coneChargeIsolation(), WriteESAlignments::convert(), MonitorTrackResidualsBase< pixel_or_strip >::createMEs(), SiStripMonitorPedestals::createMEs(), SiStripMonitorDigi::createMEs(), SiStripMonitorCluster::createMEs(), SiStripRecHitsValid::createMEs(), SiStripTrackingRecHitsValid::createMEs(), TrackerGeometryCompare::createROOTGeometry(), CSCTFPtLUT::CSCTFPtLUT(), SiStripCorrelateBadStripAndNoise::DoAnalysis(), SiStripCorrelateNoise::DoAnalysis(), SiStripGainsPCLWorker::dqmAnalyze(), HiBasicGenTest::dqmBeginRun(), HGCGeometryValidation::dqmBeginRun(), CaloTowersAnalyzer::dqmBeginRun(), StandaloneTrackMonitor::dqmBeginRun(), OuterTrackerMonitorTTCluster::dqmBeginRun(), OuterTrackerMonitorTTStub::dqmBeginRun(), HcalDigisValidation::dqmBeginRun(), HcalRecHitsAnalyzer::dqmBeginRun(), SiStripMonitorTrack::dqmBeginRun(), CTPPSDiamondDQMSource::dqmBeginRun(), SiStripGainsPCLWorker::dqmBeginRun(), SiPixelEDAClient::dqmEndLuminosityBlock(), DTDCSByLumiTask::dqmEndLuminosityBlock(), SiPixelStatusHarvester::dqmEndRun(), PPSAlignmentHarvester::dqmEndRun(), CastorDumpConditions::dumpIt(), edmtest::HcalDumpConditions::dumpIt(), EcalReadoutTools::EcalReadoutTools(), SiStripAnalyser::endLuminosityBlock(), AlcaBeamSpotFromDB::endLuminosityBlockProduce(), sistrip::EnsembleCalibrationLA::endRun(), SiStripFedCablingManipulator::endRun(), SiStripQualityStatistics::endRun(), DummyCondDBWriter< TObject, TObjectO, TRecord >::endRun(), PCLMetadataWriter::endRun(), SiStripOfflineDQM::endRun(), OccupancyPlots::endRun(), HGCalEgammaIDHelper::eventInit(), SiStripMonitorPedestals::fillCondDBMEs(), tadqm::TrackAnalyzer::fillHistosForState(), ApeEstimator::fillHitVariables(), HFPreReconstructor::fillInfos(), SiStripCertificationInfo::fillSiStripCertificationMEs(), TrackingNtuple::fillTrackingParticles(), TrackerValidationVariables::fillTrackQuantities(), TrackerGeometryCompare::fillTree(), LaserAlignmentEventFilter::filter(), PythiaFilterGammaJet::filter(), PythiaFilterGammaJetWithBg::filter(), PythiaFilterGammaJetWithOutBg::filter(), XangleBetaStarFilter::filter(), FilterTrackerOn::filter(), __class__< T >::filter(), HLTMuonPointingFilter::filter(), PythiaFilterIsolatedTrack::filter(), HFNoisyHitsFilter::filter(), AlCaHBHEMuonFilter::filter(), AlCaHEMuonFilter::filter(), AlCaLowPUHBHEMuonFilter::filter(), LargeEvents< T >::filter(), EcalMIPRecHitFilter::filter(), OverlapProblemTSOSPositionFilter::filter(), AlCaIsoTracksFilter::filter(), V0Fitter::fitAll(), EcalClusterLazyToolsBase::ESGetTokens::get(), EventWithHistoryFilter::getAPVLatency(), EventWithHistoryFilter::getAPVMode(), SiStripBaseCondObjDQMGet< SiStripBackPlaneCorrection, SiStripBackPlaneCorrectionRcd >::getConditionObject(), getData(), SingleMultiplicity< edm::DetSetVector< SiStripDigi > >::getEvent(), ETLDeviceSim::getEventSetup(), BTLDeviceSim::getEventSetup(), ETLElectronicsSim::getEventSetup(), hgcal::ClusterTools::getEventSetup(), DeDxTools::getHistogramD3D(), PixelTripletLowPtGenerator::getTracker(), hcaldqm::DQTask::globalBeginLuminosityBlock(), GEMDigiToRawModule::globalBeginRun(), GEMRawToDigiModule::globalBeginRun(), SiPixelStatusProducer::globalBeginRun(), PixelTripletLowPtGenerator::hitTriplets(), HLTMuonL1Filter::hltFilter(), HLTPMMassFilter::hltFilter(), reco::modules::CandKinematicVertexFitterEventSetupInit::init(), TT6CMNSubtractor::init(), IteratedMedianCMNSubtractor::init(), SiStripPedestalsSubtractor::init(), GEMSimHitMatcher::init(), ME0SimHitMatcher::init(), RPCSimHitMatcher::init(), DTSimHitMatcher::init(), CSCSimHitMatcher::init(), SiStripFineDelayTLA::init(), CSCStubMatcher::init(), EcalBasicClusterLocalContCorrection::init(), GEMRecHitMatcher::init(), GEMDigiMatcher::init(), SiStripAPVRestorer::init(), gen::TauolappInterface::init(), MuonIdProducer::init(), TrackDetectorAssociator::init(), SiStripPopConFEDErrorsHandlerFromDQM::initES(), SiStripClusterInfo::initEvent(), SiStripDCSStatus::initialise(), SiStripRawProcessingAlgorithms::initialize(), SiStripDetVOffFakeBuilder::initialize(), ticl::SeedingRegionByHF::initialize(), StripClusterizerAlgorithm::initialize(), SiStripRecHitConverterAlgorithm::initialize(), SiStripDigitizerAlgorithm::initializeEvent(), HGCalShowerShapeHelper::initPerSetup(), SiStripGainFromCalibTree::isBFieldConsistentWithMode(), SiStripGainFromData::IsFarFromBorder(), L1TMenuHelper::L1TMenuHelper(), GeometryInterface::load(), EgammaHLTNxNClusterProducer::makeNxNClusters(), HLTHighLevel::pathsFromSetup(), HcalSimpleReconstructor::process(), VectorHitBuilderEDProducer::produce(), HFEMClusterProducer::produce(), PixelVertexProducerClusters::produce(), CSCDigiProducer::produce(), edm::RandomXiThetaGunProducer::produce(), EcalIsolatedParticleCandidateProducer::produce(), SiStripProcessedRawDigiProducer::produce(), EgammaHLTBcHcalIsolationProducersRegional::produce(), l1tpf::PFTrackProducerFromL1Tracks::produce(), JetCoreClusterSplitter::produce(), PFConversionProducer::produce(), SiStripRegFEDSelector::produce(), PPSLocalTrackLiteReAligner::produce(), IsolatedEcalPixelTrackCandidateProducer::produce(), ShallowDigisProducer::produce(), SiPixelDigisClustersFromSoA::produce(), TrackFitterProducer::produce(), MuonTrackProducer::produce(), SiPixelDigiErrorsFromSoA::produce(), SiPixelClusterShapeCacheProducer::produce(), PFDisplacedVertexCandidateProducer::produce(), PFElectronTranslator::produce(), PixelNtupletsFitterProducer::produce(), GenParticles2HepMCConverter::produce(), SiPixelRecHitCUDA::produce(), Phase2TrackerRecHits::produce(), TkAlCaOverlapTagger::produce(), MuonReSeeder::produce(), EgammaHLTClusterShapeProducer::produce(), PFDisplacedVertexProducer::produce(), HBHEIsolatedNoiseReflagger::produce(), SeedClusterRemoverPhase2::produce(), SeedClusterRemover::produce(), GlobalTrackQualityProducer::produce(), PFPhotonTranslator::produce(), MkFitProducer::produce(), SiPixelRecHitFromCUDA::produce(), SiPixelRecHitSoAFromLegacy::produce(), ZdcSimpleReconstructor::produce(), SeedingOTEDProducer::produce(), HLTTrackClusterRemoverNew::produce(), ElectronNHitSeedProducer::produce(), PFTrackProducer::produce(), MkFitInputConverter::produce(), cms::HitReCalibrator::produce(), EgammaHLTGsfTrackVarProducer::produce(), HITrackClusterRemover::produce(), Onia2MuMuPAT::produce(), cms::MuonMETValueMapProducer::produce(), ConversionTrackProducer::produce(), TevMuonProducer::produce(), TotemRPUVPatternFinder::produce(), SeedGeneratorFromL1TTracksEDProducer::produce(), HBHEPlan1Combiner::produce(), CTPPSPixelClusterProducer::produce(), SiStripFineDelayHit::produce(), ReducedEGProducer::produce(), ZdcHitReconstructor::produce(), InterestingTrackEcalDetIdProducer::produce(), PixelTrackProducerFromSoA::produce(), HcalHitSelection::produce(), AlCaECALRecHitReducer::produce(), HcalHitReconstructor::produce(), TrackFromSeedProducer::produce(), GEDPhotonProducer::produce(), PrimaryVertexProducer::produce(), FastPrimaryVertexWithWeightsProducer::produce(), HFPhase1Reconstructor::produce(), TrackstersFromSimClustersProducer::produce(), ShallowGainCalibration::produce(), MuonSimHitProducer::produce(), MkFitOutputConverter::produce(), ConversionProducer::produce(), FastSimProducer::produce(), PFSimParticleProducer::produce(), CTPPSDirectProtonSimulation::produce(), LaserAlignment::produce(), FastPrimaryVertexProducer::produce(), HLTRechitInRegionsProducer< T1 >::produce(), GoodSeedProducer::produce(), CTPPSPixelDigiProducer::produce(), JetCoreMCtruthSeedGenerator::produce(), DeepCoreSeedGenerator::produce(), cms::SiPixelRecHitConverter::produce(), PPSFastLocalSimulation::produce(), AlCaHOCalibProducer::produce(), HBHEPhase1Reconstructor::produce(), SiStripFineDelayHit::produceNoTracking(), SiStripDcsInfo::readCabling(), SiStripDaqInfo::readFedIds(), L1TPFCaloProducer::readHcalDigis_(), SiStripDcsInfo::readStatus(), SiStripDaqInfo::readSubdetFedFractions(), MuonTrackFinder::reconstruct(), TrackingRegionsFromSuperClustersProducer::regions(), retrieveGBRForests(), CreateIdealTkAlRecords::retrieveGeometry(), L1GlobalTriggerGTL::run(), GlobalTrajectoryBuilderBase::setEvent(), EGRegressionModifierV2::setEventContent(), EGRegressionModifierV1::setEventContent(), EG8XObjectUpdateModifier::setEventContent(), EgammaRegressionContainer::setEventContent(), SCEnergyCorrectorSemiParm::setEventSetup(), tadqm::TrackAnalyzer::setLumi(), PdtEntry::setup(), FamosManager::setupGeometryAndField(), HiPuRhoProducer::setupGeometryMap(), and TracktoRPC::thePoints().

◆ getHandle()

template<typename T , typename R >
ESHandle<T> edm::EventSetup::getHandle ( const ESGetToken< T, R > &  iToken) const
inline

Definition at line 155 of file EventSetup.h.

155  {
156  if constexpr (std::is_same_v<R, edm::DefaultRecord>) {
157  auto const& rec = this->get<eventsetup::default_record_t<ESHandle<T>>>();
158  return rec.getHandle(iToken);
159  } else {
160  auto const& rec = this->get<R>();
161  return rec.getHandle(iToken);
162  }
163  }

Referenced by SiPixelRawToClusterCUDA::acquire(), SiStripGainFromData::algoBeginJob(), SiStripGainFromCalibTree::algoBeginRun(), SiStripGainFromData::algoBeginRun(), ParticleDecayDrawer::analyze(), edmtest::AlignPCLThresholdsReader::analyze(), ParticleTreeDrawer::analyze(), L1CSCTPEmulatorConfigAnalyzer::analyze(), GEMPadDigiReader::analyze(), EcalSRCondTools::analyze(), BeamSpotFromDB::analyze(), EcalEBTrigPrimAnalyzer::analyze(), testEcalTPGScale::analyze(), TkAlCaRecoMonitor::analyze(), L1CaloInputScalesGenerator::analyze(), SiPixelDigiSource::analyze(), SiPixelPhase1HitsV::analyze(), l1t::L1TCaloStage1LutWriter::analyze(), SiPixelHLTSource::analyze(), HcalTestSimHitID::analyze(), SiPixelClusterSource::analyze(), L1CaloInputScaleTester::analyze(), CSCRecoBadChannelsAnalyzer::analyze(), EcalMustacheSCParametersMaker::analyze(), EcalSCDynamicDPhiParametersMaker::analyze(), CSCTFanalyzer::analyze(), ParticleListDrawer::analyze(), DTGeometryValidate::analyze(), MuonMisalignedProducer::analyze(), L1GctValidation::analyze(), EcalTrigPrimAnalyzer::analyze(), MuonAlignmentAnalyzer::analyze(), SiPixelTrackResidualSource::analyze(), SiPixelHitEfficiencySource::analyze(), PPSPixelDigiAnalyzer::analyze(), L1RCTSaveInput::analyze(), HitEff::analyze(), PPSStraightTrackAligner::analyze(), L1RCTLutWriter::analyze(), HLTGetDigi::analyze(), HLTInfo::analyze(), SiPixelErrorEstimation::analyze(), SiPixelErrorsDigisToCalibDigis::analyze(), AlignmentMonitorAsAnalyzer::analyze(), PrimaryVertexValidation::analyze(), analyzer::SiPixelLorentzAngle::analyze(), TrackerOfflineValidationSummary::analyze(), CSCValidation::analyze(), SiPixelOfflineCalibAnalysisBase::analyze(), ResidualRefitting::analyze(), ElectronHcalHelper::beginEvent(), DQMDaqInfo::beginLuminosityBlock(), InterestingEcalDetIdProducer::beginRun(), TICLLayerTileProducer::beginRun(), HGCalTowerMapProducer::beginRun(), HGCalTowerProducer::beginRun(), HGCalVFEProducer::beginRun(), HGCalConcentratorProducer::beginRun(), HGCalBackendLayer1Producer::beginRun(), HGCalBackendLayer2Producer::beginRun(), FilteredLayerClustersProducer::beginRun(), ReducedESRecHitCollectionProducer::beginRun(), ME0PadDigiProducer::beginRun(), RPCDigiProducer::beginRun(), GEMPadDigiProducer::beginRun(), RPCandIRPCDigiProducer::beginRun(), HcalTrigPrimDigiProducer::beginRun(), sistrip::ExcludedFEDListProducer::beginRun(), SiPixelDetInfoFileWriter::beginRun(), EcalDetIdToBeRecoveredProducer::beginRun(), GEMChamberMasker::beginRun(), DeDxHitInfoProducer::beginRun(), ME0DigiPreRecoProducer::beginRun(), ME0ChamberMasker::beginRun(), GEMDigiProducer::beginRun(), TrackCandidateTopBottomHitFilter::beginRun(), L1TUtmTriggerMenuDumper::beginRun(), ME0DigiProducer::beginRun(), CalibrationTrackSelectorFromDetIdList::beginRun(), TrackingCertificationInfo::beginRun(), GEMPadDigiClusterProducer::beginRun(), SiStripGainsPCLHarvester::beginRun(), tmtt::TMTrackProducer::beginRun(), SiStripCertificationInfo::beginRun(), SiStripDaqInfo::beginRun(), DTTrigProd::beginRun(), InterestingDetIdCollectionProducer::beginRun(), InterestingDetIdFromSuperClusterProducer::beginRun(), TrackingOfflineDQM::beginRun(), EcalRawToDigi::beginRun(), SiStripDcsInfo::beginRun(), L1TMicroGMTLUTDumper::beginRun(), SiStripOfflineDQM::beginRun(), HGCalSimHitStudy::beginRun(), TTStubBuilder< T >::beginRun(), L1TStage2Layer2Producer::beginRun(), L1TMuonProducer::beginRun(), CentralityBinProducer::beginRun(), DTChamberMasker::beginRun(), L1TStage2Layer1Producer::beginRun(), RPCTechnicalTrigger::beginRun(), ME0ReDigiProducer::beginRun(), L1TStage1Layer2Producer::beginRun(), CSCChamberMasker::beginRun(), SiPixelOfflineCalibAnalysisBase::beginRun(), HBHEPhase1Reconstructor::beginRun(), hcaldqm::DQTask::bookHistograms(), Phase2ITMonitorCluster::bookHistograms(), Phase2OTMonitorCluster::bookHistograms(), Phase2ITMonitorRecHit::bookHistograms(), SiPixelTrackResidualSource::bookHistograms(), SiPixelHitEfficiencySource::bookHistograms(), SiPixelClusterSource::bookMEs(), SiPixelDigiSource::bookMEs(), SiPixelRecHitSource::bookMEs(), SiPixelClusterSource::buildStructure(), SiPixelDigiSource::buildStructure(), SiPixelRawDataErrorSource::buildStructure(), SiPixelRecHitSource::buildStructure(), TrackerOfflineValidation::checkBookHists(), EcalSelectiveReadoutProducer::checkElecMap(), DeepFlavourTagInfoProducer::checkEventSetup(), IPProducer< Container, Base, Helper >::checkEventSetup(), EcalSelectiveReadoutProducer::checkGeometry(), EcalDigiProducer_Ph2::checkGeometry(), reco::modules::TrackerTrackHitFilter::checkHit(), EcalSelectiveReadoutProducer::checkTriggerMap(), Multi5x5ClusterProducer::clusterizeECALPart(), IslandClusterProducer::clusterizeECALPart(), CosmicClusterProducer::clusterizeECALPart(), DTTrig::createTUs(), Phase2TrackerMonitorDigi::dqmBeginRun(), Phase2TrackerValidateDigi::dqmBeginRun(), DTDCSByLumiTask::dqmBeginRun(), Phase2ITMonitorCluster::dqmBeginRun(), Phase2OTMonitorCluster::dqmBeginRun(), Phase2ITMonitorRecHit::dqmBeginRun(), SiPixelTrackResidualSource::dqmBeginRun(), SiPixelHitEfficiencySource::dqmBeginRun(), Phase2ITValidateCluster::dqmBeginRun(), Phase2ITValidateRecHit::dqmBeginRun(), Phase2OTValidateCluster::dqmBeginRun(), TICLTrackstersEdgesValidation::dqmBeginRun(), SiStripGainsPCLWorker::dqmBeginRun(), EcalDeadCellTriggerPrimitiveFilter::envSet(), reco::HcalNoiseInfoProducer::filldigis(), MuonSimHitsValidAnalyzer::fillDT(), reco::HcalNoiseInfoProducer::fillrechits(), SiStripBFieldFilter::filter(), HLTPPSJetComparisonFilter::filter(), HighMultiplicityGenFilter::filter(), HLTMuonPointingFilter::filter(), CSCDigiValidator::filter(), EcalMIPRecHitFilter::filter(), HLTEcalResonanceFilter::filter(), HLTRegionalEcalResonanceFilter::filter(), CSCEfficiency::filter(), CastorDigiMonitor::getDbData(), CastorTTRecord::getEnergy_fC(), MuonShowerDigiFiller::getES(), MTDRecHitAlgo::getEventSetup(), OnlineBeamMonitor::globalBeginLuminosityBlock(), AlcaBeamMonitor::globalBeginLuminosityBlock(), SiPixelDigiToRaw::globalBeginLuminosityBlock(), GenParticleProducer::globalBeginRun(), GenPUProtonProducer::globalBeginRun(), HLTDiMuonGlbTrkFilter::hltFilter(), HLTCSCRing2or3Filter::hltFilter(), HLTCSCOverlapFilter::hltFilter(), HLTMuonTrackMassFilter::hltFilter(), HLTPixelActivityFilter::hltFilter(), HLTMuonTrimuonL3Filter::hltFilter(), HLTMuonDimuonL3Filter::hltFilter(), HLTRPCTrigNoSyncFilter::hltFilter(), HLTPixelClusterShapeFilter::hltFilter(), HLTmmkFilter::hltFilter(), HLTmmkkFilter::hltFilter(), HLTDTActivityFilter::hltFilter(), HLTLevel1GTSeed::hltFilter(), TrackMerger::init(), EcalEBTrigPrimAnalyzer::init(), ticl::SeedingRegionByTracks::initialize(), PixelUnpackingRegions::initialize(), CSCConditions::initializeEvent(), ShallowGainCalibration::isFarFromBorder(), MuonCosmicCompatibilityFiller::isOverlappingMuon(), EgammaHLTNxNClusterProducer::makeNxNClusters(), MuonAlignment::MuonAlignment(), TTClusterBuilder< T >::produce(), MuonSeedOrcaPatternRecognition::produce(), HcalTTPDigiProducer::produce(), DTDigiToRawModule::produce(), ShallowRechitClustersProducer::produce(), CSCDigiProducer::produce(), SimClusterAssociatorByEnergyScoreProducer::produce(), TracksterAssociatorByEnergyScoreProducer::produce(), ShallowClustersProducer::produce(), CastorSimpleReconstructor::produce(), HcalRealisticZS::produce(), LayerClusterAssociatorByEnergyScoreProducer::produce(), EcalDigiSelector::produce(), TrackstersMergeProducer::produce(), EcalRecalibRecHitProducer::produce(), HybridClusterProducer::produce(), HLTHcalTowerNoiseCleaner::produce(), HLTHcalTowerNoiseCleanerWithrechit::produce(), DTUnpackingModule::produce(), EcalTPSkimmer::produce(), ShallowSimhitClustersProducer::produce(), CTPPSPixelRawToDigi::produce(), EcalRecHitProducer::produce(), CastorDigiToRaw::produce(), PreshowerClusterShapeProducer::produce(), BeamSpotOnlineProducer::produce(), ShallowTrackClustersProducer::produce(), EcalDetailedTimeRecHitProducer::produce(), EgammaEcalRecHitIsolationProducer::produce(), EcalSelectiveReadoutProducer::produce(), HcalTrigPrimDigiProducer::produce(), GlobalMuonToMuonProducer::produce(), L1RCTInputProducer::produce(), HcalDigiToRaw::produce(), HcalHistogramRawToDigi::produce(), BeamSpotProducer::produce(), BeamDivergenceVtxGenerator::produce(), MuonSeedGenerator::produce(), HLTDisplacedmumumuVtxProducer::produce(), HcalRawToDigi::produce(), TrackListMerger::produce(), HLTDisplacedmumuVtxProducer::produce(), PreshowerPhiClusterProducer::produce(), HLTDisplacedtktktkVtxProducer::produce(), sistrip::DigiToRawModule::produce(), PreshowerClusterProducer::produce(), HLTDisplacedtktkVtxProducer::produce(), SiPixelRawToDigi::produce(), MuonSeedProducer::produce(), SeedingOTEDProducer::produce(), L1GctInternJetProducer::produce(), EgammaIsoDetIdCollectionProducer< T1 >::produce(), MultShiftMETcorrDBInputProducer::produce(), CastorRawToDigi::produce(), CTPPSPixelRecHitProducer::produce(), DeepBoostedJetTagInfoProducer::produce(), ClusterCompatibilityProducer::produce(), RPCPackingModule::produce(), SeedProducerFromSoA::produce(), FakeTrackProducer< T >::produce(), HLTmumutktkVtxProducer::produce(), CosmicMuonSeedGenerator::produce(), Onia2MuMuPAT::produce(), CTPPSPixelLocalTrackProducer::produce(), CTPPSProtonProducer::produce(), HcalDigiToRawuHTR::produce(), L1TGlobalProducer::produce(), CTPPSDiamondRecHitProducer::produce(), cms::MuonTCMETValueMapProducer::produce(), L1TPhysicalEtAdder::produce(), TotemTimingRecHitProducer::produce(), L1GlobalTriggerRecordProducer::produce(), TrajectorySeedFromMuonProducer::produce(), HLTmumutkVtxProducer::produce(), L1GTEvmDigiToRaw::produce(), DeepDoubleXTagInfoProducer::produce(), GenHIEventProducer::produce(), L1GTDigiToRaw::produce(), EcalRawToDigi::produce(), L1TExtCondProducer::produce(), DTDigitizer::produce(), L1TExtCondLegacyToStage2::produce(), CastorTowerProducer::produce(), L1GlobalTriggerEvmRawToDigi::produce(), InterestingDetIdCollectionProducer::produce(), InterestingDetIdFromSuperClusterProducer::produce(), EcalDigiToRaw::produce(), L1TkFastVertexProducer::produce(), reco::CentralityProducer::produce(), SiPixelCalibDigiProducer::produce(), ElectronHEEPIDValueMapProducer::produce(), L1ExtraParticlesProd::produce(), RPCTrigger::produce(), PixelJetPuId::produce(), SiPixelClusterProducer::produce(), ShallowGainCalibration::produce(), L1TkElectronTrackProducer::produce(), L1GlobalTriggerRawToDigi::produce(), CTPPSTotemDigiToRaw::produce(), DeepCMVATagInfoProducer::produce(), reco::HcalNoiseInfoProducer::produce(), L1MuGlobalMuonTrigger::produce(), BoostedDoubleSVProducer::produce(), CTPPSPixelDigiToRaw::produce(), L1TStage2Layer1Producer::produce(), DeepFlavourTagInfoProducer::produce(), RPCTechnicalTrigger::produce(), LaserAlignment::produce(), reco::modules::CosmicTrackSplitter::produce(), reco::modules::TrackerTrackHitFilter::produce(), L1GlobalTrigger::produce(), TemplatedVertexArbitrator< InputContainer, VTX >::produce(), TTStubBuilder< T >::produce(), reco::HcalHaloDataProducer::produce(), JetCoreMCtruthSeedGenerator::produce(), reco::EcalHaloDataProducer::produce(), TemplatedInclusiveVertexFinder< InputContainer, VTX >::produce(), TemplatedSecondaryVertexProducer< IPTI, VTX >::produce(), reco::CSCHaloDataProducer::produce(), IPProducer< Container, Base, Helper >::produce(), reco::GlobalHaloDataProducer::produce(), TrackExtenderWithMTDT< TrackCollection >::produce(), reco::modules::TrackerTrackHitFilter::produceFromTrajectory(), L1GtTriggerMenuLiteProducer::retrieveL1EventSetup(), TotemVFATRawToDigi::run(), EcalUncalibRecHitWorkerFixedAlphaBetaFit::set(), EcalRecHitWorkerSimple::set(), EcalUncalibRecHitWorkerRatio::set(), EcalUncalibRecHitWorkerAnalFit::set(), PreshowerPhiClusterProducer::set(), EcalRecHitWorkerRecover::set(), PreshowerClusterProducer::set(), ESRecHitWorker::set(), EcalUncalibRecHitWorkerMultiFit::set(), StripSubClusterShapeFilterBase::setEventBase(), EGHcalRecHitSelector::setup(), EgammaHLTPixelMatchElectronAlgo::setupES(), DTSegtoRPC::thePoints(), CSCSegtoRPC::thePoints(), BetafuncEvtVtxGenerator::update(), and DTTrig::updateES().

◆ getTransientHandle()

template<typename T , typename R >
ESTransientHandle<T> edm::EventSetup::getTransientHandle ( const ESGetToken< T, R > &  iToken) const
inline

Definition at line 166 of file EventSetup.h.

166  {
167  if constexpr (std::is_same_v<R, edm::DefaultRecord>) {
168  auto const& rec = this->get<eventsetup::default_record_t<ESTransientHandle<T>>>();
169  return rec.getTransientHandle(iToken);
170  } else {
171  auto const& rec = this->get<R>();
172  return rec.getTransientHandle(iToken);
173  }
174  }

Referenced by SiPixelRawToClusterCUDA::acquire(), DTGeometryTest::analyze(), EtlDigiHitsValidation::analyze(), MtdTracksValidation::analyze(), BtlDigiHitsValidation::analyze(), EtlSimHitsValidation::analyze(), EtlLocalRecoValidation::analyze(), BtlSimHitsValidation::analyze(), BtlLocalRecoValidation::analyze(), TrackerGeometryCompare::createROOTGeometry(), MTDRecHitProducer::produce(), MTDTrackingRecHitProducer::produce(), MTDClusterProducer::produce(), and TrackExtenderWithMTDT< TrackCollection >::produce().

◆ impl()

edm::EventSetupImpl const& edm::EventSetup::impl ( ) const
inlineprivate

Definition at line 192 of file EventSetup.h.

192 { return m_setup; }

References m_setup.

Referenced by tryToGet().

◆ operator=()

EventSetup& edm::EventSetup::operator= ( EventSetup const &  )
delete

◆ recordIsProvidedByAModule()

bool edm::EventSetup::recordIsProvidedByAModule ( eventsetup::EventSetupRecordKey const &  iKey) const
inline

returns true if the Record is provided by a Source or a Producer a value of true does not mean this EventSetup object holds such a record

Definition at line 186 of file EventSetup.h.

186  {
187  return m_setup.recordIsProvidedByAModule(iKey);
188  }

References m_setup, and edm::EventSetupImpl::recordIsProvidedByAModule().

◆ tryToGet()

template<typename T >
std::optional<T> edm::EventSetup::tryToGet ( ) const
inline

returns the Record of type T. If no such record available a null optional is returned

Definition at line 108 of file EventSetup.h.

108  {
109  using namespace eventsetup;
110  using namespace eventsetup::heterocontainer;
111 
112  //NOTE: this will catch the case where T does not inherit from EventSetupRecord
113  static_assert(std::is_base_of_v<edm::eventsetup::EventSetupRecord, T>,
114  "Trying to get a class that is not a Record from EventSetup");
116  eventsetup::EventSetupRecordKey>());
117  if (temp != nullptr) {
118  T rec;
120  return rec;
121  }
122  return std::nullopt;
123  }

References edm::EventSetupImpl::findImpl(), impl(), m_context, m_getTokenIndices, m_id, m_requireToken, m_setup, edm::eventsetup::heterocontainer::makeKey(), and groupFilesInBlocks::temp.

Referenced by L1RCTChannelMaskTester::analyze(), ESDaqInfoTask::beginLuminosityBlock(), DQMDaqInfo::beginLuminosityBlock(), hcaldqm::DQHarvester::beginRun(), hcaldqm::DQClient::beginRun(), SiStripCertificationInfo::beginRun(), SiStripDaqInfo::beginRun(), SiStripDcsInfo::beginRun(), SiStripOfflineDQM::beginRun(), hcaldqm::DQTask::bookHistograms(), SiStripMonitorDigi::dqmBeginRun(), SiPixelDcsInfo::dqmEndLuminosityBlock(), RPCDaqInfo::dqmEndLuminosityBlock(), SiPixelDaqInfo::dqmEndLuminosityBlock(), and RPDisplacementGenerator::RPDisplacementGenerator().

Friends And Related Function Documentation

◆ edm::PileUp

friend class edm::PileUp
friend

Needed until a better solution can be found.

Definition at line 60 of file EventSetup.h.

Member Data Documentation

◆ m_context

ESParentContext const* edm::EventSetup::m_context
private

Definition at line 197 of file EventSetup.h.

Referenced by find(), get(), and tryToGet().

◆ m_getTokenIndices

ESProxyIndex const* edm::EventSetup::m_getTokenIndices
private

Definition at line 196 of file EventSetup.h.

Referenced by find(), get(), and tryToGet().

◆ m_id

unsigned int edm::EventSetup::m_id
private

Definition at line 198 of file EventSetup.h.

Referenced by find(), get(), and tryToGet().

◆ m_requireToken

bool edm::EventSetup::m_requireToken
private

Definition at line 199 of file EventSetup.h.

Referenced by get(), and tryToGet().

◆ m_setup

edm::EventSetupImpl const& edm::EventSetup::m_setup
private
edm::EventSetupImpl::findImpl
eventsetup::EventSetupRecordImpl const * findImpl(const eventsetup::EventSetupRecordKey &) const
Definition: EventSetupImpl.cc:60
edm::EventSetupImpl::fillAvailableRecordKeys
void fillAvailableRecordKeys(std::vector< eventsetup::EventSetupRecordKey > &oToFill) const
clears the oToFill vector and then fills it with the keys for all available records
Definition: EventSetupImpl.cc:76
edm::EventSetup::m_getTokenIndices
ESProxyIndex const * m_getTokenIndices
Definition: EventSetup.h:196
info
static const TGPicture * info(bool iBackgroundIsBlack)
Definition: FWCollectionSummaryWidget.cc:153
edm::EventSetup::m_requireToken
bool m_requireToken
Definition: EventSetup.h:199
groupFilesInBlocks.temp
list temp
Definition: groupFilesInBlocks.py:142
edm::eventsetup::recordDoesExist
bool recordDoesExist(edm::EventSetupImpl const &, edm::eventsetup::EventSetupRecordKey const &)
Definition: NoRecordException.cc:22
edm::EventSetup::get
T get() const
Definition: EventSetup.h:87
susybsm::HSCParticleType::Type
Type
Definition: HSCParticle.h:20
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
edm::EventSetup::m_id
unsigned int m_id
Definition: EventSetup.h:198
edm::EventSetup::m_context
ESParentContext const * m_context
Definition: EventSetup.h:197
edm::eventsetup::heterocontainer::makeKey
Key makeKey(const IdTag &iIdTag)
Definition: HCMethods.h:28
edm::EventSetupImpl::recordIsProvidedByAModule
bool recordIsProvidedByAModule(eventsetup::EventSetupRecordKey const &) const
Definition: EventSetupImpl.cc:87
ESGetToken
edm::EventSetup::getData
bool getData(T &iHolder) const
Definition: EventSetup.h:127
T
long double T
Definition: Basic3DVectorLD.h:48
edm::EventSetup::m_setup
edm::EventSetupImpl const & m_setup
Definition: EventSetup.h:195
edm::EventSetup::EventSetup
EventSetup(T const &info, unsigned int iTransitionID, ESProxyIndex const *iGetTokenIndices, ESParentContext const &iContext, bool iRequireToken)
Definition: EventSetup.h:64
edm::EventSetup::impl
edm::EventSetupImpl const & impl() const
Definition: EventSetup.h:192
dttmaxenums::R
Definition: DTTMax.h:29
edm::EventSetupImpl::find
std::optional< eventsetup::EventSetupRecordGeneric > find(const eventsetup::EventSetupRecordKey &, unsigned int iTransitionID, ESProxyIndex const *getTokenIndices, ESParentContext const &iParent) const
Definition: EventSetupImpl.cc:45