CMS 3D CMS Logo

List of all members | Public Member Functions | Static Public Member Functions | Private Attributes
edm::EventID Class Reference

#include <EventID.h>

Public Member Functions

EventNumber_t event () const
 
 EventID ()
 
 EventID (RunNumber_t iRun, LuminosityBlockNumber_t iLumi, EventNumber_t iEvent)
 
LuminosityBlockNumber_t luminosityBlock () const
 
EventID next (LuminosityBlockNumber_t const &lumi) const
 
EventID nextRun (LuminosityBlockNumber_t const &lumi) const
 
EventID nextRunFirstEvent (LuminosityBlockNumber_t const &lumi) const
 
bool operator!= (EventID const &iRHS) const
 
bool operator< (EventID const &iRHS) const
 
bool operator<= (EventID const &iRHS) const
 
bool operator== (EventID const &iRHS) const
 
bool operator> (EventID const &iRHS) const
 
bool operator>= (EventID const &iRHS) const
 
EventID previous (LuminosityBlockNumber_t const &lumi) const
 
EventID previousRunLastEvent (LuminosityBlockNumber_t const &lumi) const
 
RunNumber_t run () const
 
void setLuminosityBlockNumber (LuminosityBlockNumber_t const &lb)
 

Static Public Member Functions

static EventID firstValidEvent ()
 
static EventNumber_t maxEventNumber ()
 
static LuminosityBlockNumber_t maxLuminosityBlockNumber ()
 
static RunNumber_t maxRunNumber ()
 

Private Attributes

EventNumber_t event_
 
LuminosityBlockNumber_t luminosityBlock_
 
RunNumber_t run_
 

Detailed Description

Description: Holds run, lumi, and event numbers.

Usage: <usage>

Definition at line 31 of file EventID.h.

Constructor & Destructor Documentation

edm::EventID::EventID ( )
inline

Definition at line 34 of file EventID.h.

Referenced by firstValidEvent(), next(), nextRun(), nextRunFirstEvent(), previous(), and previousRunLastEvent().

EventNumber_t event_
Definition: EventID.h:131
RunNumber_t const invalidRunNumber
LuminosityBlockNumber_t luminosityBlock_
Definition: EventID.h:130
EventNumber_t const invalidEventNumber
RunNumber_t run_
Definition: EventID.h:129
LuminosityBlockNumber_t const invalidLuminosityBlockNumber
edm::EventID::EventID ( RunNumber_t  iRun,
LuminosityBlockNumber_t  iLumi,
EventNumber_t  iEvent 
)
inline

Definition at line 35 of file EventID.h.

35  :
36  run_(iRun), luminosityBlock_(iLumi), event_(iEvent) {}
EventNumber_t event_
Definition: EventID.h:131
LuminosityBlockNumber_t luminosityBlock_
Definition: EventID.h:130
int iEvent
Definition: GenABIO.cc:224
RunNumber_t run_
Definition: EventID.h:129

Member Function Documentation

EventNumber_t edm::EventID::event ( ) const
inline

Definition at line 41 of file EventID.h.

References event_.

Referenced by LEDTask::_process(), LaserTask::_process(), FilterSelection::acceptMap(), timestudy::ExternalWorkSleepingProducer::acquire(), sistrip::SpyEventMatcher::addNextEventToMap(), edm::ProducerSourceBase::advanceToNext(), SiStripGainFromData::algoAnalyze(), SiStripHitEffFromCalibTree::algoAnalyze(), SiStripGainFromCalibTree::algoAnalyze(), EcalTrivialObjectAnalyzer::analyze(), PerformanceAnalyzer::analyze(), JetValidation::analyze(), edmtest::AlignPCLThresholdsReader::analyze(), RawDataConverter::analyze(), PlaybackRawDataProvider::analyze(), edmtest::FillInfoESAnalyzer::analyze(), edmtest::LHCInfoESAnalyzer::analyze(), EventHeader::analyze(), CTPPSPixGainCalibsESAnalyzer::analyze(), CTPPSRPAlignmentInfoReader::analyze(), SiStripQualityStatistics::analyze(), ElectronGeneralAnalyzer::analyze(), ElectronTagProbeAnalyzer::analyze(), AlignmentStats::analyze(), EcalDQMonitorTask::analyze(), PUDumper::analyze(), SimHitsValidationHcal::analyze(), TrackerHitAnalyzer::analyze(), DTT0CalibrationRMS::analyze(), SiStripCommissioningOfflineClient::analyze(), PFCandidateChecker::analyze(), edmtest::L1TriggerScalerESAnalyzer::analyze(), edmtest::RunSummaryESAnalyzer::analyze(), edmtest::RunInfoESAnalyzer::analyze(), EcalTPGAnalyzer::analyze(), SiPixelRecHitsValid::analyze(), HLTInspect::analyze(), l1t::L1TStage2CaloAnalyzer::analyze(), HcalSimHitStudy::analyze(), ValidationMisalignedTracker::analyze(), DumpGctDigis::analyze(), DTConfigTester::analyze(), SiStripLAProfileBooker::analyze(), SimAnalyzerMinbias::analyze(), SiStripCommissioningSource::analyze(), CSCRecoBadChannelsAnalyzer::analyze(), DQMEventInfo::analyze(), EventIDChecker::analyze(), sistrip::SpyExtractRunModule::analyze(), ElectronAnalyzer::analyze(), EcalBarrelSimHitsValidation::analyze(), EcalEndcapSimHitsValidation::analyze(), EcalPreshowerSimHitsValidation::analyze(), RPCPhiEff::analyze(), ElectronStudy::analyze(), BTVHLTOfflineSource::analyze(), DTTrigTest::analyze(), L1GtPatternGenerator::analyze(), ElectronMVANtuplizer::analyze(), EcalSimHitsValidation::analyze(), HcalHBHEMuonSimAnalyzer::analyze(), PrimaryVertexResolution::analyze(), PhotonMVANtuplizer::analyze(), HiggsDQM::analyze(), SiStripMonitorRawData::analyze(), HcalCollapseAnalyzer::analyze(), EcalRecHitsValidation::analyze(), DTSegmentAnalysisTask::analyze(), GlobalDigisHistogrammer::analyze(), FFTJetImageRecorder::analyze(), DiJetMonitor::analyze(), IgProfModule::analyze(), PixelLumiDQM::analyze(), SiStripMonitorPedestals::analyze(), HitEff::analyze(), EcalURecHitHists::analyze(), MuonSimHitsValidAnalyzer::analyze(), SiStripSpyMonitorModule::analyze(), BigEventsDebugger< T >::analyze(), EcalLaserAnalyzerYousi::analyze(), LhcTrackAnalyzer::analyze(), EGammaCutBasedEleIdAnalyzer::analyze(), EcalDigisValidation::analyze(), HcalRaddamMuon::analyze(), GlobalRecHitsHistogrammer::analyze(), HGCalRecHitValidation::analyze(), EcalMipGraphs::analyze(), ZdcSimHitStudy::analyze(), SiStripFEDMonitorPlugin::analyze(), FFTJetPileupAnalyzer::analyze(), SiStripMonitorTrack::analyze(), EcalDisplaysByEvent::analyze(), SiPixelErrorEstimation::analyze(), CosmicSplitterValidation::analyze(), l1t::GtRecordDump::analyze(), PrimaryVertexValidation::analyze(), JetMETHLTOfflineSource::analyze(), HGCalDigiValidation::analyze(), ValidIsoTrkCalib::analyze(), EcalCosmicsHists::analyze(), SiStripCMMonitorPlugin::analyze(), SiPixelTrackingRecHitsValid::analyze(), HcalHBHEMuonAnalyzer::analyze(), GlobalHitsAnalyzer::analyze(), GlobalHitsHistogrammer::analyze(), IsoTrackCalibration::analyze(), pat::CandidateSummaryTable::analyze(), FSQDQM::analyze(), GctErrorAnalyzer::analyze(), StudyHLT::analyze(), IsoTrackCalib::analyze(), HcalIsoTrkAnalyzer::analyze(), JetAnalyzer::analyze(), analyzer::SiPixelLorentzAngle::analyze(), OverlapValidation::analyze(), SiStripSpyDisplayModule::analyze(), IsoTrig::analyze(), IsolatedTracksHcalScale::analyze(), GlobalDigisAnalyzer::analyze(), IsolatedGenParticles::analyze(), IsolatedTracksCone::analyze(), SiStripRecHitsValid::analyze(), TrackerDpgAnalysis::analyze(), CSCTriggerPrimitivesReader::analyze(), EcnaAnalyzer::analyze(), IsolatedTracksNxN::analyze(), GlobalRecHitsAnalyzer::analyze(), BeamHaloAnalyzer::analyze(), HOCalibAnalyzer::analyze(), SiStripTrackingRecHitsValid::analyze(), ResidualRefitting::analyze(), TrackingNtuple::analyze(), L1GtAnalyzer::analyzeConditionsInEventBlock(), L1GtAnalyzer::analyzeTrigger(), edm::contains(), Types.EventID::cppID(), CSCDigiToRaw::createFedBuffers(), sistrip::DigiToRaw::createFedBuffers_(), edm::decode(), SiStripGainsPCLWorker::dqmAnalyze(), edm::encode(), edm::EventRange::endEvent(), edm::ProducerSourceBase::event(), edm::EventAuxiliary::event(), edm::service::SimpleMemoryCheck::eventStatOutput(), EventWithHistory::EventWithHistory(), L1GtPatternGenerator::extractGlobalTriggerData(), extractRecordData(), HGCalTriggerNtupleEvent::fill(), StringBasedNTupler::fill(), HLXMonitor::FillEventInfo(), DaqFakeReader::fillFEDs(), DaqFakeReader::fillGTPFED(), L1GlobalTriggerPSB::fillPsbBlock(), DTTFFEDSim::fillRawData(), DTuROSDigiToRaw::fillRawData(), edm::ModuloEventIDFilter::filter(), PFDQMEventSelector::filter(), TrackingFailureFilter::filter(), EcalTangentFilter::filter(), PhotonIsoProducer::filter(), MultiEventFilter::filter(), SiStripCommissioningBasicPrescaler::filter(), BeamSplash::filter(), FilterOutLowPt::filter(), EcalLaserCorrFilter::filter(), FilterOutScraping::filter(), PhysDecl::filter(), HLTEventNumberFilter::filter(), MCZll::filter(), AlCaIsolatedBunchFilter::filter(), AlCaIsolatedBunchSelector::filter(), AlCaIsoTracksProducerFilter::filter(), EcalSkim::filter(), HcalLaserEventFilter2012::filter(), edm::GeneratorFilter< HAD, DEC >::filter(), HcalLaserEventFilter::filter(), AlCaHBHEMuonFilter::filter(), AlCaHEMuonFilter::filter(), AlCaLowPUHBHEMuonFilter::filter(), HcalLaserHBHEFilter2012::filter(), HcalLaserHBHEHFFilter2012::filter(), HcalLaserHFFilter2012::filter(), PrescaleEventFilter::filter(), HLTPrescaler::filter(), PickEvents::filter(), SiStripShotFilter::filter(), edm::HadronizerFilter< HAD, DEC >::filter(), AlCaIsoTracksFilter::filter(), EcalDeadCellTriggerPrimitiveFilter::filter(), HLTEcalResonanceFilter::filter(), HLTRegionalEcalResonanceFilter::filter(), LogErrorEventFilter::filter(), HSCPTreeBuilder::filter(), l1t::AMCDumpToRaw::formatRaw(), l1t::MP7BufferDumpToRaw::formatRaw(), RunManagerMTWorker::generateEvent(), RunManager::generateEvent(), egamma::getRandomSeedFromObj(), egamma::getRandomSeedFromSC(), edm::RootPrimaryFileSequence::goToEvent(), edm::RootFile::goToEvent(), tnp::BaseTreeFiller::init(), edm::RootFile::isDuplicateEvent(), edm::InputSource::issueReports(), CmsShowMainFrame::loadEvent(), EcalDeadCellDeltaRFilter::loadEventInfo(), EgammaHLTNxNClusterProducer::makeNxNClusters(), CTPPSRPAlignmentCorrectionsDataESSourceXML::nextLS(), edm::operator<<(), L1GTEvmDigiToRaw::packHeader(), L1GTDigiToRaw::packHeader(), edm::service::IgProfService::postEvent(), edm::service::Tracer::postEvent(), edm::postIndexIntoFilePrintEventLists(), edm::service::IgProfService::preEvent(), edm::service::Tracer::preEvent(), evf::FastMonitoringService::prePathEvent(), CTPPSRPAlignmentCorrectionsDataESSourceXML::previousLS(), TrackFinder::process(), FFTJetTreeDump::processTreeData(), ShallowEventDataProducer::produce(), edm::FlatRandomMultiParticlePGunProducer::produce(), HcalPatternSource::produce(), edm::RandomMultiParticlePGunProducer::produce(), edm::GaussRandomPThetaGunProducer::produce(), edm::FlatRandomEThetaGunProducer::produce(), edm::FlatRandomPtThetaGunProducer::produce(), edm::FileRandomKEThetaGunProducer::produce(), edm::RandomtXiGunProducer::produce(), edm::CloseByParticleGunProducer::produce(), DTDigiToRawModule::produce(), CSCDigiProducer::produce(), edm::FlatRandomOneOverPtGunProducer::produce(), edm::FlatRandomEGunProducer::produce(), edm::FlatRandomPtGunProducer::produce(), CalibratedPhotonProducerRun2T< T >::produce(), edm::MultiParticleInConeGunProducer::produce(), edm::ExpoRandomPtGunProducer::produce(), ESDigiToRaw::produce(), edm::ExpoRandomPGunProducer::produce(), EcalRecHitsMerger::produce(), ESRecHitsMerger::produce(), edm::RandomXiThetaGunProducer::produce(), PFV0Producer::produce(), CSCDCCUnpacker::produce(), CalibratedElectronProducerRun2T< T >::produce(), NtpProducer< C >::produce(), CastorDigiToRaw::produce(), TrackerHitProducer::produce(), edm::CosMuoGenProducer::produce(), HcalDigiToRaw::produce(), edm::FlatRandomPtAndDxyGunProducer::produce(), PFDisplacedVertexProducer::produce(), SiPixelFedFillerWordEventNumber::produce(), GenParticles2HepMCConverter::produce(), RPCTwinMuxDigiToRaw::produce(), GEMDigiToRawModule::produce(), PFDisplacedVertexCandidateProducer::produce(), FakeTBEventHeaderProducer::produce(), sistrip::RawToDigiModule::produce(), EcalListOfFEDSProducer::produce(), RPCPackingModule::produce(), CSCRecHitDProducer::produce(), ESListOfFEDSProducer::produce(), LaserAlignmentProducer::produce(), PFMET::produce(), CSCTFPacker::produce(), EcalBarrelClusterFastTimer::produce(), DeDxHitInfoProducer::produce(), edm::BeamHaloProducer::produce(), EgammaHLTNxNClusterProducer::produce(), ZToLLEdmNtupleDumper::produce(), HcalDigiToRawuHTR::produce(), GctDigiToRaw::produce(), TrackTimeValueMapProducer::produce(), RunManagerMTWorker::produce(), EventWithHistoryProducer::produce(), PFProducer::produce(), EventWithHistoryProducerFromL1ABC::produce(), DTDigitizer::produce(), PFSimParticleProducer::produce(), gen::Pythia6Gun::produce(), L1Comparator::produce(), reco::PFMETProducerMVA::produce(), RPCTrigger::produce(), PFEGammaProducer::produce(), ConvBremSeedProducer::produce(), SiPixelDigiToRaw::produce(), omtf::OmtfPacker::produce(), AlCaHBHEMuonProducer::produce(), EcalSimpleProducer::produce(), EcalDigiToRaw::produce(), L1GlobalTrigger::produce(), SiPixelCalibDigiProducer::produce(), APVCyclePhaseProducerFromL1ABC::produce(), l1t::GenToInputProducer::produce(), DeepBoostedJetTagsProducer::produce(), RunManager::produce(), reco::modules::TrackerTrackHitFilter::produce(), GlobalHitsProdHist::produce(), GlobalHitsProducer::produce(), GoodSeedProducer::produce(), LaserAlignment::produce(), AlCaIsoTracksProducer::produce(), VirtualJetProducer::produce(), GlobalDigisProducer::produce(), AlCaHOCalibProducer::produce(), GlobalRecHitsProducer::produce(), PYBIND11_MODULE(), edm::PoolSource::readEvent_(), OMTFReconstruction::reconstruct(), CalorimetryManager::reconstruct(), edm::StreamSchedule::reportSkipped(), edm::ProducerSourceBase::retreatToPrevious(), tnp::TagProbePairMaker::run(), L1GlobalTriggerFDL::run(), edm::StreamerOutputModuleCommon::serializeEvent(), L1Analysis::L1AnalysisEvent::Set(), reco::tau::RecoTauVertexAssociator::setEvent(), CTPPSOpticalFunctionsESSource::setIntervalFor(), edm::test::EventSetupTestHelper::setIntervalFor(), CTPPSBeamParametersESSource::setIntervalFor(), CTPPSPixelDAQMappingESSourceXML::setIntervalFor(), TotemDAQMappingESSourceXML::setIntervalFor(), edm::EventPrincipal::setRunAndLumiNumber(), edm::eventsetup::EventSetupRecordProvider::setValidityIntervalFor(), edm::RootFile::skipEvents(), edm::RootFile::skipThisEntry(), edm::EventRange::startEvent(), edm::service::Tracer::Tracer(), RawEventOutputModuleForBU< Consumer >::write(), NanoAODOutputModule::write(), amc13::Packet::write(), LaserSorter::writeEventHeader(), edm::RootOutputFile::writeOne(), AbortOnEventIDAnalyzer::~AbortOnEventIDAnalyzer(), and EventIDChecker::~EventIDChecker().

41 { return event_; }
EventNumber_t event_
Definition: EventID.h:131
static EventID edm::EventID::firstValidEvent ( )
inlinestatic

Definition at line 115 of file EventID.h.

References EventID().

115  {
116  return EventID(1, 1, 1);
117  }
LuminosityBlockNumber_t edm::EventID::luminosityBlock ( ) const
inline

Definition at line 40 of file EventID.h.

References luminosityBlock_.

Referenced by edm::ProducerSourceBase::advanceToNext(), EcalDQMonitorTask::analyze(), L1TdeStage2CaloLayer1::analyze(), DQMEventInfo::analyze(), V0Monitor::analyze(), HcalHBHEMuonSimAnalyzer::analyze(), PrimaryVertexResolution::analyze(), GeneralHLTOffline::analyze(), L1TRate::analyze(), BeamSpotRcdReader::analyze(), METplusTrackMonitor::analyze(), SiStripFEDCheckPlugin::analyze(), L1TRate_Offline::analyze(), ObjMonitor::analyze(), DiDispStaMuonMonitor::analyze(), HcalRaddamMuon::analyze(), NoBPTXMonitor::analyze(), TopMonitor::analyze(), L1TStage2CaloLayer1::analyze(), CosmicSplitterValidation::analyze(), PhotonMonitor::analyze(), TrackingMonitor::analyze(), MuonMonitor::analyze(), HcalHBHEMuonAnalyzer::analyze(), JetMonitor::analyze(), METMonitor::analyze(), HTMonitor::analyze(), FSQDQM::analyze(), TrackingNtuple::analyze(), Types.EventID::cppID(), Types.LuminosityBlockID::cppID(), edm::decode(), edm::encode(), edm::EventRange::endLumi(), PFDQMEventSelector::filter(), TrackingFailureFilter::filter(), PhotonIsoProducer::filter(), MultiEventFilter::filter(), PickEvents::filter(), edm::ProducerSourceBase::getNextItemType(), egamma::getRandomSeedFromObj(), egamma::getRandomSeedFromSC(), edm::RootPrimaryFileSequence::goToEvent(), edm::RootFile::goToEvent(), tnp::BaseTreeFiller::init(), CTPPSRPAlignmentCorrectionsMethods::iovValueToString(), edm::InputSource::issueReports(), CmsShowMainFrame::loadEvent(), edm::ProducerSourceBase::luminosityBlock(), edm::EventAuxiliary::luminosityBlock(), edm::EventPrincipal::luminosityBlock(), edm::IOVSyncValue::luminosityBlockNumber(), fwlite::IOVSyncValue::luminosityBlockNumber(), CTPPSRPAlignmentCorrectionsDataESSourceXML::nextLS(), RunLumiSelector::operator()(), edm::operator<<(), FastTimerService::postEvent(), edm::service::Tracer::postEvent(), edm::service::Tracer::postStreamBeginLumi(), edm::service::Tracer::postStreamEndLumi(), edm::service::Tracer::preEvent(), edm::service::Tracer::preStreamBeginLumi(), evf::FastMonitoringService::preStreamBeginLumi(), evf::FastMonitoringService::preStreamEarlyTermination(), edm::service::Tracer::preStreamEndLumi(), evf::FastMonitoringService::preStreamEndLumi(), CTPPSRPAlignmentCorrectionsDataESSourceXML::previousLS(), CalibratedPhotonProducerRun2T< T >::produce(), CalibratedElectronProducerRun2T< T >::produce(), EcalBarrelClusterFastTimer::produce(), DeDxHitInfoProducer::produce(), TrackTimeValueMapProducer::produce(), DeepBoostedJetTagsProducer::produce(), edm::ProducerSourceBase::ProducerSourceBase(), PYBIND11_MODULE(), LHESource::readLuminosityBlockAuxiliary_(), edm::ProducerSourceBase::readLuminosityBlockAuxiliary_(), edm::ProducerSourceBase::retreatToPrevious(), CTPPSLHCInfoESSource::setIntervalFor(), CTPPSOpticalFunctionsESSource::setIntervalFor(), edm::test::EventSetupTestHelper::setIntervalFor(), edm::eventsetup::DependentRecordIntervalFinder::setIntervalFor(), CTPPSRPAlignmentCorrectionsDataESSourceXML::setIntervalFor(), TotemDAQMappingESSourceXML::setIntervalFor(), edm::ProducerSourceBase::skip(), edm::EventRange::startLumi(), and edm::service::Tracer::Tracer().

40 { return luminosityBlock_; }
LuminosityBlockNumber_t luminosityBlock_
Definition: EventID.h:130
static EventNumber_t edm::EventID::maxEventNumber ( )
inlinestatic
static LuminosityBlockNumber_t edm::EventID::maxLuminosityBlockNumber ( )
inlinestatic
static RunNumber_t edm::EventID::maxRunNumber ( )
inlinestatic
EventID edm::EventID::next ( LuminosityBlockNumber_t const &  lumi) const
inline

Definition at line 44 of file EventID.h.

References event_, EventID(), maxEventNumber(), and run_.

Referenced by edm::ProducerSourceBase::advanceToNext().

44  {
45  if(event_ != maxEventNumber()) {
46  return EventID(run_, lumi, event_ + 1);
47  }
48  return EventID(run_ + 1, lumi, 1);
49  }
EventNumber_t event_
Definition: EventID.h:131
RunNumber_t run_
Definition: EventID.h:129
static EventNumber_t maxEventNumber()
Definition: EventID.h:111
EventID edm::EventID::nextRun ( LuminosityBlockNumber_t const &  lumi) const
inline

Definition at line 50 of file EventID.h.

References EventID(), and run_.

50  {
51  return EventID(run_ + 1, lumi, 0);
52  }
RunNumber_t run_
Definition: EventID.h:129
EventID edm::EventID::nextRunFirstEvent ( LuminosityBlockNumber_t const &  lumi) const
inline

Definition at line 53 of file EventID.h.

References EventID(), and run_.

Referenced by edm::ProducerSourceBase::advanceToNext().

53  {
54  return EventID(run_ + 1, lumi, 1);
55  }
RunNumber_t run_
Definition: EventID.h:129
bool edm::EventID::operator!= ( EventID const &  iRHS) const
inline

Definition at line 89 of file EventID.h.

89  {
90  return !(*this == iRHS);
91  }
bool edm::EventID::operator< ( EventID const &  iRHS) const
inline

Definition at line 73 of file EventID.h.

References event_, luminosityBlock_, and run_.

73  {
74  if (run_ < iRHS.run_) return true;
75  if (run_ > iRHS.run_) return false;
76  if (luminosityBlock_ < iRHS.luminosityBlock_) return true;
77  if (luminosityBlock_ > iRHS.luminosityBlock_) return false;
78  return (event_ < iRHS.event_);
79  }
EventNumber_t event_
Definition: EventID.h:131
LuminosityBlockNumber_t luminosityBlock_
Definition: EventID.h:130
RunNumber_t run_
Definition: EventID.h:129
bool edm::EventID::operator<= ( EventID const &  iRHS) const
inline

Definition at line 93 of file EventID.h.

93  {
94  return (*this < iRHS || *this == iRHS);
95  }
bool edm::EventID::operator== ( EventID const &  iRHS) const
inline

Definition at line 85 of file EventID.h.

85  {
86  return !(*this < iRHS || iRHS < *this);
87  }
bool edm::EventID::operator> ( EventID const &  iRHS) const
inline

Definition at line 97 of file EventID.h.

97  {
98  return !(*this <= iRHS);
99  }
bool edm::EventID::operator>= ( EventID const &  iRHS) const
inline

Definition at line 81 of file EventID.h.

81  {
82  return !(*this < iRHS);
83  }
EventID edm::EventID::previous ( LuminosityBlockNumber_t const &  lumi) const
inline

Definition at line 63 of file EventID.h.

References event_, EventID(), maxEventNumber(), and run_.

Referenced by edm::ProducerSourceBase::retreatToPrevious().

63  {
64  if(event_ > 1) {
65  return EventID(run_, lumi, event_-1);
66  }
67  if(run_ != 0) {
68  return EventID(run_ - 1, lumi, maxEventNumber());
69  }
70  return EventID();
71  }
EventNumber_t event_
Definition: EventID.h:131
RunNumber_t run_
Definition: EventID.h:129
static EventNumber_t maxEventNumber()
Definition: EventID.h:111
EventID edm::EventID::previousRunLastEvent ( LuminosityBlockNumber_t const &  lumi) const
inline

Definition at line 56 of file EventID.h.

References EventID(), maxEventNumber(), and run_.

Referenced by edm::ProducerSourceBase::retreatToPrevious().

56  {
57  if(run_ > 1) {
58  return EventID(run_ - 1, lumi, maxEventNumber());
59  }
60  return EventID();
61  }
RunNumber_t run_
Definition: EventID.h:129
static EventNumber_t maxEventNumber()
Definition: EventID.h:111
RunNumber_t edm::EventID::run ( ) const
inline

Definition at line 39 of file EventID.h.

References run_.

Referenced by fwlite::RunLumiSelector::accept(), FilterSelection::acceptMap(), edm::ProducerSourceBase::advanceToNext(), SiStripGainFromData::algoAnalyze(), SiStripHitEffFromCalibTree::algoAnalyze(), SiStripGainFromCalibTree::algoAnalyze(), EcalTrivialObjectAnalyzer::analyze(), JetValidation::analyze(), edmtest::AlignPCLThresholdsReader::analyze(), SiStripDetVOffFakeBuilder::analyze(), L1TScalersSCAL::analyze(), PlaybackRawDataProvider::analyze(), L1CondDBIOVWriterExt::analyze(), SiStripNoisesBuilder::analyze(), ESOccupancyTask::analyze(), ESPedestalTask::analyze(), SiStripApvGainBuilder::analyze(), SiStripPedestalsBuilder::analyze(), SiStripSummaryBuilder::analyze(), SiStripThresholdBuilder::analyze(), ESRawDataTask::analyze(), edmtest::FillInfoESAnalyzer::analyze(), edmtest::LHCInfoESAnalyzer::analyze(), EventHeader::analyze(), HcalTBWriter::analyze(), CTPPSPixGainCalibsESAnalyzer::analyze(), SiStripQualityStatistics::analyze(), ElectronGeneralAnalyzer::analyze(), CTPPSRPAlignmentInfoReader::analyze(), ESTimingTask::analyze(), BeamSpotFromDB::analyze(), ElectronTagProbeAnalyzer::analyze(), CTPPSPixelDAQMappingAnalyzer::analyze(), AlignmentStats::analyze(), BeamSpotAnalyzer::analyze(), EcalDQMonitorTask::analyze(), PUDumper::analyze(), SimHitsValidationHcal::analyze(), TrackerHitAnalyzer::analyze(), DTT0CalibrationRMS::analyze(), L1O2OTestAnalyzerExt::analyze(), PFCandidateChecker::analyze(), edmtest::L1TriggerScalerESAnalyzer::analyze(), edmtest::RunInfoESAnalyzer::analyze(), edmtest::RunSummaryESAnalyzer::analyze(), SiStripMonitorDigi::analyze(), EcalTPGAnalyzer::analyze(), SiPixelRecHitsValid::analyze(), HLTInspect::analyze(), EcalPedHists::analyze(), HcalSimHitStudy::analyze(), ValidationMisalignedTracker::analyze(), DumpGctDigis::analyze(), DTConfigTester::analyze(), SiStripLAProfileBooker::analyze(), SiStripCommissioningSource::analyze(), SimAnalyzerMinbias::analyze(), CSCRecoBadChannelsAnalyzer::analyze(), SiStripMonitorCluster::analyze(), sistrip::SpyExtractRunModule::analyze(), ElectronAnalyzer::analyze(), EventIDChecker::analyze(), EcalTestDevDB::analyze(), L1CondDBIOVWriter::analyze(), CentralityTableProducer::analyze(), EcalBarrelSimHitsValidation::analyze(), sistrip::SpyIdentifyRunsModule::analyze(), EcalEndcapSimHitsValidation::analyze(), EcalPreshowerSimHitsValidation::analyze(), BTVHLTOfflineSource::analyze(), ElectronStudy::analyze(), edmtest::HcalDumpConditions::analyze(), DTTrigTest::analyze(), EcalBxOrbitNumberGrapher::analyze(), PrimaryVertexResolution::analyze(), EcalSimHitsValidation::analyze(), HcalHBHEMuonSimAnalyzer::analyze(), ElectronMVANtuplizer::analyze(), HiggsDQM::analyze(), PhotonMVANtuplizer::analyze(), SiStripMonitorRawData::analyze(), HcalCollapseAnalyzer::analyze(), GeneralHLTOffline::analyze(), L1O2OTestAnalyzer::analyze(), EcalRecHitsValidation::analyze(), L1TRate::analyze(), GlobalDigisHistogrammer::analyze(), BeamSpotRcdReader::analyze(), FFTJetImageRecorder::analyze(), HitEff::analyze(), PixelLumiDQM::analyze(), SiStripMonitorPedestals::analyze(), Vx3DHLTAnalyzer::analyze(), MuonSimHitsValidAnalyzer::analyze(), EcalURecHitHists::analyze(), L1TRate_Offline::analyze(), LhcTrackAnalyzer::analyze(), EcalDigisValidation::analyze(), GlobalRecHitsHistogrammer::analyze(), EGammaCutBasedEleIdAnalyzer::analyze(), HcalRaddamMuon::analyze(), EcalMipGraphs::analyze(), ZdcSimHitStudy::analyze(), SiStripMonitorTrack::analyze(), FFTJetPileupAnalyzer::analyze(), EcalDisplaysByEvent::analyze(), CastorDumpConditions::analyze(), SiPixelErrorEstimation::analyze(), CosmicSplitterValidation::analyze(), l1t::GtRecordDump::analyze(), EcalCosmicsHists::analyze(), JetMETHLTOfflineSource::analyze(), ValidIsoTrkCalib::analyze(), SiPixelTrackingRecHitsValid::analyze(), CastorPedestalsAnalysis::analyze(), HcalHBHEMuonAnalyzer::analyze(), GlobalHitsAnalyzer::analyze(), GlobalHitsHistogrammer::analyze(), IsoTrackCalibration::analyze(), pat::CandidateSummaryTable::analyze(), FSQDQM::analyze(), StudyHLT::analyze(), IsoTrackCalib::analyze(), HcalIsoTrkAnalyzer::analyze(), analyzer::SiPixelLorentzAngle::analyze(), OverlapValidation::analyze(), SiStripSpyDisplayModule::analyze(), IsoTrig::analyze(), IsolatedTracksHcalScale::analyze(), L1TBPTX::analyze(), GlobalDigisAnalyzer::analyze(), LaserSorter::analyze(), IsolatedTracksCone::analyze(), SiStripRecHitsValid::analyze(), CSCTriggerPrimitivesReader::analyze(), TrackerDpgAnalysis::analyze(), EcnaAnalyzer::analyze(), SiPixelOfflineCalibAnalysisBase::analyze(), IsolatedTracksNxN::analyze(), GlobalRecHitsAnalyzer::analyze(), HOCalibAnalyzer::analyze(), SiStripTrackingRecHitsValid::analyze(), ResidualRefitting::analyze(), TrackingNtuple::analyze(), AlignmentProducerBase::applyDB(), MillePedeAlignmentAlgorithm::beginRun(), SiStripBackplaneCalibration::checkBackPlaneCorrectionInput(), edm::contains(), Types.EventID::cppID(), Types.LuminosityBlockID::cppID(), edm::decode(), SiStripLorentzAngleCalibration::derivatives(), SiPixelLorentzAngleCalibration::derivatives(), SiStripBackplaneCalibration::derivatives(), edm::IOVSyncValue::doOp(), fwlite::IOVSyncValue::doOp(), edm::PreMixingModule::doPileUp(), SiStripGainsPCLWorker::dqmAnalyze(), CastorDumpConditions::dumpIt(), edm::encode(), edm::EventRange::endRun(), edm::service::SimpleMemoryCheck::eventStatOutput(), HGCalTriggerNtupleEvent::fill(), TriggerOutputBranches::fill(), StringBasedNTupler::fill(), PFDQMEventSelector::filter(), TrackingFailureFilter::filter(), EcalTangentFilter::filter(), PhotonIsoProducer::filter(), MultiEventFilter::filter(), FilterOutLowPt::filter(), BeamSplash::filter(), EcalLaserCorrFilter::filter(), FilterOutScraping::filter(), PhysDecl::filter(), AlCaIsolatedBunchFilter::filter(), AlCaIsolatedBunchSelector::filter(), AlCaIsoTracksProducerFilter::filter(), HcalLaserEventFilter2012::filter(), AlCaHBHEMuonFilter::filter(), HcalLaserEventFilter::filter(), AlCaHEMuonFilter::filter(), AlCaLowPUHBHEMuonFilter::filter(), HcalLaserHBHEFilter2012::filter(), HcalLaserHBHEHFFilter2012::filter(), HcalLaserHFFilter2012::filter(), PickEvents::filter(), AlCaIsoTracksFilter::filter(), EcalDeadCellTriggerPrimitiveFilter::filter(), HLTEcalResonanceFilter::filter(), HLTRegionalEcalResonanceFilter::filter(), HSCPTreeBuilder::filter(), cond::time::fromIOVSyncValue(), edm::ProducerSourceBase::getNextItemType(), egamma::getRandomSeedFromObj(), egamma::getRandomSeedFromSC(), edm::RootPrimaryFileSequence::goToEvent(), edm::RootFile::goToEvent(), tnp::BaseTreeFiller::init(), HIPAlignmentAlgorithm::initialize(), CTPPSRPAlignmentCorrectionsMethods::iovValueToString(), edm::InputSource::issueReports(), cond::time::limitedIOVSyncValue(), CmsShowMainFrame::loadEvent(), EcalDeadCellDeltaRFilter::loadEventInfo(), EgammaHLTNxNClusterProducer::makeNxNClusters(), CTPPSRPAlignmentCorrectionsDataESSourceXML::nextLS(), RunLumiSelector::operator()(), edm::operator<<(), RunRangeDependentPedeLabeler::parameterLabel(), edm::service::Tracer::postEvent(), edm::service::Tracer::postStreamBeginLumi(), edm::service::Tracer::postStreamBeginRun(), edm::service::Tracer::postStreamEndLumi(), edm::service::Tracer::postStreamEndRun(), edm::service::MessageLogger::preEvent(), edm::service::Tracer::preEvent(), edm::service::CheckTransitions::preGlobalBeginLumi(), edm::service::CheckTransitions::preGlobalBeginRun(), edm::service::CheckTransitions::preGlobalEndLumi(), edm::service::CheckTransitions::preGlobalEndRun(), edm::service::MessageLogger::preStreamBeginLumi(), edm::service::Tracer::preStreamBeginLumi(), edm::service::Tracer::preStreamBeginRun(), edm::service::MessageLogger::preStreamBeginRun(), edm::service::MessageLogger::preStreamEndLumi(), edm::service::Tracer::preStreamEndLumi(), edm::service::Tracer::preStreamEndRun(), edm::service::MessageLogger::preStreamEndRun(), CTPPSRPAlignmentCorrectionsDataESSourceXML::previousLS(), TrackFinder::process(), AlignmentMonitorMuonSystemMap1D::processMuonResidualsFromTrack(), FFTJetTreeDump::processTreeData(), ShallowEventDataProducer::produce(), CSCDigiProducer::produce(), EcalTBH2TDCRecInfoProducer::produce(), CalibratedPhotonProducerRun2T< T >::produce(), ESDigiToRaw::produce(), ESRecHitsMerger::produce(), EcalRecHitsMerger::produce(), CSCDCCUnpacker::produce(), PFV0Producer::produce(), CalibratedElectronProducerRun2T< T >::produce(), TrackerHitProducer::produce(), NtpProducer< C >::produce(), PFDisplacedVertexProducer::produce(), PFDisplacedVertexCandidateProducer::produce(), FakeTBEventHeaderProducer::produce(), AlcaBeamSpotProducer::produce(), EcalListOfFEDSProducer::produce(), CSCRecHitDProducer::produce(), ESListOfFEDSProducer::produce(), PFMET::produce(), CalibratedPhotonProducerT< T >::produce(), EcalBarrelClusterFastTimer::produce(), EgammaHLTNxNClusterProducer::produce(), CalibratedElectronProducerT< T >::produce(), ZToLLEdmNtupleDumper::produce(), TrackTimeValueMapProducer::produce(), PFProducer::produce(), RunManagerMTWorker::produce(), PFSimParticleProducer::produce(), DTDigitizer::produce(), L1Comparator::produce(), reco::PFMETProducerMVA::produce(), PFEGammaProducer::produce(), ConvBremSeedProducer::produce(), AlCaHBHEMuonProducer::produce(), EcalDigiToRaw::produce(), DeepBoostedJetTagsProducer::produce(), reco::modules::TrackerTrackHitFilter::produce(), GlobalHitsProdHist::produce(), GlobalHitsProducer::produce(), GoodSeedProducer::produce(), LaserAlignment::produce(), AlCaIsoTracksProducer::produce(), VirtualJetProducer::produce(), GlobalDigisProducer::produce(), AlCaHOCalibProducer::produce(), GlobalRecHitsProducer::produce(), DIPLumiProducer::produceDetail(), LumiCorrectionSource::produceLumiCorrectionParam(), DIPLumiProducer::produceSummary(), PYBIND11_MODULE(), DTConfigDBProducer::readDTCCBConfig(), BeamFitter::readEvent(), PVFitter::readEvent(), LHESource::readLuminosityBlockAuxiliary_(), edm::ProducerSourceBase::readLuminosityBlockAuxiliary_(), LHESource::readRunAuxiliary_(), edm::ProducerSourceBase::readRunAuxiliary_(), fwlite::Record::Record(), edm::StreamSchedule::reportSkipped(), edm::ProducerSourceBase::retreatToPrevious(), edm::ProducerSourceBase::run(), edm::EventAuxiliary::run(), edm::EventPrincipal::run(), edm::StreamerOutputModuleCommon::serializeEvent(), L1Analysis::L1AnalysisEvent::Set(), CTPPSLHCInfoESSource::setIntervalFor(), CTPPSOpticalFunctionsESSource::setIntervalFor(), CondDBESSource::setIntervalFor(), edm::test::EventSetupTestHelper::setIntervalFor(), edm::eventsetup::DependentRecordIntervalFinder::setIntervalFor(), CTPPSRPAlignmentCorrectionsDataESSourceXML::setIntervalFor(), CTPPSBeamParametersESSource::setIntervalFor(), FWLiteESSource::setIntervalFor(), CTPPSPixelDAQMappingESSourceXML::setIntervalFor(), TotemDAQMappingESSourceXML::setIntervalFor(), edm::ProducerSourceBase::skip(), edm::EventRange::startRun(), fwlite::Record::syncTo(), edm::service::Tracer::Tracer(), RawEventOutputModuleForBU< Consumer >::write(), NanoAODOutputModule::write(), edm::RootOutputFile::writeOne(), edmtest::HcalDumpConditions::writeToFile(), AbortOnEventIDAnalyzer::~AbortOnEventIDAnalyzer(), and EventIDChecker::~EventIDChecker().

39 { return run_; }
RunNumber_t run_
Definition: EventID.h:129
void edm::EventID::setLuminosityBlockNumber ( LuminosityBlockNumber_t const &  lb)
inline

Definition at line 120 of file EventID.h.

References luminosityBlock_.

120  {
121  luminosityBlock_ = lb;
122  }
LuminosityBlockNumber_t luminosityBlock_
Definition: EventID.h:130

Member Data Documentation

EventNumber_t edm::EventID::event_
private

Definition at line 131 of file EventID.h.

Referenced by event(), next(), operator<(), and previous().

LuminosityBlockNumber_t edm::EventID::luminosityBlock_
private

Definition at line 130 of file EventID.h.

Referenced by luminosityBlock(), operator<(), and setLuminosityBlockNumber().

RunNumber_t edm::EventID::run_
private

Definition at line 129 of file EventID.h.

Referenced by next(), nextRun(), nextRunFirstEvent(), operator<(), previous(), previousRunLastEvent(), and run().