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(), 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(), edm::DataMixingHcalDigiWorker::addHcalPileups(), edm::DataMixingHcalDigiWorker::addHcalSignals(), DDTestMuonNumbering::analyze(), L1TriggerKeyListExtReader::analyze(), ExTestEcalChannelStatusAnalyzer::analyze(), L1TriggerKeyExtViewer::analyze(), CMTRawAnalyzer::analyze(), PVSSIDReader::analyze(), RPCStripNoisesRcdRead::analyze(), HcalLutGenerator::analyze(), L1TMuonOverlapParamsWriter::analyze(), DumpFWRecoGeometry::analyze(), QGLikelihoodDBReader::analyze(), QGLikelihoodSystematicsDBReader::analyze(), L1KeyListWriter::analyze(), L1KeyWriter::analyze(), DumpFWTGeoRecoGeometry::analyze(), L1TCaloParamsUpdater::analyze(), L1TGlobalPrescalesVetosViewer::analyze(), GBRForestGetterFromDB::analyze(), L1MuScalesTester::analyze(), L1TMuonGlobalParamsWriter::analyze(), L1TGlobalPrescalesVetosWriter::analyze(), EcalPFRecHitThresholdsMaker::analyze(), L1CondDBIOVWriterExt::analyze(), L1TCaloStage2ParamsWriter::analyze(), L1MenuViewer::analyze(), L1TMuonEndCapForestWriter::analyze(), L1TMuonEndCapParamsWriter::analyze(), CondReader::analyze(), L1MenuWriter::analyze(), L1TMuonBarrelParamsWriter::analyze(), L1TMuonEndCapParamsViewer::analyze(), L1TMuonBarrelKalmanParamsViewer::analyze(), L1TMuonOverlapParamsViewer::analyze(), HtrXmlPattern::analyze(), L1CondDBPayloadWriterExt::analyze(), DDCMSDetector::analyze(), L1TMuonBarrelParamsViewer::analyze(), L1TMuonGlobalParamsViewer::analyze(), DTVDriftSegmentCalibration::analyze(), WriteEcalMiscalibConstants::analyze(), WriteEcalMiscalibConstantsMC::analyze(), EcalSRCondTools::analyze(), CSCViewDigi::analyze(), L1GctConfigDump::analyze(), L1ScalesTester::analyze(), DTTTrigOffsetCalibration::analyze(), JetResolutionDBReader::analyze(), BPHHistoSpecificDecay::analyze(), JetCorrectorDemo::analyze(), L1O2OTestAnalyzerExt::analyze(), DTTTrigWriter::analyze(), FactorizedJetCorrectorDemo::analyze(), DTT0CalibrationRMS::analyze(), L1GtBoardMapsTester::analyze(), L1GtPsbSetupTester::analyze(), EcalTPGAnalyzer::analyze(), DTConfigTester::analyze(), EcalGetLaserData::analyze(), CSCTFConfigTestAnalyzer::analyze(), DTTTrigCalibration::analyze(), L1MuCSCTFParametersTester::analyze(), L1GtParametersTester::analyze(), L1GtStableParametersTester::analyze(), L1CaloInputScaleTester::analyze(), DTVDriftCalibration::analyze(), KineExample::analyze(), JetCorrectorDBReader::analyze(), L1TCaloParamsViewer::analyze(), L1CondDBIOVWriter::analyze(), L1CondDBPayloadWriter::analyze(), L1GtVhdlWriter::analyze(), L1RCTChannelMaskTester::analyze(), EcalDccWeightBuilder::analyze(), DTT0Calibration::analyze(), SimplePhotonAnalyzer::analyze(), L1RCTParametersTester::analyze(), JetResolutionScaleFactorDBReader::analyze(), L1RCTRelValAnalyzer::analyze(), L1CaloGeometryDump::analyze(), SiPixelDQMRocLevelAnalyzer::analyze(), L1O2OTestAnalyzer::analyze(), DumpSimGeometry::analyze(), ElectronSeedAnalyzer::analyze(), TestHits::analyze(), BeamSpotRcdReader::analyze(), BTagPerformaceRootProducerFromSQLITE::analyze(), TestSmoothHits::analyze(), BeamSpotOnlineHLTRcdReader::analyze(), BeamSpotOnlineLegacyRcdReader::analyze(), L1RCTTestAnalyzer::analyze(), TestOutliers::analyze(), TestTrackHits::analyze(), SiStripElectronAnalyzer::analyze(), DisplayGeom::analyze(), L1GtTrigReport::analyze(), EcalMipGraphs::analyze(), TauJetCorrectorExample::analyze(), ValidateGeometry::analyze(), L1CaloTowerTreeProducer::analyze(), EcalDisplaysByEvent::analyze(), EcalCosmicsHists::analyze(), MuonGeometrySanityCheck::analyze(), L1MuonRecoTreeProducer::analyze(), L1TConfigDumper::analyze(), GlobalTrackerMuonAlignment::analyzeTrackTrack(), GlobalTrackerMuonAlignment::analyzeTrackTrajectory(), AlignmentProducerBase::applyDB(), SegmentToTrackAssociator::associate(), SegmentsTrackAssociator::associate(), TrackingRecHitAlgorithm::beginEvent(), EcalDeadCellDeltaRFilter::beginLuminosityBlock(), PTrackerParametersDBBuilder::beginRun(), L1MuonOverlapParamsDBProducer::beginRun(), XMLGeometryReader::beginRun(), HcalParametersDBBuilder::beginRun(), HFNoseVFEProducer::beginRun(), PCaloGeometryBuilder::beginRun(), CSCRecoIdealDBLoader::beginRun(), ME0RecoIdealDBLoader::beginRun(), PHGCalParametersDBBuilder::beginRun(), RPCRecoIdealDBLoader::beginRun(), DTRecoIdealDBLoader::beginRun(), GEMRecoIdealDBLoader::beginRun(), PGeometricDetBuilder::beginRun(), sistrip::ExcludedFEDListProducer::beginRun(), Phase2Tracker::Phase2TrackerDigiProducer::beginRun(), RPCUnpackingModule::beginRun(), cms::MinBias::beginRun(), OutputMagneticFieldDDToDDL::beginRun(), EcalPedOffset::beginRun(), EcalTPGAnalyzer::beginRun(), HcalRecHitRecalib::beginRun(), OMTFPatternMaker::beginRun(), OutputDDToDDL::beginRun(), EcalSimple2007H4TBAnalyzer::beginRun(), CtfSpecialSeedGenerator::beginRun(), TrackingCertificationInfo::beginRun(), ConversionTrackCandidateProducer::beginRun(), TestHits::beginRun(), SiStripPlotGain::beginRun(), TestSmoothHits::beginRun(), TrackingRecHitProducer::beginRun(), FWFFLooper::beginRun(), PFCandidateRecalibrator::beginRun(), TestOutliers::beginRun(), TestTrackHits::beginRun(), TTClusterBuilder< T >::beginRun(), RPDigiProducer::beginRun(), ElectronCalibrationUniv::beginRun(), EmbeddingVertexCorrector::beginRun(), L1TStage2Layer2Producer::beginRun(), TTStubAssociator< T >::beginRun(), MuonSimHitProducer::beginRun(), TTClusterAssociator< T >::beginRun(), FastTrackDeDxProducer::beginRun(), EcalCosmicsHists::beginRun(), L1TStage2Layer1Producer::beginRun(), L1TStage1Layer2Producer::beginRun(), DTTrigPhase2Prod::beginRun(), RPCSeedGenerator::beginRun(), ECALpedestalPCLworker::bookHistograms(), SiStripMonitorDigi::bookHistograms(), MonitorTrackResidualsBase< pixel_or_strip >::bookHistograms(), SiStripMonitorCluster::bookHistograms(), L1GtHwValidation::bookHistograms(), SeedForPhotonConversion1Leg::buildSeed(), SeedForPhotonConversionFromQuadruplets::buildSeed(), SeedForPhotonConversionFromQuadruplets::buildSeedBool(), reco::helper::JetMuonHitsIDHelper::calculate(), TrackingParticleNumberOfLayers::calculate(), CSCHaloAlgo::Calculate(), PhotonIsolationCalculator::calculateEcalRecHitIso(), ConditionHelper::checkAndUpdateConditions(), AngleConverter::checkAndUpdateGeometry(), L1TMuon::GeometryTranslator::checkAndUpdateGeometry(), DeepFlavourTagInfoProducer::checkEventSetup(), IPProducer< Container, Base, Helper >::checkEventSetup(), RPCSeedPattern::checkSimplePattern(), CkfDebugger::CkfDebugger(), ClusterShapeTrackFilter::ClusterShapeTrackFilter(), rrapi.RRApi::columns(), L1GtDataEmulAnalyzer::compareFDL(), CompareHitPairsY::CompareHitPairsY(), EcalDBCopy::copyToDB(), ESDBCopy::copyToDB(), EcalTPGDBCopy::copyToDB(), CosmicHitPairGeneratorFromLayerPair::CosmicHitPairGeneratorFromLayerPair(), CosmicHitTripletGeneratorFromLayerTriplet::CosmicHitTripletGeneratorFromLayerTriplet(), rrapi.RRApi::count(), RPCSeedPattern::createFakeSeed(), TGeoFromDddService::createManager(), RPCSeedPattern::createSeed(), rrapi.RRApi::data(), EcalLaserCondTools::dbToAscii(), egammaisolation::EgammaHcalExtractor::deposit(), egammaisolation::EgammaRecHitExtractor::deposit(), muonisolation::CaloExtractorByAssociator::deposits(), AlignmentTrackSelector::detailedHitsCheck(), EcalCosmicsHists::determineTriggers(), MultipleScatteringGeometry::detLayers(), CSCValidation::doCalibrations(), CSCValidation::doTimeMonitoring(), SiStripMonitorDigi::dqmBeginRun(), InvRingCalib::duringLoop(), EcalEleCalibLooper::duringLoop(), ZeeCalibration::duringLoop(), EcalClusterIsoCalculator::EcalClusterIsoCalculator(), InvRingCalib::EERingDef(), TrackerOfflineValidationSummary::endJob(), ECALpedestalPCLHarvester::endRun(), EcalDeadCellDeltaRFilter::envSet(), HITrackingRegionProducer::estimateMultiplicity(), HITrackingRegionForPrimaryVtxProducer::estimateMultiplicity(), HGCalTriggerTools::eventSetup(), RPCSeedPattern::extropolateStep(), PixelRecoUtilities::FieldAt0::FieldAt0(), HGCalTriggerNtupleHGCTowers::fill(), HGCalTriggerNtupleHGCMulticlusters::fill(), HGCalTriggerNtupleHGCPanels::fill(), HGCalTriggerNtupleHGCClusters::fill(), HGCalTriggerNtupleHGCConcentratorData::fill(), HGCalTriggerNtupleHGCTriggerSums::fill(), HGCalTriggerNtupleHGCDigis::fill(), HGCalTriggerNtupleHGCTriggerCells::fill(), BPHWriteSpecificDecay::fill(), HGCalTriggerNtupleGen::fill(), PhotonProducer::fillPhotonCollection(), APDShape::fillShape(), EBShape::fillShape(), EEShape::fillShape(), CaloParticleDebugger::fillSimHits(), CSCTimingExtractor::fillTiming(), DTTimingExtractor::fillTiming(), L1Filter::filter(), ElectronIdMVAProducer::filter(), EcalLaserCorrFilter::filter(), ElectronRegressionEnergyProducer::filter(), EEBadScFilter::filter(), EcalBadCalibFilter::filter(), EcalDeadCellBoundaryEnergyFilter::filter(), RPCRecHitFilter::filter(), CSCSkim::filter(), CSCEfficiency::filter(), edm::get(), PixelInactiveAreaFinder::getBadPixelDets(), JetCorrectorImplMakerBase::getCalculator(), betterConfigParser.BetterConfigParser::getCompares(), getData(), HTrackAssociator::getFreeTrajectoryState(), edm::DataMixingEMDigiWorker::GetGainRatios(), betterConfigParser.BetterConfigParser::getGeneral(), EcalClusterPUCleaningTools::getGeometry(), L1GetHistLimits::getHistLimits(), JetCorrector::getJetCorrector(), EcalFEtoDigi::getLUT(), edm::DataMixingEMDigiWorker::GetPedestals(), betterConfigParser.BetterConfigParser::getResultingSection(), submitPVValidationJobs.BetterConfigParser::getResultingSection(), pat::PATIsolatedTrackProducer::getTrackDetMatchInfo(), EcalClusterCrackCorrection::getValue(), RawPCCProducer::globalEndLuminosityBlockProduce(), LeptonRecoSkim::handleObjects(), HcalRechitIsoCalculator::HcalRechitIsoCalculator(), CosmicHitPairGeneratorFromLayerPair::hitPairs(), ctfseeding::HitExtractorPIX::hits(), ctfseeding::HitExtractorSTRP::hits(), RectangularEtaPhiTrackingRegion::hits(), CosmicTrackingRegion::hits_(), CosmicHitTripletGeneratorFromLayerTriplet::hitTriplets(), PixelTripletLargeTipGenerator::hitTriplets(), HLTLevel1GTSeed::hltFilter(), PixelInactiveAreaFinder::inactiveAreas(), reco::modules::CandVertexFitterEventSetupInit< Fitter >::init(), reco::modules::CandKinematicVertexFitterEventSetupInit::init(), helper::BFieldIsolationAlgorithmSetup< Alg >::init(), CosmicSeedCreator::init(), LowPtClusterShapeSeedComparitor::init(), SeedGeneratorForCRack::init(), CosmicLayerPairs::init(), SeedFromProtoTrack::init(), PixelClusterShapeSeedComparitor::init(), EcalClusterEnergyCorrection::init(), EcalClusterEnergyCorrectionObjectSpecific::init(), EcalClusterEnergyUncertainty::init(), PhotonEnergyCorrector::init(), SeedGeneratorForCosmics::init(), MatcherUsingTracksAlgorithm::init(), PropagateToMuon::init(), EcalClusterCrackCorrection::init(), CSCRecHitMatcher::init(), SeedFromConsecutiveHitsCreator::init(), CheckHitPattern::init(), PFBadHcalPseudoClusterProducer::init(), SimpleCosmicBONSeeder::init(), TSGFromPropagation::init(), CosmicLayerTriplets::init(), CosmicTrajectoryBuilder::init(), HTrackAssociator::init(), CRackTrajectoryBuilder::init(), EcalZeroSuppressionProducer::initCalibrations(), MultiHitGeneratorFromChi2::initES(), DTHitAssociator::initEvent(), SeedFinderSelector::initEvent(), FastHFShowerLibrary::initHFShowerLibrary(), MuonPathAnalyzerInChamber::initialise(), HoughGrouping::initialise(), MuonPathAssociator::initialise(), MuonPathAnalyticAnalyzer::initialise(), RPCIntegrator::initialise(), EGEnergyCorrector::Initialize(), DBReader::initialize(), HcalSignalGenerator< HBHEDigitizerTraits >::initializeEvent(), EcalSignalGenerator< EEDigitizerTraits >::initializeEvent(), TMVAEvaluator::initializeGBRForest(), SeedForPhotonConversion1Leg::initialKinematic(), SeedForPhotonConversionFromQuadruplets::initialKinematic(), PileupJetIdProducer::initJetEnergyCorrector(), L1TCaloLayer1FetchLUTs(), pat::LeptonVertexSignificance::LeptonVertexSignificance(), ConcreteFFTJetRcdMapper< DataType, RecordType >::load(), PFMETAlgorithmMVA::loadMVAfromDB(), SeedingLayerSetsBuilder::makeSeedingLayerSetsHitsforFastSim(), CosmicParametersDefinerForTP::momentum(), ParametersDefinerForTP::momentum(), ParametersDefinerForTP::momentumAndVertex(), MultipleScatteringGeometry::MultipleScatteringGeometry(), MuonResidualsFromTrack::MuonResidualsFromTrack(), MuonAlignmentInputDB::newAlignableMuon(), MuonAlignmentInputSurveyDB::newAlignableMuon(), MuonAlignmentInputXML::newAlignableMuon(), MuonAlignmentInputMethod::newAlignableMuon(), pat::helper::KinResolutionsLoader::newEvent(), pat::helper::VertexingHelper::newEvent(), NuclearInteractionFinder::NuclearInteractionFinder(), PixelFitterByHelixProjections::PixelFitterByHelixProjections(), FWFFService::postBeginRun(), CtfSpecialSeedGenerator::preliminaryCheck(), OpticalFunctionsTransport::process(), RecHitProcessor::process(), RecHitProcessor::processLook(), HIMultiTrackSelector::processMVA(), HcalPatternSource::produce(), SeedGeneratorFromProtoTracksEDProducer::produce(), MFProducer::produce(), JetSignalVertexCompatibility::produce(), FamosProducer::produce(), QGTagger::produce(), EcalTBWeightUncalibRecHitProducer::produce(), MeasurementTrackerEventProducer::produce(), ESZeroSuppressionProducer::produce(), JetTracksAssociatorAtCaloFace::produce(), PixelTracksProducer::produce(), SeedCreatorFromRegionHitsEDProducerT< T_SeedCreator >::produce(), JetTagProducer::produce(), HIPixelClusterVtxProducer::produce(), TSGFromL2Muon::produce(), CalibratedElectronProducerRun2T< T >::produce(), KFBasedPixelFitterProducer::produce(), SoftPFElectronTagInfoProducer::produce(), HIProtoTrackFilterProducer::produce(), cms::JetCorrectionProducer< T >::produce(), Phase2TrackerClusterizer::produce(), SoftPFMuonTagInfoProducer::produce(), ImpactParameter::produce(), PixelFitterByHelixProjectionsProducer::produce(), FastTrackerRecHitMatcher::produce(), TSGForOI::produce(), TSGForOIFromL2::produce(), HiEgammaSCCorrectionMaker::produce(), CaloCleaner< T >::produce(), EcalRecHitRecalib::produce(), PrimaryVertexSorter< ParticlesCollection >::produce(), ConversionSeedFilterCharge::produce(), OutsideInMuonSeeder::produce(), GeometryProducer::produce(), ShiftedPFCandidateProducerForNoPileUpPFMEt::produce(), TrackCandidateProducer::produce(), TrackTimeValueMapProducer::produce(), ShiftedPFCandidateProducerForPFNoPUMEt::produce(), PixelFitterByConformalMappingAndLineProducer::produce(), SimpleCosmicBONSeeder::produce(), ConversionSeedFilter::produce(), pat::TauJetCorrFactorsProducer::produce(), PhotonProducer::produce(), L1TGlobalProducer::produce(), TrackAssociatorByPositionProducer::produce(), EgammaSCCorrectionMaker::produce(), PFBadHcalPseudoClusterProducer::produce(), L1GlobalTriggerRecordProducer::produce(), L1TMuonLegacyConverter::produce(), HiSpikeCleaner::produce(), RecHitCorrector::produce(), pat::PATIsolatedTrackProducer::produce(), TrackAssociatorByChi2Producer::produce(), MuonErrorMatrixAdjuster::produce(), MuScleFitMuonProducer::produce(), ConversionTrackCandidateProducer::produce(), HiEvtPlaneFlatProducer::produce(), TrackAlgoCompareUtil::produce(), L1TExtCondProducer::produce(), PFTauPrimaryVertexProducerBase::produce(), RctInputTextToDigi::produce(), L1TExtCondLegacyToStage2::produce(), SeedToTrackProducer::produce(), TrackAssociatorByHitsProducer::produce(), PFCandidateRecalibrator::produce(), RPCTrigger::produce(), TrackExtrapolator::produce(), L1MuGlobalMuonTrigger::produce(), FastSimProducer::produce(), CSCOverlapsTrackPreparation::produce(), PixelClusterTagInfoProducer::produce(), cms::CosmicTrackFinder::produce(), TrajectorySeedProducer::produce(), NuclearTrackCorrector::produce(), L1GlobalTrigger::produce(), EgammaHLTExtraProducer::produce(), EcalTrigPrimProducer::produce(), SelectedElectronFEDListProducer< TEle, TCand >::produce(), PFTau3ProngReco::produce(), EgammaHLTPhase2ExtraProducer::produce(), ShiftedJetProducerT< T, Textractor >::produce(), RPCSeedGenerator::produce(), DeepCoreSeedGenerator::produce(), EvtPlaneProducer::produce(), MuonToTrackingParticleAssociatorEDProducer::produce(), cms::CkfTrackCandidateMakerBase::produceBase(), edm::DataMixingHcalDigiWorker::putHcal(), 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(), HGCalBackendLayer1Processor2DClustering::run(), PixelTrackReconstruction::run(), HGCalBackendLayer2Processor3DClustering::run(), EveDisplayPlugin::run(), L1MuonPixelTrackFitter::run(), L1GlobalTriggerGTL::run(), RPCSeedPattern::SegmentAlgorithmSpecial(), SingleEleCalibSelector::select(), SiPixelCPEGenericDBErrorParametrization::setDBAccess(), EcalCondDBReader::setElectronicsMap(), EcalDQMStatusWriter::setElectronicsMap(), ClusterShapeTrajectoryFilter::setEvent(), TSGFromPropagation::setEvent(), TSGForRoadSearch::setEvent(), BaseCkfTrajectoryBuilder::setEvent(), MuonCkfTrajectoryBuilder::setEvent_(), EGRegressionModifierV3::setEventContent(), TransientInitialStateEstimator::setEventSetup(), ConversionTrackFinder::setEventSetup(), ConversionSeedFinder::setEventSetup(), cms::CkfTrackCandidateMakerBase::setEventSetup(), SeedTransformer::setServices(), EcalSelectiveReadoutSuppressor::setTtFlags(), PhiSymmetryCalibration_step2::setUp(), PhiSymmetryCalibration_step2_SM::setUp(), TrackingRecHitProducer::setupDetIdPipes(), FamosManager::setupGeometryAndField(), ParametrizedSubtractor::setupGeometryMap(), PileUpSubtractor::setupGeometryMap(), EcalTPGDBCopy::shouldCopy(), EcalDBCopy::shouldCopy(), ESDBCopy::shouldCopy(), rrapi.RRApi::tables(), rrapi.RRApi::tags(), rrapi.RRApi::templates(), ThirdHitPrediction::ThirdHitPrediction(), ThrParameters::ThrParameters(), SeedForPhotonConversionFromQuadruplets::trajectorySeed(), TripletFilter::TripletFilter(), MuonIdTruthInfo::truthMatchMuon(), BPHDecayVertex::tTracks(), MonopoleSteppingAction::update(), SCRegressionCalculator< VarCalc >::update(), BaselinePFSCRegression::update(), PhysicsTools::MVAComputerCache::update(), fastsim::Geometry::update(), SimG4HGCalValidation::update(), DTTrig::updateES(), SeedingLayerSetsBuilder::updateEventSetup(), GeometryProducer::updateMagneticField(), MeasurementTrackerEventProducer::updatePixels(), CosmicParametersDefinerForTP::vertex(), ParametersDefinerForTP::vertex(), rrapi.RRApi::workspaces(), and MuonAlignmentOutputXML::write().

◆ 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 HcalDigitizer::accumulate(), SiStripDigitizer::accumulate(), cms::SiPixelDigitizer::accumulatePixelHits(), Hector::add(), SiStripGainRandomCalculator::algoAnalyze(), DeDxDiscriminatorLearner::algoAnalyzeTheTree(), DeDxDiscriminatorLearner::algoBeginJob(), SiStripGainCosmicCalculator::algoBeginJob(), SiStripGainFromData::algoBeginJob(), SiStripGainFromCalibTree::algoBeginJob(), SiStripQualityHotStripIdentifier::algoBeginRun(), SiStripQualityHotStripIdentifierRoot::algoBeginRun(), SiStripGainFromCalibTree::algoBeginRun(), CreateIdealTkAlRecords::alignToGT(), ME0HitsValidation::analyze(), ME0RecHitsValidation::analyze(), SiStripApvSimulationParametersBuilder::analyze(), ME0DigisValidation::analyze(), ME0SegmentsValidation::analyze(), HcalLutGenerator::analyze(), HcalTBParameterTester::analyze(), CSCRecHitValidation::analyze(), DummyCondObjPrinter< TObject, TRecord >::analyze(), HcalFrontEndMapPopConAnalyzer::analyze(), HcalSiPMParametersPopConAnalyzer::analyze(), HcalSiPMCharacteristicsPopConAnalyzer::analyze(), HcalTPParametersPopConAnalyzer::analyze(), HcalTPChannelParametersPopConAnalyzer::analyze(), SiStripBadStripReader::analyze(), SurveyInputCSCfromPins::analyze(), scaleGains::analyze(), CastorChannelQualityPopConAnalyzer::analyze(), CastorElectronicsMapPopConAnalyzer::analyze(), CastorGainsPopConAnalyzer::analyze(), CastorGainWidthsPopConAnalyzer::analyze(), CastorPedestalsPopConAnalyzer::analyze(), CastorPedestalWidthsPopConAnalyzer::analyze(), CastorSaturationCorrsPopConAnalyzer::analyze(), HcalChannelQualityPopConAnalyzer::analyze(), corrResps::analyze(), CastorRecoParamsPopConAnalyzer::analyze(), HcalDcsMapPopConAnalyzer::analyze(), HcalDcsValuesPopConAnalyzer::analyze(), HcalElectronicsMapPopConAnalyzer::analyze(), CastorQIEDataPopConAnalyzer::analyze(), HcalFlagHFDigiTimeParamsPopConAnalyzer::analyze(), HcalGainsPopConAnalyzer::analyze(), HcalGainWidthsPopConAnalyzer::analyze(), HcalL1TriggerObjectsPopConAnalyzer::analyze(), HcalLongRecoParamsPopConAnalyzer::analyze(), HcalLUTCorrsPopConAnalyzer::analyze(), HcalPedestalsPopConAnalyzer::analyze(), HcalPedestalWidthsPopConAnalyzer::analyze(), HcalPFCorrsPopConAnalyzer::analyze(), HcalLutMetadataPopConAnalyzer::analyze(), HcalQIETypesPopConAnalyzer::analyze(), HcalRecoParamsPopConAnalyzer::analyze(), HcalRespCorrsPopConAnalyzer::analyze(), HcalMCParamsPopConAnalyzer::analyze(), HcalQIEDataPopConAnalyzer::analyze(), HcalTimeCorrsPopConAnalyzer::analyze(), HcalTimingParamsPopConAnalyzer::analyze(), HcalValidationCorrsPopConAnalyzer::analyze(), HcalZSThresholdsPopConAnalyzer::analyze(), HcalZDCLowGainFractionsPopConAnalyzer::analyze(), corrGains::analyze(), SiStripCablingTrackerMap::analyze(), SiStripSummaryReader::analyze(), SiStripDetVOffTkMapPlotter::analyze(), KVFTrackUpdate::analyze(), RetrievePPSAlignmentConfig::analyze(), modGains::analyze(), CSCDigiValidation::analyze(), OuterTrackerMonitorTrackingParticles::analyze(), WritePPSAlignmentConfig::analyze(), SiStripLorentzAngleReader::analyze(), SiStripBadComponentsDQMServiceReader::analyze(), SiStripPedestalsReader::analyze(), SiStripNoisesReader::analyze(), SiStripThresholdReader::analyze(), HcalPulseContainmentTest::analyze(), CTPPSLHCInfoPlotter::analyze(), AlignmentStats::analyze(), SiStripApvGainReader::analyze(), SiStripDetVOffReader::analyze(), HcalCalibrator::analyze(), CTPPSOpticsPlotter::analyze(), DTSurveyConvert::analyze(), CTPPSHepMCDistributionPlotter::analyze(), SurveyDataConverter::analyze(), SiStripDetVOffTrendPlotter::analyze(), HGcalHitIdCheck::analyze(), SiStripNoiseNormalizedWithApvGainBuilder::analyze(), PPSGeometryBuilder::analyze(), OnlineBeamSpotFromDB::analyze(), CTPPSProtonReconstructionValidator::analyze(), SiStripMonitorDigi::analyze(), EcalPileUpDepMonitor::analyze(), SiPixelRecHitsValid::analyze(), SiStripApvGainBuilderFromTag::analyze(), PrintTotemDAQMapping::analyze(), CTPPSAlignmentInfo::analyze(), HcalTestSimHitID::analyze(), CTPPSProtonReconstructionPlotter::analyze(), ValidationMisalignedTracker::analyze(), BeamConditionsMonitor::analyze(), KVFTest::analyze(), RetrieveCTPPSBeamParameters::analyze(), CTPPSProtonReconstructionSimulationValidator::analyze(), HcalQIEDataCheck::analyze(), SiStripLAProfileBooker::analyze(), CTPPSProtonReconstructionEfficiencyEstimatorMC::analyze(), SiStripAnalyser::analyze(), WriteL1TriggerObjectsTxt::analyze(), TrackSplittingMonitor::analyze(), HcalAutoPedestalValidator::analyze(), ElectronStudy::analyze(), CTPPSProtonReconstructionEfficiencyEstimatorData::analyze(), TrackEfficiencyMonitor::analyze(), cms::ProducerAnalyzer::analyze(), HcalSimHitAnalysis::analyze(), HcalPedestalsCheck::analyze(), HcalPedestalWidthsCheck::analyze(), tadqm::TrackAnalyzer::analyze(), TotemRPDQMSource::analyze(), DTCCablingMapTestReader::analyze(), HcalTestNumberingTester::analyze(), BoostIODBReader< DataType, RecordType >::analyze(), MonitorTrackResidualsBase< pixel_or_strip >::analyze(), HGCalShowerSeparation::analyze(), CaloSimHitAnalysis::analyze(), SiStripMonitorQuality::analyze(), MuonAlignmentAnalyzer::analyze(), EcalSimHitStudy::analyze(), ContainmentCorrectionAnalyzer::analyze(), PrimaryVertexResolution::analyze(), CTPPSGeometryInfo::analyze(), SiStripMonitorRawData::analyze(), TrackerGeometryCompare::analyze(), SiStripApvGainRescaler::analyze(), SiStripMonitorCluster::analyze(), HcalCollapseAnalyzer::analyze(), HcalGainsCheck::analyze(), SiPhase2OuterTrackerLorentzAngleWriter::analyze(), PPSAlignmentWorker::analyze(), HIPTwoBodyDecayAnalyzer::analyze(), TotemTimingDQMSource::analyze(), HcalLutAnalyzer::analyze(), GEMGeometryValidate::analyze(), ME0GeometryValidate::analyze(), RPCGeometryValidate::analyze(), HGCalDigiValidation::analyze(), DTRunConditionVar::analyze(), BPHMonitor::analyze(), SiStripMonitorPedestals::analyze(), MuonDTDigis::analyze(), CSCGeometryValidate::analyze(), SiStripChannelGainFromDBMiscalibrator::analyze(), SiStripFEDCheckPlugin::analyze(), SiStripNoisesFromDBMiscalibrator::analyze(), HcalLuttoDB::analyze(), PixelLumiDQM::analyze(), HitEff::analyze(), HcalRecHitsAnalyzer::analyze(), HcalRaddamMuon::analyze(), BuildTrackerMapPlugin::analyze(), AnalyzerMinbias::analyze(), ECALMultifitAnalyzer_HI::analyze(), StudyCaloGen::analyze(), L1GtTrigReport::analyze(), DetIdSelectorTest::analyze(), ApeEstimatorSummary::analyze(), SiStripQualityHistory::analyze(), NearbyPixelClustersAnalyzer::analyze(), SiPixelQualityHistory::analyze(), cms::Analyzer_minbias::analyze(), ValidIsoTrkCalib::analyze(), SiPixelTrackingRecHitsValid::analyze(), PixelBaryCentreAnalyzer::analyze(), SiStripMonitorTrack::analyze(), HcalDigisValidation::analyze(), TrackerTreeGenerator::analyze(), DiMuonVertexValidation::analyze(), ApeTreeCreateDefault::analyze(), SiStripCMMonitorPlugin::analyze(), EcalTPGParamBuilder::analyze(), EopTreeWriter::analyze(), CastorMonitorModule::analyze(), SiStripFEDMonitorPlugin::analyze(), TrackingMonitor::analyze(), CTPPSDiamondDQMSource::analyze(), DiElectronVertexValidation::analyze(), AlignmentMonitorAsAnalyzer::analyze(), IsoTrackCalibration::analyze(), SiPixelPhase1Analyzer::analyze(), CastorPedestalsAnalysis::analyze(), APVShotsAnalyzer::analyze(), MCMisalignmentScaler::analyze(), HcalHBHEMuonAnalyzer::analyze(), TrackerGeometryIntoNtuples::analyze(), TrackerRemapper::analyze(), HcalHBHEMuonHighEtaAnalyzer::analyze(), CosmicRateAnalyzer::analyze(), SplitVertexResolution::analyze(), IsoTrackCalib::analyze(), SeedMultiplicityAnalyzer::analyze(), StudyCaloResponse::analyze(), OverlapValidation::analyze(), HcalIsoTrkAnalyzer::analyze(), IsoTrig::analyze(), L1TrackObjectNtupleMaker::analyze(), IsolatedTracksHcalScale::analyze(), GlobalDigisAnalyzer::analyze(), IsolatedGenParticles::analyze(), PFAnalysis::analyze(), IsolatedTracksCone::analyze(), QcdLowPtDQM::analyze(), SiStripRecHitsValid::analyze(), TrackerDpgAnalysis::analyze(), IsolatedTracksNxN::analyze(), SiStripTrackingRecHitsValid::analyze(), ResidualRefitting::analyze(), TrackingNtuple::analyze(), PixelClusterShapeExtractor::analyzeRecTracks(), PixelClusterShapeExtractor::analyzeSimHits(), EcalSelectiveReadoutValidation::analyzeTP(), EMEnrichingFilterAlgo::applyBFieldCurv(), AlignmentProducerBase::applyDB(), TrackDetectorAssociator::associate(), ecaldqm::PresampleTask::beginEvent(), ecaldqm::OccupancyTask::beginEvent(), ecaldqm::ClusterTask::beginEvent(), PositionAtECalEntranceComputer::beginEvent(), reco::tau::RecoTauImpactParameterSignificancePlugin::beginEvent(), ElectronHcalHelper::beginEvent(), reco::tau::PFRecoTauChargedHadronFromPFCandidatePlugin::beginEvent(), PFRecoTauDiscriminationByIsolationMVA2::beginEvent(), AntiElectronIDMVA6< TauType, ElectronType >::beginEvent(), reco::tau::PFRecoTauDiscriminationByMVAIsolationRun2::beginEvent(), PFRecHitQTestHCALChannel::beginEvent(), reco::tau::PATTauDiscriminationByMVAIsolationRun2::beginEvent(), converter::MassiveCandidateConverter::beginFirstRun(), hcaldqm::DQClient::beginLuminosityBlock(), HGCalTrackCollectionProducer::beginLuminosityBlock(), PTrackerAdditionalParametersPerDetDBBuilder::beginRun(), HcalPulseContainmentManager::beginRun(), PFDisplacedTrackerVertexProducer::beginRun(), PFNuclearProducer::beginRun(), LightPFTrackProducer::beginRun(), EcalDQMonitorClient::beginRun(), hcaldqm::DQHarvester::beginRun(), PFV0Producer::beginRun(), edm::FlatBaseThetaGunProducer::beginRun(), PFConversionProducer::beginRun(), edmtest::DQMXMLFileEventSetupAnalyzer::beginRun(), ecaldqm::SelectiveReadoutTask::beginRun(), ecaldqm::TrigPrimTask::beginRun(), edmtest::DQMReferenceHistogramRootFileEventSetupAnalyzer::beginRun(), edm::BaseFlatGunProducer::beginRun(), edm::BaseRandomtXiGunProducer::beginRun(), hcaldqm::DQClient::beginRun(), HGCalDigiClient::beginRun(), HcalPulseShapes::beginRun(), HcalTrigPrimDigiProducer::beginRun(), PFTrackProducer::beginRun(), SiStripDetInfoFileWriter::beginRun(), HGCalRecHitsClient::beginRun(), HGCalSimHitsClient::beginRun(), ZdcSimpleReconstructor::beginRun(), PPSModifySingularModes::beginRun(), TkVoltageMapCreator::beginRun(), HcalSimpleRecAlgo::beginRun(), HcalSimpleReconstructor::beginRun(), TauHadronDecayFilter::beginRun(), TrackingAnalyser::beginRun(), PPSTimingCalibrationPCLHarvester::beginRun(), HcalSimHitCheck::beginRun(), trackerDTC::ProducerED::beginRun(), OscarMTMasterThread::beginRun(), edm::FlatEGunASCIIWriter::beginRun(), SiStripAnalyser::beginRun(), OMTFReconstruction::beginRun(), AlCaRecoTriggerBitsRcdRead::beginRun(), MagneticFieldFilter::beginRun(), ConvertedPhotonProducer::beginRun(), SiStripFineDelayHit::beginRun(), L1RCTProducer::beginRun(), ZdcHitReconstructor::beginRun(), DeDxEstimatorProducer::beginRun(), TrackingCertificationInfo::beginRun(), HLTPrescaleRecorder::beginRun(), HGCalTimingAnalyzer::beginRun(), RunManagerMTWorker::beginRun(), HcalGeomCheck::beginRun(), SiStripGainsPCLHarvester::beginRun(), SiStripCorrelateBadStripAndNoise::beginRun(), SiStripCorrelateNoise::beginRun(), IsolatedPixelTrackCandidateProducer::beginRun(), tmtt::TMTrackProducer::beginRun(), SiStripCertificationInfo::beginRun(), SiStripDaqInfo::beginRun(), SiStripPlotGain::beginRun(), HcalHitReconstructor::beginRun(), SimpleHBHEPhase1Algo::beginRun(), IsolatedPixelTrackCandidateL1TProducer::beginRun(), HGCalSimHitStudy::beginRun(), omtf::OmtfPacker::beginRun(), ConvBremSeedProducer::beginRun(), omtf::OmtfUnpacker::beginRun(), SiStripClassToMonitorCondData::beginRun(), HGCalTBAnalyzer::beginRun(), APVModeFilter::beginRun(), APVCyclePhaseProducerFromL1TS::beginRun(), HcalRaddamMuon::beginRun(), SiStripQualityHistory::beginRun(), SiPixelQualityHistory::beginRun(), EcalTPCondAnalyzer::beginRun(), NearbyPixelClustersAnalyzer::beginRun(), HcalRecHitsDQMClient::beginRun(), DuplicateRecHits::beginRun(), PFElecTkProducer::beginRun(), MuonIdProducer::beginRun(), RecAnalyzerMinbias::beginRun(), HcalHBHEMuonAnalyzer::beginRun(), GoodSeedProducer::beginRun(), HcalHBHEMuonHighEtaAnalyzer::beginRun(), AlCaIsoTracksProducer::beginRun(), HcalIsoTrkAnalyzer::beginRun(), PFAnalysis::beginRun(), TrackerDpgAnalysis::beginRun(), L1FPGATrackProducer::beginRun(), GEMCheckGeometry::bookHistograms(), RPCMonitorDigi::bookHistograms(), SiPixelDigiValid::bookHistograms(), HcalSimHitStudy::bookHistograms(), SimHitsValidationHcal::bookHistograms(), hcaldqm::DQTask::bookHistograms(), PPSTimingCalibrationPCLWorker::bookHistograms(), HcalSimHitsValidation::bookHistograms(), SiStripMonitorQuality::bookHistograms(), MonitorTrackResidualsBase< pixel_or_strip >::bookHistograms(), SiStripMonitorRawData::bookHistograms(), L1TRate_Offline::bookHistograms(), PPSAlignmentWorker::bookHistograms(), L1TRate::bookHistograms(), SiStripSpyMonitorModule::bookHistograms(), L1TGT::bookHistograms(), SiStripMonitorPedestals::bookHistograms(), SiStripMonitorTrack::bookHistograms(), SiStripCMMonitorPlugin::bookHistograms(), SiStripFEDMonitorPlugin::bookHistograms(), L1TSync::bookHistograms(), L1GtHwValidation::bookHistograms(), L1TSync_Offline::bookHistograms(), L1TBPTX::bookHistograms(), tadqm::TrackAnalyzer::bookHistosForEfficiencyFromHitPatter(), ConversionProducer::buildCollection(), HcalDigitizer::buildHBHEQIECells(), HcalDigitizer::buildHFQIECells(), HcalDigitizer::buildHOSiPMCells(), PhotonIsolationCalculator::calculate(), HcalHaloAlgo::Calculate(), EcalHaloAlgo::Calculate(), spr::chargeIsolation(), spr::chargeIsolationEcal(), spr::chargeIsolationHcal(), SiStripGainsPCLHarvester::checkBookAPVColls(), TrackerOfflineValidation::checkBookHists(), EcalBarrelDigisValidation::checkCalibrations(), EcalEndcapDigisValidation::checkCalibrations(), EcalDigisValidation::checkCalibrations(), EcalDigiProducer_Ph2::checkCalibrations(), EcalMixingModuleValidation::checkCalibrations(), EcalDigiProducer::checkCalibrations(), SiStripCorrelateNoise::checkGainCache(), EcalTimeDigiProducer::checkGeometry(), HcalTBDigiProducer::checkGeometry(), CastorDigiProducer::checkGeometry(), HcalDigitizer::checkGeometry(), EcalDigiProducer::checkGeometry(), EcalMixingModuleValidation::checkPedestals(), RegressionHelper::checkSetup(), ResidualRefitting::CollectTrackHits(), GsfElectronAlgo::completeElectrons(), spr::coneChargeIsolation(), WriteESAlignments::convert(), AlignmentProducerBase::createGeometries(), MonitorTrackResidualsBase< pixel_or_strip >::createMEs(), SiStripMonitorPedestals::createMEs(), SiStripMonitorDigi::createMEs(), SiStripMonitorCluster::createMEs(), SiStripRecHitsValid::createMEs(), SiStripTrackingRecHitsValid::createMEs(), TrackerGeometryCompare::createROOTGeometry(), AlCaRecoTriggerBitsRcdUpdate::createStartTriggerBits(), CSCTFPtLUT::CSCTFPtLUT(), muonisolation::CaloExtractor::deposit(), muonisolation::PixelTrackExtractor::deposit(), muonisolation::JetExtractor::deposit(), PreMixingSiStripWorker::DMinitializeDetUnit(), SiStripCorrelateBadStripAndNoise::DoAnalysis(), SiStripCorrelateNoise::DoAnalysis(), SiStripGainsPCLWorker::dqmAnalyze(), hcaldqm::DQHarvester::dqmBeginLuminosityBlock(), HiBasicGenTest::dqmBeginRun(), Phase2TrackerMonitorDigi::dqmBeginRun(), Phase2TrackerValidateDigi::dqmBeginRun(), HGCGeometryValidation::dqmBeginRun(), Phase2ITMonitorCluster::dqmBeginRun(), Phase2ITValidateRecHitBase::dqmBeginRun(), Phase2OTMonitorCluster::dqmBeginRun(), CaloTowersAnalyzer::dqmBeginRun(), Phase2OTValidateRecHitBase::dqmBeginRun(), Phase2ITMonitorRecHit::dqmBeginRun(), TotemTimingDQMSource::dqmBeginRun(), StandaloneTrackMonitor::dqmBeginRun(), OuterTrackerMonitorTTCluster::dqmBeginRun(), HGCalDigiValidation::dqmBeginRun(), OuterTrackerMonitorTTStub::dqmBeginRun(), EcalSelectiveReadoutValidation::dqmBeginRun(), Phase2ITValidateCluster::dqmBeginRun(), Phase2OTMonitorRecHit::dqmBeginRun(), Phase2OTValidateCluster::dqmBeginRun(), HcalDigisValidation::dqmBeginRun(), HcalRecHitsAnalyzer::dqmBeginRun(), SiStripMonitorTrack::dqmBeginRun(), CTPPSDiamondDQMSource::dqmBeginRun(), HGCalSimHitValidation::dqmBeginRun(), ECALRecHitAnalyzer::dqmbeginRun(), SiStripGainsPCLWorker::dqmBeginRun(), JetAnalyzer::dqmBeginRun(), METAnalyzer::dqmBeginRun(), SiPixelEDAClient::dqmEndLuminosityBlock(), SiPixelStatusHarvester::dqmEndRun(), PPSAlignmentHarvester::dqmEndRun(), EcalReadoutTools::EcalReadoutTools(), ecaldqm::IntegrityClient::endLuminosityBlock(), ecaldqm::TowerStatusTask::endLuminosityBlock(), SiStripAnalyser::endLuminosityBlock(), AlcaBeamSpotFromDB::endLuminosityBlockProduce(), sistrip::EnsembleCalibrationLA::endRun(), SiStripQualityStatistics::endRun(), SiStripFedCablingManipulator::endRun(), DummyCondDBWriter< TObject, TObjectO, TRecord >::endRun(), PCLMetadataWriter::endRun(), SiStripGainsPCLHarvester::endRun(), SiStripBadComponentInfo::endRun(), SiStripOfflineDQM::endRun(), SiStripQualityWithFromFedErrorsHelper::endRun(), OccupancyPlots::endRun(), AlignmentMonitorMuonVsCurvature::event(), AlignmentMonitorMuonSystemMap1D::event(), AlignmentMonitorSegmentDifferences::event(), HGCalEgammaIDHelper::eventInit(), HIPAlignmentAlgorithm::fillAlignablesMonitor(), SiStripMonitorPedestals::fillCondDBMEs(), GlobalHitsAnalyzer::fillHCal(), tadqm::TrackAnalyzer::fillHistosForState(), ApeEstimator::fillHitVariables(), HFPreReconstructor::fillInfos(), QcdLowPtDQM::fillPixels(), SiStripCertificationInfo::fillSiStripCertificationMEs(), SiStripPositionCorrectionsTableProducer::fillTable(), TrackingNtuple::fillTrackingParticles(), TrackerValidationVariables::fillTrackQuantities(), TrackerGeometryCompare::fillTree(), GlobalDigisProducer::fillTrk(), GlobalDigisAnalyzer::fillTrk(), GlobalRecHitsAnalyzer::fillTrk(), GlobalRecHitsProducer::fillTrk(), muonisolation::CaloExtractor::fillVetos(), LaserAlignmentEventFilter::filter(), PythiaFilterGammaJet::filter(), PythiaFilterGammaJetWithBg::filter(), PythiaFilterGammaJetWithOutBg::filter(), XangleBetaStarFilter::filter(), FilterTrackerOn::filter(), __class__< T >::filter(), HLTMuonPointingFilter::filter(), HFNoisyHitsFilter::filter(), PythiaFilterIsolatedTrack::filter(), AlCaHBHEMuonFilter::filter(), AlCaLowPUHBHEMuonFilter::filter(), AlCaHEMuonFilter::filter(), LargeEvents< T >::filter(), EcalMIPRecHitFilter::filter(), OverlapProblemTSOSPositionFilter::filter(), AlCaIsoTracksFilter::filter(), LeptonSkimming::filter(), cms::SiPixelDigitizer::finalizeEvent(), SiStripDigitizer::finalizeEvent(), 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(), L1RCTProducer::getFedVectorFromRunInfo(), ExoticaDQM::getGenParticleTrajectoryAtBeamline(), DeDxTools::getHistogramD3D(), PixelTripletLowPtGenerator::getTracker(), hcaldqm::DQTask::globalBeginLuminosityBlock(), LHCInfoProducer::globalBeginLuminosityBlockProduce(), GEMDigiToRawModule::globalBeginRun(), GEMRawToDigiModule::globalBeginRun(), L1Comparator::globalBeginRun(), SiPixelStatusProducer::globalBeginRun(), SiStripLorentzAngleRunInfoTableProducer::globalBeginRunProduce(), PixelTripletLowPtGenerator::hitTriplets(), HLTMuonL1Filter::hltFilter(), HLTPMMassFilter::hltFilter(), reco::modules::CandKinematicVertexFitterEventSetupInit::init(), PSSDigitizerAlgorithm::init(), PSPDigitizerAlgorithm::init(), SSDigitizerAlgorithm::init(), TT6CMNSubtractor::init(), IteratedMedianCMNSubtractor::init(), SiStripPedestalsSubtractor::init(), SiPixelChargeReweightingAlgorithm::init(), DTSimHitMatcher::init(), CSCSimHitMatcher::init(), GEMSimHitMatcher::init(), ME0SimHitMatcher::init(), RPCSimHitMatcher::init(), SiStripFineDelayTLA::init(), CSCStubMatcher::init(), GenJetParticleSelector::init(), EcalBasicClusterLocalContCorrection::init(), Pixel3DDigitizerAlgorithm::init(), SiStripFedZeroSuppression::init(), GEMRecHitMatcher::init(), SiStripAPVRestorer::init(), GEMDigiMatcher::init(), gen::TauolappInterface::init(), PixelDigitizerAlgorithm::init(), SiPixelDigitizerAlgorithm::init(), MuonIdProducer::init(), PFEcalBarrelRecHitCreator::init(), PFEcalEndcapRecHitCreator::init(), TrackDetectorAssociator::init(), SiPixelDigitizerAlgorithm::init_DynIneffDB(), SiStripPopConFEDErrorsHandlerFromDQM::initES(), SiStripClusterInfo::initEvent(), GEMDQMBase::initGeometry(), SiStripDCSStatus::initialise(), SiStripRawProcessingAlgorithms::initialize(), SiStripDetVOffFakeBuilder::initialize(), ticl::SeedingRegionByHF::initialize(), StripClusterizerAlgorithm::initialize(), SiStripRecHitConverterAlgorithm::initialize(), CSCOverlapsAlignmentAlgorithm::initialize(), MuonAlignmentFromReference::initialize(), SiStripDigitizerAlgorithm::initializeDetUnit(), EcalTBDigiProducer::initializeEvent(), CastorDigiProducer::initializeEvent(), HcalTBDigiProducer::initializeEvent(), PreMixingSiStripWorker::initializeEvent(), cms::SiPixelDigitizer::initializeEvent(), HcalDigitizer::initializeEvent(), cms::Phase2TrackerDigitizer::initializeEvent(), SiStripDigitizer::initializeEvent(), SiStripDigitizerAlgorithm::initializeEvent(), HGCDigitizer::initializeEvent(), HGCalShowerShapeHelper::initPerSetup(), l1tVertexFinder::InputData::InputData(), SiStripGainFromCalibTree::isBFieldConsistentWithMode(), SiStripGainFromData::IsFarFromBorder(), L1TMenuHelper::L1TMenuHelper(), GeometryInterface::load(), EgammaHLTNxNClusterProducer::makeNxNClusters(), ticl::PatternRecognitionbyCLUE3D< TILES >::makeTracksters(), ticl::PatternRecognitionbyCA< TILES >::makeTracksters(), CosmicTrackingParticleSelector::operator()(), HLTHighLevel::pathsFromSetup(), HcalSimpleReconstructor::process(), MultiTrackSelector::processMVA(), VectorHitBuilderEDProducer::produce(), HFEMClusterProducer::produce(), PixelVertexProducerClusters::produce(), GenParticleDecaySelector::produce(), CSCDigiProducer::produce(), edm::RandomXiThetaGunProducer::produce(), MTDTrackingRecHitProducer::produce(), GenParticlePruner::produce(), EcalIsolatedParticleCandidateProducer::produce(), SiStripProcessedRawDigiProducer::produce(), EgammaHLTBcHcalIsolationProducersRegional::produce(), JetCoreClusterSplitter::produce(), PFDisplacedVertexCandidateProducer::produce(), SiStripClusterToDigiProducer::produce(), PFConversionProducer::produce(), l1tpf::PFTrackProducerFromL1Tracks::produce(), PPSLocalTrackLiteReAligner::produce(), TrackFitterProducer::produce(), SiPixelDigisClustersFromSoA::produce(), ShallowDigisProducer::produce(), IsolatedEcalPixelTrackCandidateProducer::produce(), SiStripRegFEDSelector::produce(), SiPixelDigiErrorsFromSoA::produce(), MuonTrackProducer::produce(), GenParticles2HepMCConverter::produce(), SiPixelClusterShapeCacheProducer::produce(), MkFitEventOfHitsProducer::produce(), PFElectronTranslator::produce(), PixelNtupletsFitterProducer::produce(), TkAlCaOverlapTagger::produce(), Phase2TrackerRecHits::produce(), SiPixelRecHitCUDA::produce(), PFDisplacedVertexProducer::produce(), MuonReSeeder::produce(), EgammaHLTClusterShapeProducer::produce(), SeedClusterRemoverPhase2::produce(), HBHEIsolatedNoiseReflagger::produce(), BeamSpotOnlineProducer::produce(), pat::PATGenCandsFromSimTracksProducer::produce(), SeedClusterRemover::produce(), PFTrackProducer::produce(), GlobalTrackQualityProducer::produce(), PFPhotonTranslator::produce(), MkFitSiPixelHitConverter::produce(), L1TMuonBarrelKalmanStubProducer::produce(), SiPixelRecHitSoAFromLegacy::produce(), ZdcSimpleReconstructor::produce(), SiPixelRecHitFromCUDA::produce(), L1TrackerEtMissProducer::produce(), SeedingOTEDProducer::produce(), HLTTrackClusterRemoverNew::produce(), ElectronNHitSeedProducer::produce(), cms::HitReCalibrator::produce(), MkFitProducer::produce(), MkFitSeedConverter::produce(), EgammaHLTGsfTrackVarProducer::produce(), TwoBodyDecayConstraintProducer::produce(), HITrackClusterRemover::produce(), TwoBodyDecayMomConstraintProducer::produce(), Onia2MuMuPAT::produce(), cms::MuonMETValueMapProducer::produce(), ConversionTrackProducer::produce(), MkFitSiStripHitConverter::produce(), TevMuonProducer::produce(), TotemRPUVPatternFinder::produce(), pat::GenPlusSimParticleProducer::produce(), MuonHLTSeedMVAClassifier::produce(), SeedGeneratorFromL1TTracksEDProducer::produce(), HBHEPlan1Combiner::produce(), CTPPSPixelClusterProducer::produce(), SiStripFineDelayHit::produce(), ZdcHitReconstructor::produce(), ReducedEGProducer::produce(), InterestingTrackEcalDetIdProducer::produce(), PixelTrackProducerFromSoA::produce(), pat::PATPhotonProducer::produce(), AlCaECALRecHitReducer::produce(), HcalHitSelection::produce(), GEDPhotonProducer::produce(), HcalHitReconstructor::produce(), L1TrackJetProducer::produce(), TrackingParticleSelectorByGen::produce(), PixelTrackProducer::produce(), TrackFromSeedProducer::produce(), PFTauTransverseImpactParameters::produce(), PFTauSecondaryVertexProducer::produce(), L1TkFastVertexProducer::produce(), TPStubValueMapProducer::produce(), PrimaryVertexProducer::produce(), FastPrimaryVertexWithWeightsProducer::produce(), L1TrackFastJetProducer::produce(), HFPhase1Reconstructor::produce(), MkFitOutputConverter::produce(), ShallowGainCalibration::produce(), TrackerToMuonPropagator::produce(), TrackstersFromSimClustersProducer::produce(), L1FastTrackingJetProducer::produce(), L1TowerCalibrator::produce(), MuonSimHitProducer::produce(), ConversionProducer::produce(), FastSimProducer::produce(), NearbyPixelClustersProducer::produce(), PFSimParticleProducer::produce(), pat::PATElectronProducer::produce(), CTPPSDirectProtonSimulation::produce(), FastPrimaryVertexProducer::produce(), LaserAlignment::produce(), HLTRechitInRegionsProducer< T1 >::produce(), GoodSeedProducer::produce(), CTPPSPixelDigiProducer::produce(), pat::PATMuonProducer::produce(), JetCoreMCtruthSeedGenerator::produce(), DeepCoreSeedGenerator::produce(), cms::SiPixelRecHitConverter::produce(), GlobalDigisProducer::produce(), PPSFastLocalSimulation::produce(), AlCaHOCalibProducer::produce(), L1FPGATrackProducer::produce(), L1EGCrystalClusterEmulatorProducer::produce(), HBHEPhase1Reconstructor::produce(), SiStripFineDelayHit::produceNoTracking(), PreMixingSiPixelWorker::put(), PreMixingSiStripWorker::put(), SiStripDcsInfo::readCabling(), CocoaAnalyzer::readCalibrationDB(), SiStripDaqInfo::readFedIds(), L1TPFCaloProducer::readHcalDigis_(), AlignmentProducerBase::readInSurveyRcds(), SiStripDcsInfo::readStatus(), SiStripDaqInfo::readSubdetFedFractions(), MuonTrackFinder::reconstruct(), TrackingRegionsFromSuperClustersProducer::regions(), retrieveGBRForests(), CreateIdealTkAlRecords::retrieveGeometry(), L1GlobalTriggerGTL::run(), CSCOverlapsAlignmentAlgorithm::run(), MuonAlignmentFromReference::run(), HitPixelLayersTPSelector::select(), HGCalRecHitWorkerSimple::set(), ESTimingTask::set(), HGCalUncalibRecHitWorkerWeights::set(), EcalFEDMonitorTemp< SUBDET >::setElectronicsMap(), SiPixelGainCalibrationServicePayloadGetter< SiPixelGainCalibrationOffline, SiPixelGainCalibrationOfflineRcd >::setESObjects(), GlobalTrajectoryBuilderBase::setEvent(), EGRegressionModifierV2::setEventContent(), EGRegressionModifierV1::setEventContent(), EG8XObjectUpdateModifier::setEventContent(), EgammaRegressionContainer::setEventContent(), SCEnergyCorrectorSemiParm::setEventSetup(), tadqm::TrackAnalyzer::setLumi(), ecaldqm::DQWorker::setSetupObjects(), ecaldqm::DQWorker::setSetupObjectsEndLumi(), EcalSelectiveReadoutValidation::setTtEtSums(), HcalDigitizer::setup(), FamosManager::setupGeometryAndField(), HiPuRhoProducer::setupGeometryMap(), HIPAlignmentAlgorithm::terminate(), TracktoRPC::thePoints(), LaserDQM::trackerStatistics(), RealisticSimClusterMapper::update(), AntiElectronDeadECAL::updateBadTowers(), L1RCTProducer::updateConfiguration(), and SuperClusterImporter::updateEventSetup().

◆ 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(), ParticleTreeDrawer::analyze(), RPCGeometryServTest::analyze(), RPCDigiValid::analyze(), RPCPointVsRecHit::analyze(), RPCRecHitValid::analyze(), GEMPadDigiReader::analyze(), EcalSRCondTools::analyze(), testEcalTPGScale::analyze(), BeamSpotFromDB::analyze(), EcalEBTrigPrimAnalyzer::analyze(), DQMSourcePi0::analyze(), TkAlCaRecoMonitor::analyze(), L1CaloInputScalesGenerator::analyze(), SiPixelDigiSource::analyze(), PhysicsObjectsMonitor::analyze(), MuonEnergyDepositAnalyzer::analyze(), SiPixelPhase1HitsV::analyze(), SiPixelHLTSource::analyze(), l1t::L1TCaloStage1LutWriter::analyze(), SiPixelClusterSource::analyze(), L1CaloInputScaleTester::analyze(), CSCRecoBadChannelsAnalyzer::analyze(), WriteCTPPSBeamParameters::analyze(), EcalMustacheSCParametersMaker::analyze(), EcalSCDynamicDPhiParametersMaker::analyze(), WriteCTPPSPixelAnalysisMask::analyze(), DTGeometryValidate::analyze(), CTPPSRPAlignmentInfoAnalyzer::analyze(), CSCTFanalyzer::analyze(), WriteCTPPSPixelDAQMapping::analyze(), ParticleListDrawer::analyze(), MuonMisalignedProducer::analyze(), L1GctValidation::analyze(), EcalTrigPrimAnalyzer::analyze(), MuonAlignmentAnalyzer::analyze(), HGCalHitCalibration::analyze(), SiPixelTrackResidualSource::analyze(), ContainmentCorrectionAnalyzer::analyze(), BDHadronTrackMonitoringAnalyzer::analyze(), SiPixelHitEfficiencySource::analyze(), MuonIdDQM::analyze(), HGCalRecHitValidation::analyze(), PPSPixelDigiAnalyzer::analyze(), L1RCTSaveInput::analyze(), TkConvValidator::analyze(), HitEff::analyze(), PPSStraightTrackAligner::analyze(), MuonIdVal::analyze(), L1RCTLutWriter::analyze(), HLTGetDigi::analyze(), PhotonValidator::analyze(), HLTInfo::analyze(), SiPixelErrorEstimation::analyze(), SiPixelErrorsDigisToCalibDigis::analyze(), AlignmentMonitorAsAnalyzer::analyze(), HGCalWaferValidation::analyze(), PrimaryVertexValidation::analyze(), CSCOfflineMonitor::analyze(), analyzer::SiPixelLorentzAngle::analyze(), L1TTauOffline::analyze(), TrackerOfflineValidationSummary::analyze(), CSCValidation::analyze(), SiPixelOfflineCalibAnalysisBase::analyze(), BeamHaloAnalyzer::analyze(), ResidualRefitting::analyze(), EcalSelectiveReadoutValidation::analyzeEB(), EcalSelectiveReadoutValidation::analyzeEE(), ElectronHcalHelper::beginEvent(), PFRecHitQTestDBThreshold::beginEvent(), PFRecHitQTestECALMultiThreshold::beginEvent(), PFRecHitQTestThresholdInThicknessNormalizedMIPs::beginEvent(), PFRecHitQTestDBSeedingThreshold::beginEvent(), DQMDaqInfo::beginLuminosityBlock(), InterestingEcalDetIdProducer::beginRun(), TICLLayerTileProducer::beginRun(), hcaldqm::DQHarvester::beginRun(), HGCalTowerMapProducer::beginRun(), HGCalTowerProducer::beginRun(), HGCalVFEProducer::beginRun(), HGCalBackendLayer1Producer::beginRun(), HGCalConcentratorProducer::beginRun(), HGCalBackendLayer2Producer::beginRun(), FilteredLayerClustersProducer::beginRun(), RPCDigiProducer::beginRun(), ME0PadDigiProducer::beginRun(), GEMPadDigiProducer::beginRun(), hcaldqm::DQClient::beginRun(), RPCandIRPCDigiProducer::beginRun(), sistrip::ExcludedFEDListProducer::beginRun(), HcalTrigPrimDigiProducer::beginRun(), SiPixelDetInfoFileWriter::beginRun(), ReducedESRecHitCollectionProducer::beginRun(), EcalDetIdToBeRecoveredProducer::beginRun(), GEMChamberMasker::beginRun(), DeDxHitInfoProducer::beginRun(), PFProducer::beginRun(), ME0DigiPreRecoProducer::beginRun(), ME0ChamberMasker::beginRun(), GEMDigiProducer::beginRun(), ME0DigiProducer::beginRun(), TrackCandidateTopBottomHitFilter::beginRun(), L1TUtmTriggerMenuDumper::beginRun(), CalibrationTrackSelectorFromDetIdList::beginRun(), TrackingCertificationInfo::beginRun(), SiStripGainsPCLHarvester::beginRun(), GEMPadDigiClusterProducer::beginRun(), InterestingDetIdFromSuperClusterProducer::beginRun(), tmtt::TMTrackProducer::beginRun(), InterestingDetIdCollectionProducer::beginRun(), SiStripCertificationInfo::beginRun(), SiStripDaqInfo::beginRun(), DTTrigProd::beginRun(), TrackingOfflineDQM::beginRun(), SiStripDcsInfo::beginRun(), EcalRawToDigi::beginRun(), SiStripOfflineDQM::beginRun(), RPCChamberMasker::beginRun(), L1TMicroGMTLUTDumper::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(), NoCQTask::bookHistograms(), DigiComparisonTask::bookHistograms(), TPComparisonTask::bookHistograms(), PedestalTask::bookHistograms(), FCDTask::bookHistograms(), TPTask::bookHistograms(), LEDTask::bookHistograms(), QIE11Task::bookHistograms(), QIE10Task::bookHistograms(), UMNioTask::bookHistograms(), LaserTask::bookHistograms(), RawTask::bookHistograms(), RecHitTask::bookHistograms(), RPCRecHitValid::bookHistograms(), DigiTask::bookHistograms(), GEMEfficiencyAnalyzer::bookHistograms(), hcaldqm::DQTask::bookHistograms(), SiPixelTrackResidualSource::bookHistograms(), SiPixelHitEfficiencySource::bookHistograms(), L1TBPTX::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(), CosmicClusterProducer::clusterizeECALPart(), IslandClusterProducer::clusterizeECALPart(), EcalMixingModuleValidation::computeSDBunchDigi(), PFClusterEMEnergyCorrector::correctEnergies(), AlignmentProducerBase::createGeometries(), DTTrig::createTUs(), CSCOfflineMonitor::doBXMonitor(), Phase2TrackerValidateDigi::dqmBeginRun(), SiPixelTrackResidualSource::dqmBeginRun(), SiPixelHitEfficiencySource::dqmBeginRun(), HGCalRecHitValidation::dqmBeginRun(), TkConvValidator::dqmBeginRun(), HGCalHitValidation::dqmBeginRun(), TICLTrackstersEdgesValidation::dqmBeginRun(), PhotonValidator::dqmBeginRun(), SiStripGainsPCLWorker::dqmBeginRun(), BeamSpotDipServer::dqmEndLuminosityBlock(), ecaldqm::TowerStatusTask::endLuminosityBlock(), EcalDeadCellTriggerPrimitiveFilter::envSet(), reco::HcalNoiseInfoProducer::filldigis(), MuonSimHitsValidAnalyzer::fillDT(), GlobalHitsProdHist::fillECal(), GlobalHitsAnalyzer::fillECal(), GlobalHitsProducer::fillECal(), HCALRecHitAnalyzer::FillGeometry(), GlobalHitsProdHist::fillHCal(), GlobalHitsAnalyzer::fillHCal(), GlobalHitsProducer::fillHCal(), GlobalDigisProducer::fillHCal(), GlobalDigisAnalyzer::fillHCal(), GlobalRecHitsAnalyzer::fillHCal(), GlobalRecHitsProducer::fillHCal(), GlobalHitsProdHist::fillMuon(), GlobalHitsAnalyzer::fillMuon(), GlobalHitsProducer::fillMuon(), GlobalDigisAnalyzer::fillMuon(), GlobalRecHitsAnalyzer::fillMuon(), GlobalRecHitsProducer::fillMuon(), reco::HcalNoiseInfoProducer::fillrechits(), GlobalHitsProdHist::fillTrk(), GlobalHitsAnalyzer::fillTrk(), GlobalHitsProducer::fillTrk(), GlobalRecHitsAnalyzer::fillTrk(), GlobalRecHitsProducer::fillTrk(), 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(), HGCalDepthPreClusterer::getEventSetup(), HGCalClusteringAlgoBase::getEventSetup(), L1RCTProducer::getFedVectorFromOmds(), PFCand_AssoMapAlgos::GetInputCollections(), PF_PU_AssoMapAlgos::GetInputCollections(), RPCDqmClient::getRPCdetId(), 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(), PFHBHERecHitCreator::importRecHits(), PFHcalRecHitCreator< Digi, Geometry, Layer, Detector >::importRecHits(), PFPSRecHitCreator::importRecHits(), PFHGCalRecHitCreator< DET, Layer, det, subdet >::importRecHits(), PFHFRecHitCreator::importRecHits(), PFEcalBarrelRecHitCreator::importRecHits(), PFEcalEndcapRecHitCreator::importRecHits(), PFRecHitEcalBarrelNavigatorWithTime::init(), TrackMerger::init(), PFECALHashNavigator::init(), PFRecHitEcalEndcapNavigatorWithTime::init(), EcalEBTrigPrimAnalyzer::init(), PFHCALDenseIdNavigator< HcalDetId, HcalTopology, false >::init(), PFBadHcalPseudoClusterProducer::init(), PFRecHitEcalBarrelNavigator::init(), PFRecHitEcalEndcapNavigator::init(), PFRecHitHCALNavigator::init(), PFRecHitHCALNavigatorWithTime::init(), PFRecHitCaloTowerNavigator::init(), ticl::SeedingRegionByTracks::initialize(), PixelUnpackingRegions::initialize(), CSCConditions::initializeEvent(), SiStripDigitizerAlgorithm::initializeEvent(), ShallowGainCalibration::isFarFromBorder(), MuonCosmicCompatibilityFiller::isOverlappingMuon(), EgammaHLTNxNClusterProducer::makeNxNClusters(), PiZeroAnalyzer::makePizero(), MuonAlignment::MuonAlignment(), CosmicTrackingParticleSelector::operator()(), TTClusterBuilder< T >::produce(), MuonSeedOrcaPatternRecognition::produce(), HcalTTPDigiProducer::produce(), DTDigiToRawModule::produce(), ShallowRechitClustersProducer::produce(), LCToCPAssociatorByEnergyScoreProducer::produce(), CSCDigiProducer::produce(), CastorSimpleReconstructor::produce(), MultiClusterAssociatorByEnergyScoreProducer::produce(), LCToSimTSAssociatorByEnergyScoreProducer::produce(), TSToSCAssociatorByEnergyScoreProducer::produce(), TSToSimTSAssociatorByEnergyScoreProducer::produce(), LCToSCAssociatorByEnergyScoreProducer::produce(), ShallowClustersProducer::produce(), HcalRealisticZS::produce(), TrackstersMergeProducer::produce(), EcalRecalibRecHitProducer::produce(), HLTHcalTowerNoiseCleanerWithrechit::produce(), HLTHcalTowerNoiseCleaner::produce(), EcalTPSkimmer::produce(), ShallowSimhitClustersProducer::produce(), CTPPSPixelRawToDigi::produce(), EcalRecHitProducer::produce(), CastorDigiToRaw::produce(), ShallowTrackClustersProducer::produce(), EcalDetailedTimeRecHitProducer::produce(), EgammaEcalRecHitIsolationProducer::produce(), EcalSelectiveReadoutProducer::produce(), L1RCTInputProducer::produce(), HcalTrigPrimDigiProducer::produce(), GlobalMuonToMuonProducer::produce(), HcalDigiToRaw::produce(), HcalHistogramRawToDigi::produce(), VertexProducer::produce(), BeamSpotProducer::produce(), EcalDigiSelector::produce(), HLTDisplacedmumumuVtxProducer::produce(), BeamSpotOnlineProducer::produce(), BeamDivergenceVtxGenerator::produce(), MuonSeedGenerator::produce(), HcalRawToDigi::produce(), HLTDisplacedmumuVtxProducer::produce(), TrackListMerger::produce(), HybridClusterProducer::produce(), HLTDisplacedtktkVtxProducer::produce(), sistrip::DigiToRawModule::produce(), PFEGammaProducer::produce(), HLTDisplacedtktktkVtxProducer::produce(), SeedingOTEDProducer::produce(), MuonSeedProducer::produce(), L1GctInternJetProducer::produce(), PreshowerClusterShapeProducer::produce(), EgammaIsoDetIdCollectionProducer< T1 >::produce(), ClusterCompatibilityProducer::produce(), MultShiftMETcorrDBInputProducer::produce(), CTPPSPixelRecHitProducer::produce(), DeepBoostedJetTagInfoProducer::produce(), CastorRawToDigi::produce(), RPCPackingModule::produce(), FakeTrackProducer< T >::produce(), SeedProducerFromSoA::produce(), TwoBodyDecayConstraintProducer::produce(), Onia2MuMuPAT::produce(), HLTmumutktkVtxProducer::produce(), TwoBodyDecayMomConstraintProducer::produce(), CosmicMuonSeedGenerator::produce(), CTPPSPixelLocalTrackProducer::produce(), HcalDigiToRawuHTR::produce(), CTPPSDiamondRecHitProducer::produce(), L1TGlobalProducer::produce(), CTPPSProtonProducer::produce(), cms::MuonTCMETValueMapProducer::produce(), L1TPhysicalEtAdder::produce(), TotemTimingRecHitProducer::produce(), L1GlobalTriggerRecordProducer::produce(), TrajectorySeedFromMuonProducer::produce(), HLTmumutkVtxProducer::produce(), L1GTEvmDigiToRaw::produce(), DeepDoubleXTagInfoProducer::produce(), PreshowerPhiClusterProducer::produce(), GenHIEventProducer::produce(), InterestingDetIdFromSuperClusterProducer::produce(), EcalRawToDigi::produce(), PreshowerClusterProducer::produce(), L1GTDigiToRaw::produce(), L1TExtCondProducer::produce(), DTDigitizer::produce(), InterestingDetIdCollectionProducer::produce(), CastorTowerProducer::produce(), L1TExtCondLegacyToStage2::produce(), L1GlobalTriggerEvmRawToDigi::produce(), EcalDigiToRaw::produce(), reco::CentralityProducer::produce(), SiPixelCalibDigiProducer::produce(), pat::PATTriggerEventProducer::produce(), L1ExtraParticlesProd::produce(), ElectronHEEPIDValueMapProducer::produce(), SiPixelRawToDigi::produce(), ConvBremSeedProducer::produce(), PixelJetPuId::produce(), RPCTrigger::produce(), SiPixelClusterProducer::produce(), ShallowGainCalibration::produce(), L1TkElectronTrackProducer::produce(), L1GlobalTriggerRawToDigi::produce(), CTPPSTotemDigiToRaw::produce(), DeepCMVATagInfoProducer::produce(), L1MuGlobalMuonTrigger::produce(), reco::HcalNoiseInfoProducer::produce(), BoostedDoubleSVProducer::produce(), CTPPSPixelDigiToRaw::produce(), L1TStage2Layer1Producer::produce(), pat::PATElectronProducer::produce(), DeepFlavourTagInfoProducer::produce(), RPCTechnicalTrigger::produce(), LaserAlignment::produce(), reco::modules::CosmicTrackSplitter::produce(), reco::modules::TrackerTrackHitFilter::produce(), pat::PATTriggerProducer::produce(), L1GlobalTrigger::produce(), TemplatedVertexArbitrator< InputContainer, VTX >::produce(), pat::PATMuonProducer::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(), L1TdeRCT::readFEDVector(), L1GtTriggerMenuLiteProducer::retrieveL1EventSetup(), TotemVFATRawToDigi::run(), CSCOverlapsAlignmentAlgorithm::run(), HGCalRecHitWorkerSimple::set(), EcalUncalibRecHitWorkerFixedAlphaBetaFit::set(), EcalUncalibRecHitWorkerRatio::set(), EcalRecHitWorkerSimple::set(), EcalUncalibRecHitWorkerAnalFit::set(), EcalUncalibRecHitWorkerWeights::set(), EcalRecHitWorkerRecover::set(), ESRecHitWorker::set(), EcalUncalibRecHitWorkerGlobal::set(), PreshowerPhiClusterProducer::set(), PreshowerClusterProducer::set(), EcalUncalibRecHitWorkerMultiFit::set(), StripSubClusterShapeFilterBase::setEventBase(), EcalSelectiveReadoutValidation::setTtEtSums(), EGHcalRecHitSelector::setup(), EgammaHLTPixelMatchElectronAlgo::setupES(), DTSegtoRPC::thePoints(), CSCSegtoRPC::thePoints(), ECALPFSeedCleaner::update(), ECAL2DPositionCalcWithDepthCorr::update(), BetafuncEvtVtxGenerator::update(), and DTTrig::updateES().

◆ getTransientHandle()

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

◆ 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(), RPCDaqInfo::dqmEndLuminosityBlock(), SiPixelDcsInfo::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
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
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
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