CMS 3D CMS Logo

edm::EventSetup Class Reference

#include <FWCore/Framework/interface/EventSetup.h>

List of all members.

Public Member Functions

void fillAvailableRecordKeys (std::vector< eventsetup::EventSetupRecordKey > &oToFill) const
 clears the oToFill vector and then fills it with the keys for all available records
const
eventsetup::EventSetupRecord
find (const eventsetup::EventSetupRecordKey &) const
template<typename T>
const T & get () const
 returns the Record of type T.
template<typename T>
void getAvoidCompilerBug (const T *&iValue) const
template<typename T>
void getData (const std::string &iLabel, T &iHolder) const
template<typename T>
void getData (T &iHolder) const
 can directly access data if data_default_record_trait<> is defined for this data type
const IOVSyncValueiovSyncValue () const
virtual ~EventSetup ()

Protected Member Functions

template<typename T>
void add (const T &iRecord)
void clear ()
void setIOVSyncValue (const IOVSyncValue &)

Private Member Functions

 EventSetup (EventSetup const &)
 EventSetup ()
void insert (const eventsetup::EventSetupRecordKey &, const eventsetup::EventSetupRecord *)
EventSetup const & operator= (EventSetup const &)

Private Attributes

std::map
< eventsetup::EventSetupRecordKey,
eventsetup::EventSetupRecord
const * > 
recordMap_
IOVSyncValue syncValue_

Friends

class eventsetup::EventSetupProvider
 Only EventSetupProvider allowed to create a EventSetup.


Detailed Description

Definition at line 40 of file EventSetup.h.


Constructor & Destructor Documentation

EventSetup::~EventSetup (  )  [virtual]

Definition at line 41 of file EventSetup.cc.

00042 {
00043 }

EventSetup::EventSetup (  )  [private]

Definition at line 32 of file EventSetup.cc.

edm::EventSetup::EventSetup ( EventSetup const &   )  [private]


Member Function Documentation

template<typename T>
void edm::EventSetup::add ( const T &  iRecord  )  [inline, protected]

Definition at line 97 of file EventSetup.h.

References insert().

Referenced by edm::eventsetup::EventSetupProvider::addRecordToEventSetup().

00097                                     {
00098             insert(eventsetup::heterocontainer::makeKey<T, eventsetup::EventSetupRecordKey>(), &iRecord);
00099          }

void EventSetup::clear ( void   )  [protected]

Definition at line 74 of file EventSetup.cc.

00075 {
00076    recordMap_.clear();
00077 }

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

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

Definition at line 93 of file EventSetup.cc.

References it.

Referenced by PrintEventSetupContent::analyze().

00094 {
00095   oToFill.clear();
00096   oToFill.reserve(recordMap_.size());
00097   
00098   typedef std::map<eventsetup::EventSetupRecordKey, eventsetup::EventSetupRecord const *> KeyToRecordMap;
00099   for(KeyToRecordMap::const_iterator it = recordMap_.begin(), itEnd=recordMap_.end();
00100       it != itEnd;
00101       ++it) {
00102     oToFill.push_back(it->first);
00103   }
00104 }

const eventsetup::EventSetupRecord * EventSetup::find ( const eventsetup::EventSetupRecordKey iKey  )  const

Definition at line 82 of file EventSetup.cc.

Referenced by PrintEventSetupContent::analyze(), edm::EventSetupRecordDataGetter::analyze(), DQMDaqInfo::beginLuminosityBlock(), SiStripDaqInfo::beginLuminosityBlock(), DTDAQInfo::beginLuminosityBlock(), CSCDaqInfo::beginLuminosityBlock(), and SiStripOfflineDQM::beginRun().

00083 {
00084    std::map<eventsetup::EventSetupRecordKey, eventsetup::EventSetupRecord const *>::const_iterator itFind
00085    = recordMap_.find(iKey);
00086    if(itFind == recordMap_.end()) {
00087       return 0;
00088    }
00089    return itFind->second;
00090 }

template<typename T>
const T& edm::EventSetup::get ( void   )  const [inline]

returns the Record of type T.

If no such record available a eventsetup::NoRecordException<T> is thrown

Definition at line 51 of file EventSetup.h.

References edm::eventsetup::eventSetupGetImplementation(), and value.

Referenced by SiStripGainRandomCalculator::algoAnalyze(), SiStripNoiseDummyCalculator::algoAnalyze(), SiStripThresholdFakeOnDB::algoAnalyze(), SiStripGainCosmicCalculator::algoBeginJob(), SiStripGainFromData::algoBeginJob(), SiStripCalibLorentzAngle::algoBeginJob(), SiStripRandomLorentzAngle::algoBeginJob(), VisMuon::analyze(), VisEBRecHit::analyze(), SiStripElectronAnalyzer::analyze(), L1GtTriggerMenuTester::analyze(), L1RCTLutWriter::analyze(), RPCMonitorEfficiency::analyze(), VisSiPixelCluster::analyze(), VisHORecHit::analyze(), VisEventSetup::analyze(), SiPixelDigiValid::analyze(), PhotonValidator::analyze(), DTSegment4DQuality::analyze(), OptTOA::analyze(), L1GtPrescaleFactorsAndMasksTester::analyze(), SinglePionEfficiencyNew::analyze(), HcalGainsPopConAnalyzer::analyze(), DTVDriftWriter::analyze(), ValidationMisalignedTracker::analyze(), EcalEndcapRecHitsValidation::analyze(), L1ScalesTester::analyze(), L1MuScalesTester::analyze(), L1RCTSaveInput::analyze(), TauJetCorrectorExample::analyze(), anlzrname::analyze(), HcalRespCorrsPopConAnalyzer::analyze(), HcalQIEDataPopConAnalyzer::analyze(), HcalQIEDataCheck::analyze(), HcalLedAnalyzer::analyze(), VisHBRecHit::analyze(), VisEcalRecHit::analyze(), VisCaloTower::analyze(), SiStripDigiValid::analyze(), DTSegment2DQuality::analyze(), KVFTest::analyze(), L1RCTTestAnalyzer::analyze(), CSCOfflineMonitor::analyze(), SiStripQualityStatistics::analyze(), HcalIsoTrkAnalyzer::analyze(), DTT0CalibrationNew::analyze(), EcalTrivialObjectAnalyzer::analyze(), CSCValidation::analyze(), SiStripMonitorRawData::analyze(), CSCMonitorModuleCmn::analyze(), SiStripBadStripReader::analyze(), HcalGainWidthsPopConAnalyzer::analyze(), testEcalTPGScale::analyze(), EcalTPGParamBuilder::analyze(), MultiTrackValidator::analyze(), MuonIdVal::analyze(), EcalRecHitsValidation::analyze(), TPGntupler::analyze(), CSCEfficiency::analyze(), SiPixelTrackResidualSource::analyze(), L1TRPCTPG::analyze(), HcalPedestalsCheck::analyze(), EcalMipGraphs::analyze(), HcalPedestalAnalyzer::analyze(), VisRPCRecHit::analyze(), SiPixelRecHitsValid::analyze(), RPCDigiValid::analyze(), CSCDigiValidation::analyze(), CSCRecHitValidation::analyze(), L1GtTrigReport::analyze(), SiStripFEDRawDataCheck::analyze(), SiStripMonitorCluster::analyze(), PhysicsObjectsMonitor::analyze(), DTAlbertoBenvenutiTask::analyze(), HcalElectronicsMapPopConAnalyzer::analyze(), cms::DiJetAnalyzer::analyze(), DTTTrigCalibration::analyze(), KineExample::analyze(), L1GctValidation::analyze(), DTSegmentsTask::analyze(), RPCMon_SS_Dbx_Global::analyze(), DTEfficiencyTask::analyze(), SiStripThresholdReader::analyze(), edmtest::RunSummaryESAnalyzer::analyze(), HcalPedestalsPopConAnalyzer::analyze(), cms::SiStripOfflinePedNoiseToDb::analyze(), SiPixelOfflineCalibAnalysisBase::analyze(), SiPixelErrorEstimation::analyze(), VisDTDigi::analyze(), DTConfigTester::analyze(), SiStripPedestalsReader::analyze(), VisTrackingRecHit::analyze(), RPCRecHitValid::analyze(), SiPixelTrackingRecHitsValid::analyze(), TrackEfficiencyMonitor::analyze(), SiStripMonitorQuality::analyze(), RPCMonitorDigi::analyze(), HcalPedestalWidthsCheck::analyze(), EcalGetLaserData::analyze(), cms::ProducerAnalyzer::analyze(), DTT0Calibration::analyze(), VisSiStripCluster::analyze(), VisDTRecSegment4D::analyze(), VisDTRecHit::analyze(), HcalRecHitsValidation::analyze(), EcalBarrelRecHitsValidation::analyze(), MuonSegmentEff::analyze(), L1CondDBPayloadWriter::analyze(), DTVDriftCalibration::analyze(), TrackAlignment::analyze(), VisSiStripDigi::analyze(), VisEERecHit::analyze(), SiStripRecHitsValid::analyze(), RPCGeometryServTest::analyze(), HcalDigiTester::analyze(), L1GtParametersTester::analyze(), LinkDataXMLWriter::analyze(), CSCHLTMonitorModule::analyze(), SiStripNoisesReader::analyze(), edmtest::RunInfoESAnalyzer::analyze(), HcalLuttoDB::analyze(), WriteEcalMiscalibConstants::analyze(), VisPFRecHit::analyze(), VisCSCSegment::analyze(), TrackerSeedValidator::analyze(), SimplePhotonAnalyzer::analyze(), L1CaloInputScalesGenerator::analyze(), L1RCTRelValAnalyzer::analyze(), HLTGetDigi::analyze(), DataCertificationJetMET::analyze(), RPCEfficiencyFromTrack::analyze(), HcalDataCertification::analyze(), edmtest::L1TriggerScalerESAnalyzer::analyze(), RPCStripNoisesRcdRead::analyze(), HcalPedestalWidthsPopConAnalyzer::analyze(), HcalGainsCheck::analyze(), HOCalibAnalyzer::analyze(), VisSiPixelRecHit::analyze(), TestOutliers::analyze(), L1GtVhdlWriter::analyze(), DQMHLTSourcePi0::analyze(), EEClusterTask::analyze(), DTSegmentAnalysisTask::analyze(), CSCMonitorModule::analyze(), SiStripApvGainReader::analyze(), L1CondDBIOVWriter::analyze(), HcalChannelQualityPopConAnalyzer::analyze(), cms::HcalConstantsASCIIWriter::analyze(), cms::Analyzer_minbias::analyze(), HcalPedestalsAnalysis::analyze(), DTSurveyConvert::analyze(), OptAlignDBAnalyzer::analyze(), AlignmentEstimator::analyze(), VisHERecHit::analyze(), VisBasicCluster::analyze(), KVFTrackUpdate::analyze(), JetTagMVATrainer::analyze(), L1GtBoardMapsTester::analyze(), MuonIdDQM::analyze(), L1TCSCTF::analyze(), EBClusterTask::analyze(), SiStripPerformanceSummaryReader::analyze(), HcalZSThresholdsPopConAnalyzer::analyze(), DTTTrigWriter::analyze(), cms::ClusterAnalysis::analyze(), MuonAlignmentAnalyzer::analyze(), VisTrack::analyze(), VisPFCluster::analyze(), VisHFRecHit::analyze(), EcalTrigPrimAnalyzer::analyze(), BeamSpotFromDB::analyze(), L1GtStableParametersTester::analyze(), SiStripCablingTrackerMap::analyze(), SimHitTrackerAnalyzer::analyze(), VisPixelDigi::analyze(), SiStripTrackingRecHitsValid::analyze(), MuonDTDigis::analyze(), DTSegment2DSLPhiQuality::analyze(), DTRecHitQuality::analyze(), L1CaloInputScaleTester::analyze(), MuonEnergyDepositAnalyzer::analyze(), JetAnalyzer::analyze(), DQMSourcePi0::analyze(), SiStripMonitorPedestals::analyze(), DTDigiTask::analyze(), EcalSelectiveReadoutValidation::analyzeEB(), EcalSelectiveReadoutValidation::analyzeEE(), EMEnrichingFilterAlgo::applyBFieldCurv(), SegmentsTrackAssociator::associate(), TrackDetectorAssociator::associate(), LightPFTrackProducer::beginJob(), InterestingDetIdCollectionProducer::beginJob(), DTResolutionAnalysisTask::beginJob(), EcalPedHists::beginJob(), EcalMipGraphs::beginJob(), RemainingClusterProducer::beginJob(), SoftConversionProducer::beginJob(), DTSegmentAnalysisTask::beginJob(), DTNoiseTest::beginJob(), DTEfficiencyTest::beginJob(), SiStripRunSummaryRead::beginJob(), HcalMonitorModule::beginJob(), DTNoiseCalibration::beginJob(), cms::ClusterAnalysisFilter::beginJob(), SurveyInputCSCfromPins::beginJob(), TrackerGeometryIntoNtuples::beginJob(), ElectronPixelSeedAnalyzer::beginJob(), DTAlbertoBenvenutiTask::beginJob(), SurveyMisalignmentInput::beginJob(), PFNuclearProducer::beginJob(), ConvBremSeedProducer::beginJob(), SiPixelTrackResidualSource::beginJob(), SiPixelHLTSource::beginJob(), DTCreateSummaryHistos::beginJob(), PhysicalPartsTree::beginJob(), EcalURecHitHists::beginJob(), DTTTrigCorrection::beginJob(), ListGroups::beginJob(), TrackAssociatorEDProducer::beginJob(), HcalLEDClient::beginJob(), DTDeadChannelTest::beginJob(), WriteOneGeometryFromXML::beginJob(), EcalSelectiveReadoutValidation::beginJob(), KVFTest::beginJob(), PixelTrackProducerWithZPos::beginJob(), PFElecTkProducer::beginJob(), DTt0DBValidation::beginJob(), DTTestPulsesTask::beginJob(), MaterialForOnline::beginJob(), SiStripPedDB::beginJob(), PhiSymmetryCalibration::beginJob(), PhotonValidator::beginJob(), EcalTPCondAnalyzer::beginJob(), cms::JetPlusTrackAnalysis::beginJob(), FastL1MuonProducer::beginJob(), cms::SiPixelHistoricInfoReader::beginJob(), DTSegmentAnalysisTest::beginJob(), DTLocalTriggerBaseTest::beginJob(), DTTPDeadWriter::beginJob(), LaserClusterizer::beginJob(), GlobalDigisProducer::beginJob(), KineExample::beginJob(), SiStripNoiseDB::beginJob(), EcalPedOffset::beginJob(), SurveyInputTrackerFromDB::beginJob(), TrackerOfflineValidation::beginJob(), ListIds::beginJob(), cms::SiStripHistoricPlot::beginJob(), SiStripFineDelayHit::beginJob(), L1TGMT::beginJob(), DTDigiTask::beginJob(), DTChamberEfficiencyClient::beginJob(), SiStripLAProfileBooker::beginJob(), PxCPEdbReader::beginJob(), GlobalMuonMatchAnalyzer::beginJob(), TestOutliers::beginJob(), TestHits::beginJob(), DTDigiForNoiseTask::beginJob(), DTResolutionTest::beginJob(), RotationForOnline::beginJob(), ValidationMisalignedTracker::beginJob(), TestSmoothHits::beginJob(), PFConversionsProducer::beginJob(), GoodSeedProducer::beginJob(), DTLocalTriggerTask::beginJob(), DTOccupancyTest::beginJob(), SiPixelDetInfoFileWriter::beginJob(), cms::GammaJetAnalysis::beginJob(), GeometryProducer::beginJob(), DeDxDiscriminatorProducer::beginJob(), DTtTrigCalibrationTest::beginJob(), cms::SiStripOfflinePedNoiseToDb::beginJob(), SiPixelLorentzAngle::beginJob(), HITSiStripRawToClustersRoI::beginJob(), MuonGeometryIntoNtuples::beginJob(), cms::MinBias::beginJob(), MuonSegmentEff::beginJob(), SiPixelErrorsDigisToCalibDigis::beginJob(), SiPixelLorentzAngleDB::beginJob(), ElectronCalibrationUniv::beginJob(), RecoMuonValidator::beginJob(), GlobalDigisAnalyzer::beginJob(), TrackingMaterialAnalyser::beginJob(), NuclearInteractionEDProducer::beginJob(), TestTrackHits::beginJob(), ImpactParameterCalibration::beginJob(), HcalPatternSource::beginJob(), DTChamberEfficiencyTest::beginJob(), SolidsForOnline::beginJob(), EcalDigiDisplay::beginJob(), SiStripDetInfoFileWriter::beginJob(), DTNoiseComputation::beginJob(), LaserAlignment::beginJob(), SoftConversionTrackCandidateProducer::beginJob(), SiStripCommissioningSource::beginJob(), DTNoiseAnalysisTest::beginJob(), AlignmentMonitorAsAnalyzer::beginJob(), DTResolutionAnalysisTest::beginJob(), DQMDaqInfo::beginLuminosityBlock(), SiStripDaqInfo::beginLuminosityBlock(), DTDAQInfo::beginLuminosityBlock(), CSCDaqInfo::beginLuminosityBlock(), Pi0FixedMassWindowCalibration::beginOfJob(), InvRingCalib::beginOfJob(), ZeeCalibration::beginOfJob(), AlignmentProducer::beginOfJob(), EcalEleCalibLooper::beginOfJob(), TrackerSeedValidator::beginRun(), SiStripMonitorDigi::beginRun(), DTChamberEfficiencyTask::beginRun(), cms::ClusterAnalysis::beginRun(), CopyPerformanceSummary::beginRun(), SiStripCablingTrackerMap::beginRun(), edmtest::RunSummaryESAnalyzer::beginRun(), DTTTrigCorrection::beginRun(), TrackingRecHitTranslator::beginRun(), MuonSimHitProducer::beginRun(), FastL1MuonProducer::beginRun(), SiStripMonitorTrack::beginRun(), SiStripMonitorCluster::beginRun(), DTChamberEfficiencyTest::beginRun(), RPCEfficiency::beginRun(), ElectronGSPixelSeedProducer::beginRun(), DTNoiseTask::beginRun(), RPCDigiProducer::beginRun(), CnBAnalyzer::beginRun(), DTDigiTask::beginRun(), SiPixelOfflineCalibAnalysisBase::beginRun(), ConversionTrackCandidateProducer::beginRun(), TrackCandidateProducer::beginRun(), cms::SiPixelHistoricInfoReader::beginRun(), edmtest::RunInfoESAnalyzer::beginRun(), SiStripMonitorRawData::beginRun(), cms::SiStripHistoricPlot::beginRun(), MeasurementTrackerSiStripRefGetterProducer::beginRun(), ConvertedPhotonProducer::beginRun(), TrajectorySeedProducer::beginRun(), DTChamberEfficiency::beginRun(), DTChamberEfficiencyClient::beginRun(), edmtest::L1TriggerScalerESAnalyzer::beginRun(), CtfSpecialSeedGenerator::beginRun(), TrackCandidateTopBottomHitFilter::beginRun(), MonitorTrackResiduals::beginRun(), SiStripMonitorPedestals::beginRun(), PhotonValidator::beginRun(), DTAlbertoBenvenutiTask::beginRun(), SiTrackerGaussianSmearingRecHitConverter::beginRun(), DTCalibValidation::beginRun(), MultiTrackValidator::beginRun(), SiStripOfflineDQM::beginRun(), SiStripDaqInfo::beginRun(), SiStripMonitorTrackEfficiency::beginRun(), SiStripAnalyser::beginRun(), NoiseTask::book(), RPCEfficiencyFromTrack::bookDetUnitTrackEff(), CaloRecoTauAlgorithm::buildCaloTau(), SiPixelRecHitSource::buildStructure(), SiPixelDigiSource::buildStructure(), SiPixelRawDataErrorSource::buildStructure(), SiPixelClusterSource::buildStructure(), PhotonIDAlgo::calculateEcalRecHitIso(), CSCEfficiency::CalculateEfficiencies(), PhotonIDAlgo::calculateHcalRecHitIso(), PhotonIDAlgo::calculateR9(), CalibrationScanTask::CalibrationScanTask(), CalibrationTask::CalibrationTask(), EcalMixingModuleValidation::checkCalibrations(), EcalEndcapDigisValidation::checkCalibrations(), EcalDigisValidation::checkCalibrations(), EcalBarrelDigisValidation::checkCalibrations(), EcalTBDigiProducer::checkCalibrations(), EcalDigiProducer::checkCalibrations(), TrackIPProducer::checkEventSetup(), EcalTBDigiProducer::checkGeometry(), EcalSelectiveReadoutProducer::checkGeometry(), CastorDigiProducer::checkGeometry(), HcalTBDigiProducer::checkGeometry(), EcalDigiProducer::checkGeometry(), HcalDigiProducer::checkGeometry(), EcalMixingModuleValidation::checkPedestals(), RectangularEtaPhiTrackingRegion::checkRZ(), GlobalTrackingRegion::checkRZ(), EcalSelectiveReadoutProducer::checkTriggerMap(), CkfDebugger::CkfDebugger(), EgammaHLTMulti5x5ClusterProducer::clusterizeECALPart(), Multi5x5ClusterProducer::clusterizeECALPart(), CosmicClusterProducer::clusterizeECALPart(), EgammaHLTIslandClusterProducer::clusterizeECALPart(), IslandClusterProducer::clusterizeECALPart(), ClusterShapeTrackFilter::ClusterShapeTrackFilter(), L1GtDataEmulAnalyzer::compareFDL(), CompareHitPairsY::CompareHitPairsY(), CompareHitPairsZ::CompareHitPairsZ(), EcalMixingModuleValidation::computeSDBunchDigi(), FineDelayHistosUsingDb::configure(), L1GctEmulator::configureGct(), L1GctPrintLuts::configureGct(), SeedFromConsecutiveHits::construct(), EcalDBCopy::copyToDB(), CosmicHitPairGeneratorFromLayerPair::CosmicHitPairGeneratorFromLayerPair(), CosmicHitTripletGeneratorFromLayerTriplet::CosmicHitTripletGeneratorFromLayerTriplet(), AlignmentProducer::createGeometries_(), SiStripMonitorCluster::createMEs(), SiStripMonitorDigi::createMEs(), MonitorTrackResiduals::createMEs(), TrackerGeometryCompare::createROOTGeometry(), RPCSeedHits::createSeed(), DTTrig::createTUs(), HcalRecHitsMaker::createVectorsOfCells(), EcalPreshowerRecHitsMaker::createVectorsOfCells(), CSCTFPtLUT::CSCTFPtLUT(), muonisolation::PixelTrackExtractor::deposit(), egammaisolation::EgammaRecHitExtractor::deposit(), egammaisolation::EgammaHcalExtractor::deposit(), egammaisolation::EgammaTrackExtractor::deposit(), muonisolation::JetExtractor::deposit(), muonisolation::CaloExtractor::deposit(), muonisolation::CaloExtractorByAssociator::deposits(), MultipleScatteringGeometry::detLayers(), CSCValidation::doCalibrations(), BeamProfileFitter::doFit(), DTHitAssociator::DTHitAssociator(), edmtest::HcalDumpConditions::dumpIt(), Pi0FixedMassWindowCalibration::duringLoop(), InvRingCalib::EERingDef(), EcalListOfFEDSProducer::Egamma(), EcalRawToRecHitRoI::Egamma(), DTtTrigCalibrationTest::endLuminosityBlock(), RPCEventSummary::endLuminosityBlock(), RPCDeadChannelTest::endLuminosityBlock(), DTDeadChannelTest::endLuminosityBlock(), DTNoiseTest::endLuminosityBlock(), RPCEfficiencySecond::endRun(), SiStripClusterizerAlgo::eventSetup(), MuonTruth::eventSetup(), HardTauAlgorithm::eventSetup(), FastHelix::FastHelix(), PixelRecoUtilities::fieldInInvGev(), SiStripMonitorPedestals::fillCondDBMEs(), MuonSimHitsValidAnalyzer::fillCSC(), MuonSimHitsValidAnalyzer::fillDT(), GlobalHitsProducer::fillECal(), GlobalHitsProdHist::fillECal(), GlobalHitsAnalyzer::fillECal(), ECALRecHitAnalyzer::FillGeometry(), CaloTowerAnalyzer::FillGeometry(), HCALRecHitAnalyzer::FillGeometry(), SiPixelInformationExtractor::fillGlobalQualityPlot(), GlobalRecHitsAnalyzer::fillHCal(), GlobalHitsAnalyzer::fillHCal(), GlobalDigisAnalyzer::fillHCal(), GlobalDigisProducer::fillHCal(), GlobalHitsProducer::fillHCal(), GlobalRecHitsProducer::fillHCal(), GlobalHitsProdHist::fillHCal(), TrackAnalyzer::fillHistosForState(), FastL1GlobalAlgo::FillL1Regions(), SiPixelDigitizerAlgorithm::fillLorentzAngle(), GlobalRecHitsProducer::fillMuon(), GlobalRecHitsAnalyzer::fillMuon(), GlobalHitsProdHist::fillMuon(), GlobalHitsAnalyzer::fillMuon(), GlobalHitsProducer::fillMuon(), GlobalDigisAnalyzer::fillMuon(), MuonSimHitsValidAnalyzer::fillRPC(), MuonIdProducer::fillTime(), MuonTimingExtractor::fillTiming(), GlobalRecHitsProducer::fillTrk(), GlobalRecHitsAnalyzer::fillTrk(), GlobalHitsAnalyzer::fillTrk(), GlobalHitsProducer::fillTrk(), GlobalHitsProdHist::fillTrk(), muonisolation::CaloExtractor::fillVetos(), HLTPi0RecHitsFilter::filter(), CSCSkim::filter(), HLTCSCOverlapFilter::filter(), HLTPMMassFilter::filter(), HLTMuonPointingFilter::filter(), HLTEgammaL1MatchFilterPairs::filter(), HLTDisplacedmumuFilter::filter(), fltrname::filter(), HLTEgammaL1MatchFilterRegional::filter(), HLTCSCRing2or3Filter::filter(), HLTmmkFilter::filter(), EcalMIPRecHitFilter::filter(), L1Filter::filter(), HLTLevel1GTSeed::filter(), Tau3MuSkim::filter(), SiPixelInformationExtractor::findNoisyPixels(), V0Fitter::fitAll(), SiStripBaseCondObjDQM::getCabledModules(), SiStripThresholdDQM::getCache(), SiStripLorentzAngleDQM::getCache(), SiStripPedestalsDQM::getCache(), SiStripCablingDQM::getCache(), SiStripQualityDQM::getCache(), SiStripApvGainsDQM::getCache(), SiStripNoisesDQM::getCache(), SiStripQualityDQM::getConditionObject(), SiStripNoisesDQM::getConditionObject(), SiStripPedestalsDQM::getConditionObject(), SiStripThresholdDQM::getConditionObject(), SiStripLorentzAngleDQM::getConditionObject(), SiStripApvGainsDQM::getConditionObject(), SiStripCablingDQM::getConditionObject(), L2TauNarrowConeIsolationProducer::getECALHits(), L2TauIsolationProducer::getECALHits(), HTrackAssociator::getFreeTrajectoryState(), TrackDetectorAssociator::getFreeTrajectoryState(), EcalClusterLazyTools::getGeometry(), EgHLTOffHelper::getHandles(), HoECalculator::getHoE(), JetCorrector::getJetCorrector(), EcalTPGScale::getLinearizedTPG(), EcalFEtoDigi::getLUT(), CosmicGenFilterHelix::getMagneticField(), CaloRecoTauTagInfoAlgorithm::getNeutralEcalBasicClusters(), SiStripGainCosmicCalculator::getNewObject(), CaloRecoTauTagInfoAlgorithm::getPositionAndEnergyEcalRecHits(), CosmicGenFilterHelix::getPropagator(), EcalTPCondAnalyzer::getRecords(), EcalTrigPrimProducer::getRecords(), FastL1Region::getRegionCenterEtaPhi(), PhysicsTools::MVATrainerContainerSaveImpl< Record_t >::getToCopy(), EcalClusterLazyTools::getTopology(), PhysicsTools::MVATrainerSaveImpl< Record_t >::getToPut(), PhysicsTools::MVATrainerFileSaveImpl< Record_t >::getToPut(), PhysicsTools::MVATrainerContainerSaveImpl< Record_t >::getToPut(), EcalTPGScale::getTPGInADC(), EcalTPGScale::getTPGInGeV(), TripletGenerator::getTracker(), HICTrajectoryBuilder::HICTrajectoryBuilder(), HitPairGeneratorFromLayerPair::hitPairsWithErrors(), cms::HITrackVertexMaker::HITrackVertexMaker(), RectangularEtaPhiTrackingRegion::hits(), PixelTripletHLTGenerator::hitTriplets(), MuonAlignmentInputMethod::idealCSCGeometry(), MuonAlignmentInputMethod::idealDTGeometry(), ThreeThresholdStripClusterizer::init(), EcalEndcapRecHitsMaker::init(), reco::modules::CandVertexFitterEventSetupInit< Fitter >::init(), SiStripFedZeroSuppression::init(), EcalTrigPrimFunctionalAlgo::init(), TrackDetectorAssociator::init(), CosmicLayerPairs::init(), SeedGeneratorForCosmics::init(), SeedGeneratorForLaserBeams::init(), SeedGeneratorForCRack::init(), HcalRecHitsMaker::init(), SiStripFineDelayTLA::init(), MuonIdProducer::init(), TrackLocalAngle::init(), reco::modules::CandKinematicVertexFitterEventSetupInit::init(), SimpleCosmicBONSeeder::init(), CRackTrajectoryBuilder::init(), CosmicLayerTriplets::init(), LaserLayerPairs::init(), CombinedHitTripletGenerator::init(), HTrackAssociator::init(), SeedFromProtoTrack::init(), CombinedHitPairGenerator::init(), EcalBarrelRecHitsMaker::init(), CosmicTrajectoryBuilder::init(), SiStripTT6CommonModeNoiseSubtraction::init(), SiStripPedestalsSubtractor::init(), EcalZeroSuppressionProducer::initCalibrations(), RunManager::initG4(), EBHltTask::initGeometry(), Numbers::initGeometry(), EEHltTask::initGeometry(), CSCTFSectorProcessor::initialize(), KalmanAlignmentAlgorithm::initializeAlignmentSetups(), CSCConditions::initializeEvent(), RPCVHDLConeMaker::initRPCLinks(), DeDxDiscriminatorProducer::IsFarFromBorder(), SiStripGainFromData::IsFarFromBorder(), l1AlgorithmResult(), LaserHitPairGeneratorFromLayerPair::LaserHitPairGeneratorFromLayerPair(), SeedingLayerSetsBuilder::layers(), pat::LeptonVertexSignificance::LeptonVertexSignificance(), pixelrecoutilities::LongitudinalBendingCorrection::LongitudinalBendingCorrection(), PhotonAnalyzer::makePizero(), SiStripGainCosmicCalculator::moduleThickness(), SiStripGainCosmicCalculator::moduleWidth(), MultipleScatteringGeometry::MultipleScatteringGeometry(), MuonAlignment::MuonAlignment(), MuonMETAlgo::MuonMETAlgo_run(), MuonAlignmentInputDB::newAlignableMuon(), MuonAlignmentInputSurveyDB::newAlignableMuon(), TrackHistory::newEvent(), TrackClassifier::newEvent(), pat::helper::VertexingHelper::newEvent(), NuclearInteractionFinder::NuclearInteractionFinder(), EcalRawToRecHitRoI::OneCandCollection(), VisTkSimTrackTwig::onNewEvent(), VisTrackerRechit2DTwig::onNewEvent(), VisTkRecTracksTwig::onNewEvent(), VisTrackerClusterTwig::onNewEvent(), VisTrajectorySeedTwig::onNewEvent(), VisPixelDigiTwig::onNewEvent(), VisCSCALCTDigiTwig::onNewEvent(), VisCuTkGeometryTwig::onNewEvent(), VisTkSimHitTwig::onNewEvent(), VisTrackerPiDigiTwig::onNewEvent(), VisTrackingRecHitTwig::onNewEvent(), VisTrackerPiRechitTwig::onNewEvent(), VisTkRecTrackDetsTwig::onNewEvent(), VisRPCDigiTwig::onNewEvent(), VisCSCWireDigiTwig::onNewEvent(), VisTrackerDigiTwig::onNewEvent(), VisDTRecHitsTwig::onNewEvent(), VisDT4DSegmentTwig::onNewEvent(), VisCSCRPCDigiTwig::onNewEvent(), VisCSCCorrelatedLCTDigiTwig::onNewEvent(), VisCSCCLCTDigiTwig::onNewEvent(), VisTrackerPiClusterTwig::onNewEvent(), VisPFRecHitTwig::onNewEvent(), VisRPCRecHitTwig::onNewEvent(), VisCSCSegmentTwig::onNewEvent(), VisPFClusterTwig::onNewEvent(), VisDTDigiTwig::onNewEvent(), VisCSCComparatorDigiTwig::onNewEvent(), VisDT2DSegmentTwig::onNewEvent(), VisCSCStripDigiTwig::onNewEvent(), VisL1MuDTChambPhContainerTwig::onNewEvent(), VisL1GlobalTriggerReadoutRecordTwig::onNewEvent(), VisCSCRecHit2DTwig::onNewEvent(), VisEventSetupService::onNewEvent(), OuterHitCompatibility::operator()(), L1MuDTAssignmentUnit::PhiAU(), SiStripDigitizer::produce(), RPCSeedGenerator::produce(), cms::SiPixelRecHitConverter::produce(), RPCRecHitProducer::produce(), JetTracksAssociatorAtCaloFace::produce(), JetCrystalsAssociator::produce(), SoftElectronProducer::produce(), L1GTEvmDigiToRaw::produce(), MuonHIPAlignmentRefitter::produce(), MCTrackMatcher::produce(), HcalDummyHitProducer::produce(), cms::TrackListMerger::produce(), NuclearTrackCorrector::produce(), cms::SimpleTrackListMerger::produce(), DeDxEstimatorProducer::produce(), TauMVADiscriminator::produce(), PFClusterShapeProducer::produce(), MuonErrorMatrixAdjuster::produce(), MuonSeedOrcaPatternRecognition::produce(), cms::BasePilupSubtractionJetProducer::produce(), HcalRawToDigi::produce(), EcalRawToRecHitFacility::produce(), SiStripRegFEDSelector::produce(), TrackInfoProducer::produce(), PFRecoTauDecayModeDeterminator::produce(), CosmicMuonSeedGenerator::produce(), CSCSegmentProducer::produce(), HcalSimpleReconstructor::produce(), CastorSimpleReconstructor::produce(), RctInputTextToDigi::produce(), RPCPackingModule::produce(), EcalRawToRecHitRoI::produce(), PFRecoTauProducer::produce(), CaloTowersReCreator::produce(), EgammaHLTHcalIsolationDoubleConeProducers::produce(), L1ExtraParticlesProd::produce(), HcalDigiProducer::produce(), BeamSpotProducer::produce(), EcalTBWeightUncalibRecHitProducer::produce(), GoodSeedProducer::produce(), EgammaSCCorrectionMaker::produce(), HcalHistogramRawToDigi::produce(), EcalRawToDigiDev::produce(), AlCaGammaJetProducer::produce(), DTDigitizer::produce(), EcalWeightUncalibRecHitProducer::produce(), TrackerOnlyConversionProducer::produce(), HFEMClusterProducer::produce(), HybridClusterProducer::produce(), L1RCTInputProducer::produce(), SiPixelDigiToRaw::produce(), RPCUnpackingModule::produce(), cms::SiStripRecHitConverter::produce(), CSCRecHitDProducer::produce(), EgammaHLTHcalIsolationProducersRegional::produce(), PreshowerClusterShapeProducer::produce(), L1GlobalTrigger::produce(), L1GlobalTriggerEvmRawToDigi::produce(), EcalIsolatedParticleCandidateProducer::produce(), cms::HitReCalibrator::produce(), CSCDigiProducer::produce(), MuonSeedGenerator::produce(), cms::SiPixelClusterProducer::produce(), EgammaHLTElectronDetaDphiProducer::produce(), PreshowerClusterProducer::produce(), DTDigiToRawModule::produce(), SiPixelFedCablingMapBuilder::produce(), AlCaIsoTracksProducer::produce(), HcalSimpleAmplitudeZS::produce(), reco::modules::CosmicTrackSplitter::produce(), DTRecHitProducer::produce(), EgammaHLTMulti5x5ClusterProducer::produce(), SoftLepton::produce(), EcalRawToRecHitByproductProducer::produce(), MeasurementTrackerSiStripRefGetterProducer::produce(), reco::modules::TrackerTrackHitFilter::produce(), CaloMuonProducer::produce(), EcalFixedAlphaBetaFitUncalibRecHitProducer::produce(), ElectronPixelSeedProducer::produce(), CSCTFTrackProducer::produce(), HcalDigiToRaw::produce(), CSCDCCUnpacker::produce(), SiPixelCalibDigiProducer::produce(), SoftConversionProducer::produce(), TrackIPProducer::produce(), RPCTrigger::produce(), L1GlobalTriggerRecordProducer::produce(), AlCaHOCalibProducer::produce(), MuonStandaloneAlgorithm::produce(), MuonSeedProducer::produce(), EcalDeadChannelRecoveryProducers::produce(), PhotonProducer::produce(), L1MuGlobalMuonTrigger::produce(), L1GTDigiToRaw::produce(), cms::AlCaDiJetsProducer::produce(), HcalTrigPrimDigiProducer::produce(), DTRecSegment2DProducer::produce(), CaloTowersCreator::produce(), ConvertedPhotonProducer::produce(), EgammaHLTEcalRecIsolationProducer::produce(), SiStripElectronProducer::produce(), CaloRecHitCandidateProducer::produce(), CSCDigiToRawModule::produce(), DummyPrimaryVertexProducer::produce(), CaloRecoTauDiscriminationAgainstElectron::produce(), cms::BaseJetProducer::produce(), EgammaHLTIslandClusterProducer::produce(), EgammaHLTHybridClusterProducer::produce(), L1RCTProducer::produce(), L1GlobalTriggerRawToDigi::produce(), DTUnpackingModule::produce(), CastorDigiToRaw::produce(), TrackerToMuonPropagator::produce(), DAFTrackProducer::produce(), cms::RoadSearchTrackListCleaner::produce(), CaloRecoTauProducer::produce(), DTRecSegment4DProducer::produce(), EcalRecHitProducer::produce(), EcalListOfFEDSProducer::produce(), CSCTriggerPrimitivesProducer::produce(), SiStripDigiToRawModule::produce(), SiPixelRawToDigi::produce(), EcalDigiToRaw::produce(), EgammaHcalIsolationProducer::produce(), EgammaEcalRecHitIsolationProducer::produce(), AlCaPi0RecHitsProducer::produce(), HcalTBDigiProducer::produce(), EcalTrigPrimProducer::produce(), PrimaryVertexProducer::produce(), SimpleCosmicBONSeeder::produce(), cms::CosmicTrackFinder::produce(), MuonCandProducerMon::produce(), CastorRawToDigi::produce(), EcalRecHitRecalib::produce(), cms::SiPixelDigitizer::produce(), CastorDigiProducer::produce(), TrackAlgoCompareUtil::produce(), ImpactParameter::produce(), MuonProducer::produce(), EcalRecalibRecHitProducer::produce(), EcalAnalFitUncalibRecHitProducer::produce(), ConversionTrackCandidateProducer::produce(), SecondaryVertexProducer::produce(), SiStripFineDelayHit::produce(), cms::CkfTrackCandidateMakerBase::produceBase(), SiStripFineDelayHit::produceNoTracking(), cms::HITrackVertexMaker::produceTracks(), L1MuDTAssignmentUnit::PtAU(), CocoaAnalyzer::ReadCalibrationDB(), CocoaAnalyzer::ReadXMLFile(), HistoricOfflineClient::retrievePointersToModuleMEs(), RoadSearchSeedFinderAlgorithm::run(), L1MuonPixelTrackFitter::run(), L1MuDTEUX::run(), PixelFitterByConformalMappingAndLine::run(), TrackFitter::run(), RoadSearchCloudMakerAlgorithm::run(), RoadSearchTrackCandidateMakerAlgorithm::run(), RoadSearchHelixMakerAlgorithm::run(), PixelFitterByHelixProjections::run(), SubSeedGenerator::run(), L1GlobalTriggerGTL::run(), L1MuDTEtaProcessor::runEtaMatchingUnit(), L1MuDTEtaProcessor::runEtaTrackFinder(), l1t::WriterProxyT< Record, Type >::save(), SeedFromConsecutiveHits::SeedFromConsecutiveHits(), SeedGenerator::SeedGenerator(), ctfseeding::SeedingHit::SeedingHitImpl::SeedingHitImpl(), SeedFilter::seeds(), SingleEleCalibSelector::select(), SiPixelDBErrorParametrization::setDBAccess(), reco::TrackTransientTrack::setES(), DTCombinatorialPatternReco::setES(), DTMeantimerPatternReco::setES(), DTSegmentUpdator::setES(), DTParametrizedDriftAlgo::setES(), reco::GsfTransientTrack::setES(), DTLinearDriftFromDBAlgo::setES(), DTTTrigSyncT0Only::setES(), DTCombinatorialPatternReco4D::setES(), reco::TransientTrackFromFTS::setES(), DTRefitAndCombineReco4D::setES(), DTMeantimerPatternReco4D::setES(), DTTTrigSyncFromDB::setES(), SiPixelGainCalibrationServicePayloadGetter< thePayloadObject, theDBRecordType >::setESObjects(), VisCuTrackerRecHit::setEvent(), VisCuTrackerDigi::setEvent(), VisCuTrackerSimHit::setEvent(), VisCuTrackerCluster::setEvent(), GenericMVAJetTagComputer::setEventSetup(), CombinedMVAJetTagComputer::setEventSetup(), MVAJetTagPlotter::setEventSetup(), cms::CkfTrackCandidateMakerBase::setEventSetup(), ConversionSeedFinder::setEventSetup(), ConversionTrackFinder::setEventSetup(), PhysicsTools::MVAModuleHelper< Record, Object, Filler >::setEventSetup(), TransientInitialStateEstimator::setEventSetup(), VisCMSMagField::setField(), SimpleTrackRefitter::setServices(), TrackTransformer::setServices(), EcalSelectiveReadoutValidation::setTtEtSums(), EcalSelectiveReadoutSuppressor::setTtFlags(), JetTagProducer::setup(), GlobalGsfElectronAlgo::setupES(), ElectronSiStripSeedGenerator::setupES(), ElectronGSPixelSeedGenerator::setupES(), GsfElectronAlgo::setupES(), ElectronPixelSeedGenerator::setupES(), EgammaHLTPixelMatchElectronAlgo::setupES(), FamosManager::setupGeometryAndField(), EcalDBCopy::shouldCopy(), SiStripClusterInfo::SiStripClusterInfo(), SiStripNoisesDQM::SiStripNoisesDQM(), RPCMonitorDigi::stripsInRoll(), ThirdHitPrediction::ThirdHitPrediction(), TrackerAlignment::TrackerAlignment(), LaserDQM::trackerStatistics(), TrackerValidationVariables::TrackerValidationVariables(), BzeroReferenceTrajectoryFactory::trajectories(), ReferenceTrajectoryFactory::trajectories(), DualBzeroTrajectoryFactory::trajectories(), DualTrajectoryFactory::trajectories(), TwoBodyDecayTrajectoryFactory::trajectories(), TransientInitialStateEstimator::TransientInitialStateEstimator(), L1MuDTTrack::triggerScale(), TripletFilter::TripletFilter(), MuonIdTruthInfo::truthMatchMuon(), VisCSCSeg2HETwig::update(), TkAccumulatingSensitiveDetector::update(), PhysicsTools::MVAComputerCache::update(), SiStripFEDMonitorPlugin::updateCabling(), SiStripRawToClusters::updateCabling(), SiStripRawToDigiModule::updateCabling(), SiStripRawToClustersRoI::updateCabling(), SiStripFEDCheckPlugin::updateCabling(), DTTrig::updateES(), ValidHitPairFilter::ValidHitPairFilter(), VZeroFinder::VZeroFinder(), MuonAlignmentOutputXML::write(), RPCVHDLConeMaker::writeConesDef(), and ECALRecHitAnalyzer::WriteECALRecHits().

00051                               {
00052             //NOTE: this will catch the case where T does not inherit from EventSetupRecord
00053             //  HOWEVER the error message under gcc 3.x is awful
00054             BOOST_STATIC_ASSERT((boost::is_base_and_derived<edm::eventsetup::EventSetupRecord, T>::value));
00055             const T* value = 0;
00056             eventSetupGetImplementation(*this, value);
00057             //NOTE: by construction, eventSetupGetImplementation should thrown an exception rather than return a null value
00058             assert(0 != value);
00059             return *value;
00060          }

template<typename T>
void edm::EventSetup::getAvoidCompilerBug ( const T *&  iValue  )  const [inline]

Definition at line 89 of file EventSetup.h.

Referenced by edm::eventsetup::DependentRecordImplementation< HFGeometryRecord, boost::mpl::vector< IdealGeometryRecord, HFAlignmentRcd, HFAlignmentErrorRcd > >::getRecord().

00089                                                      {
00090             iValue = &(get<T>());
00091          }

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

Definition at line 70 of file EventSetup.h.

00070                                                                  {
00071             typedef typename T::value_type data_type;
00072             typedef typename eventsetup::data_default_record_trait<data_type>::type RecordT;
00073             const RecordT& rec = this->get<RecordT>();
00074             rec.get(iLabel,iHolder);
00075          }

template<typename T>
void 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 63 of file EventSetup.h.

Referenced by Hector::add(), SinglePionEfficiencyNew::analyze(), ParticleTreeDrawer::analyze(), ParticleListDrawer::analyze(), PrimaryVertexAnalyzer::analyze(), ParticleDecayDrawer::analyze(), edm::FlatEGunASCIIWriter::beginJob(), TruthTOA::beginJob(), PFSimParticleProducer::beginJob(), RecoTOA::beginJob(), edm::BaseFlatGunSource::beginJob(), TauHadronDecayFilter::beginJob(), VertexTHA::beginJob(), GenParticleProducer::beginJob(), SimpleTHA::beginJob(), PythiaFilterGammaJet::filter(), PythiaFilterGammaJetIsoPi0::filter(), PythiaFilterGammaJetWithOutBg::filter(), PythiaFilterGammaJetWithBg::filter(), PythiaFilterIsolatedTrack::filter(), ElectronIDSelectorLikelihood::newEvent(), TrackClassifier::newEvent(), VisHepMCProductTwig::onNewEvent(), SiStripDigitizer::produce(), CSCDigiProducer::produce(), PdtEntry::setup(), and FamosManager::setupGeometryAndField().

00063                                         {
00064             typedef typename T::value_type data_type;
00065             typedef typename eventsetup::data_default_record_trait<data_type>::type RecordT;
00066             const RecordT& rec = this->get<RecordT>();
00067             rec.get(iHolder);
00068          }

void EventSetup::insert ( const eventsetup::EventSetupRecordKey iKey,
const eventsetup::EventSetupRecord iRecord 
) [private]

Definition at line 67 of file EventSetup.cc.

Referenced by add().

00069 {
00070    recordMap_[iKey]= iRecord;
00071 }

const IOVSyncValue& edm::EventSetup::iovSyncValue (  )  const [inline]

Definition at line 77 of file EventSetup.h.

References syncValue_.

00077 { return syncValue_;}

EventSetup const& edm::EventSetup::operator= ( EventSetup const &   )  [private]

void EventSetup::setIOVSyncValue ( const IOVSyncValue iTime  )  [protected]

Definition at line 61 of file EventSetup.cc.

00061                                                      {
00062    //will ultimately build our list of records
00063    syncValue_ = iTime;
00064 }


Friends And Related Function Documentation

friend class eventsetup::EventSetupProvider [friend]

Only EventSetupProvider allowed to create a EventSetup.

Definition at line 43 of file EventSetup.h.


Member Data Documentation

std::map<eventsetup::EventSetupRecordKey, eventsetup::EventSetupRecord const *> edm::EventSetup::recordMap_ [private]

Definition at line 117 of file EventSetup.h.

IOVSyncValue edm::EventSetup::syncValue_ [private]

Definition at line 114 of file EventSetup.h.

Referenced by iovSyncValue().


The documentation for this class was generated from the following files:
Generated on Tue Jun 9 18:40:58 2009 for CMSSW by  doxygen 1.5.4