#include <IOVSyncValue.h>
Public Member Functions | |
bool | comparable (const IOVSyncValue &iOther) const |
const EventID & | eventID () const |
IOVSyncValue () | |
IOVSyncValue (const EventID &iID) | |
IOVSyncValue (const Timestamp &iTime) | |
IOVSyncValue (const EventID &iID, const Timestamp &iTime) | |
LuminosityBlockNumber_t | luminosityBlockNumber () const |
bool | operator!= (const IOVSyncValue &iRHS) const |
bool | operator< (const IOVSyncValue &iRHS) const |
bool | operator<= (const IOVSyncValue &iRHS) const |
bool | operator== (const IOVSyncValue &iRHS) const |
bool | operator> (const IOVSyncValue &iRHS) const |
bool | operator>= (const IOVSyncValue &iRHS) const |
const Timestamp & | time () const |
Static Public Member Functions | |
static const IOVSyncValue & | beginOfTime () |
static const IOVSyncValue & | endOfTime () |
static const IOVSyncValue & | invalidIOVSyncValue () |
Private Member Functions | |
template<template< typename > class Op> | |
bool | doOp (const IOVSyncValue &iRHS) const |
void | throwInvalidComparison () const |
Private Attributes | |
EventID | eventID_ |
bool | haveID_ |
bool | haveTime_ |
Timestamp | time_ |
Definition at line 31 of file IOVSyncValue.h.
IOVSyncValue::IOVSyncValue | ( | ) |
Definition at line 33 of file IOVSyncValue.cc.
|
explicit |
Definition at line 38 of file IOVSyncValue.cc.
|
explicit |
Definition at line 43 of file IOVSyncValue.cc.
Definition at line 48 of file IOVSyncValue.cc.
|
static |
Definition at line 103 of file IOVSyncValue.cc.
References edm::Timestamp::beginOfTime().
Referenced by AlignmentProducer::applyDB(), Phase2TrackerCablingCfgESSource::setIntervalFor(), SiPixelFakeCPEGenericErrorParmESSource::setIntervalFor(), SiPixelFakeTemplateDBObjectESSource::setIntervalFor(), SiPixelFakeGenErrorDBObjectESSource::setIntervalFor(), SiStripFedCablingFakeESSource::setIntervalFor(), SiStripHashedDetIdFakeESSource::setIntervalFor(), XMLIdealGeometryESSource::setIntervalFor(), QGLikelihoodESProducer::setIntervalFor(), QGLikelihoodSystematicsESProducer::setIntervalFor(), SiStripGainESSource::setIntervalFor(), RPCPerformanceESSource::setIntervalFor(), SiStripNoiseESSource::setIntervalFor(), SiStripPedestalsESSource::setIntervalFor(), CSCFakeNoiseMatrixConditions::setIntervalFor(), PhysicsTools::MVAComputerESSourceImpl< RecordType >::setIntervalFor(), CSCGainsConditions::setIntervalFor(), CSCFakeDBGains::setIntervalFor(), CastorHardcodeCalibrations::setIntervalFor(), CSCCrosstalkConditions::setIntervalFor(), SiStripTemplateEmptyFakeESSource< TObject, TRecord >::setIntervalFor(), CSCNoiseMatrixConditions::setIntervalFor(), CSCNoiseMatrixDBConditions::setIntervalFor(), CSCPedestalsDBConditions::setIntervalFor(), DTFakeTTrigESProducer::setIntervalFor(), DTFakeVDriftESProducer::setIntervalFor(), CSCCrosstalkDBConditions::setIntervalFor(), CSCFakeDBCrosstalk::setIntervalFor(), CSCFakeDBNoiseMatrix::setIntervalFor(), CSCFakeDBPedestals::setIntervalFor(), CSCBadChambersConditions::setIntervalFor(), BeamSpotFakeConditions::setIntervalFor(), CSCBadWiresConditions::setIntervalFor(), SiStripTemplateFakeESSource< TObject, TRecord, TService >::setIntervalFor(), CSCGainsDBConditions::setIntervalFor(), CSCGasGainCorrectionDBConditions::setIntervalFor(), CSCBadStripsConditions::setIntervalFor(), CSCL1TPParametersConditions::setIntervalFor(), CSCChipSpeedCorrectionDBConditions::setIntervalFor(), CSCFakeCrosstalkConditions::setIntervalFor(), CSCCrateMapValues::setIntervalFor(), CSCDDUMapValues::setIntervalFor(), CSCChamberIndexValues::setIntervalFor(), CSCChamberMapValues::setIntervalFor(), CSCFakeGainsConditions::setIntervalFor(), SiStripQualityFakeESSource::setIntervalFor(), CSCFakePedestalsConditions::setIntervalFor(), CSCChamberTimeCorrectionsValues::setIntervalFor(), CastorTextCalibrations::setIntervalFor(), HiTrivialConditionRetriever::setIntervalFor(), HcalOmdsCalibrations::setIntervalFor(), HepPDTESSource::setIntervalFor(), edm::eventsetup::IntersectingIOVRecordIntervalFinder::setIntervalFor(), DTFakeT0ESProducer::setIntervalFor(), SiPixelFakeGainForHLTESSource::setIntervalFor(), SiPixelFakeGainESSource::setIntervalFor(), edm::ESProducerLooper::setIntervalFor(), SiPixelFakeGainOfflineESSource::setIntervalFor(), SiPixelFakeLorentzAngleESSource::setIntervalFor(), SiPixelFakeQualityESSource::setIntervalFor(), ElectronLikelihoodESSource::setIntervalFor(), SiPixelQualityESProducer::setIntervalFor(), HcalTextCalibrations::setIntervalFor(), edm::eventsetup::DependentRecordIntervalFinder::setIntervalFor(), HcalHardcodeCalibrations::setIntervalFor(), CaloMiscalibToolsMC::setIntervalFor(), CaloMiscalibTools::setIntervalFor(), ESTrivialConditionRetriever::setIntervalFor(), SiStripFedCablingBuilderFromDb::setIntervalFor(), JetCorrectionESSource< Corrector >::setIntervalFor(), FakeAlignmentSource::setIntervalFor(), and EcalTrivialConditionRetriever::setIntervalFor().
|
inline |
returns true if comparison operations are possible. Comparisons only fail if
a time only value is compared to a run/lumi/event only value.
Definition at line 69 of file IOVSyncValue.h.
References haveID_, and haveTime_.
Referenced by operator!=(), operator==(), and edm::eventsetup::DependentRecordIntervalFinder::setIntervalFor().
|
inlineprivate |
Definition at line 86 of file IOVSyncValue.h.
References eventID_, haveID_, haveTime_, luminosityBlockNumber(), edm::EventID::run(), throwInvalidComparison(), and time_.
|
static |
Definition at line 97 of file IOVSyncValue.cc.
References edm::Timestamp::endOfTime(), edm::EventID::maxEventNumber(), and edm::LuminosityBlockID::maxLuminosityBlockNumber().
Referenced by EcalTestDevDB::analyze(), AlignmentProducer::applyDB(), Phase2TrackerCablingCfgESSource::setIntervalFor(), edm::EmptyESSource::setIntervalFor(), SiPixelFakeCPEGenericErrorParmESSource::setIntervalFor(), SiPixelFakeTemplateDBObjectESSource::setIntervalFor(), SiPixelFakeGenErrorDBObjectESSource::setIntervalFor(), SiStripFedCablingFakeESSource::setIntervalFor(), SiStripHashedDetIdFakeESSource::setIntervalFor(), XMLIdealGeometryESSource::setIntervalFor(), QGLikelihoodESProducer::setIntervalFor(), QGLikelihoodSystematicsESProducer::setIntervalFor(), SiStripGainESSource::setIntervalFor(), RPCPerformanceESSource::setIntervalFor(), SiStripNoiseESSource::setIntervalFor(), SiStripPedestalsESSource::setIntervalFor(), CSCFakeNoiseMatrixConditions::setIntervalFor(), PhysicsTools::MVAComputerESSourceImpl< RecordType >::setIntervalFor(), CSCGainsConditions::setIntervalFor(), CSCFakeDBGains::setIntervalFor(), CastorHardcodeCalibrations::setIntervalFor(), CSCCrosstalkConditions::setIntervalFor(), SiStripTemplateEmptyFakeESSource< TObject, TRecord >::setIntervalFor(), CSCNoiseMatrixConditions::setIntervalFor(), CSCNoiseMatrixDBConditions::setIntervalFor(), CSCPedestalsDBConditions::setIntervalFor(), DTFakeTTrigESProducer::setIntervalFor(), CSCCrosstalkDBConditions::setIntervalFor(), BeamSpotFakeConditions::setIntervalFor(), CSCFakeDBCrosstalk::setIntervalFor(), CSCFakeDBNoiseMatrix::setIntervalFor(), CSCFakeDBPedestals::setIntervalFor(), CSCBadChambersConditions::setIntervalFor(), DTFakeVDriftESProducer::setIntervalFor(), CSCBadWiresConditions::setIntervalFor(), SiStripTemplateFakeESSource< TObject, TRecord, TService >::setIntervalFor(), CSCGainsDBConditions::setIntervalFor(), CSCGasGainCorrectionDBConditions::setIntervalFor(), CSCBadStripsConditions::setIntervalFor(), CSCL1TPParametersConditions::setIntervalFor(), CSCChipSpeedCorrectionDBConditions::setIntervalFor(), CSCFakeCrosstalkConditions::setIntervalFor(), CSCChamberIndexValues::setIntervalFor(), CSCCrateMapValues::setIntervalFor(), CSCDDUMapValues::setIntervalFor(), CSCChamberMapValues::setIntervalFor(), CSCChamberTimeCorrectionsValues::setIntervalFor(), CSCFakeGainsConditions::setIntervalFor(), SiStripQualityFakeESSource::setIntervalFor(), CSCFakePedestalsConditions::setIntervalFor(), CastorTextCalibrations::setIntervalFor(), HiTrivialConditionRetriever::setIntervalFor(), HcalOmdsCalibrations::setIntervalFor(), HepPDTESSource::setIntervalFor(), edm::eventsetup::IntersectingIOVRecordIntervalFinder::setIntervalFor(), DTFakeT0ESProducer::setIntervalFor(), SiPixelFakeGainForHLTESSource::setIntervalFor(), SiPixelFakeGainESSource::setIntervalFor(), edm::ESProducerLooper::setIntervalFor(), SiPixelFakeGainOfflineESSource::setIntervalFor(), SiPixelFakeQualityESSource::setIntervalFor(), SiPixelFakeLorentzAngleESSource::setIntervalFor(), ElectronLikelihoodESSource::setIntervalFor(), HcalTextCalibrations::setIntervalFor(), SiPixelQualityESProducer::setIntervalFor(), edm::eventsetup::DependentRecordIntervalFinder::setIntervalFor(), HcalHardcodeCalibrations::setIntervalFor(), CaloMiscalibToolsMC::setIntervalFor(), CaloMiscalibTools::setIntervalFor(), ESTrivialConditionRetriever::setIntervalFor(), SiStripFedCablingBuilderFromDb::setIntervalFor(), JetCorrectionESSource< Corrector >::setIntervalFor(), FakeAlignmentSource::setIntervalFor(), FWLiteESSource::setIntervalFor(), and EcalTrivialConditionRetriever::setIntervalFor().
|
inline |
Definition at line 42 of file IOVSyncValue.h.
References eventID_.
Referenced by SiStripBaseCondObjDQM::analysis(), EcalTestDevDB::analyze(), BTagPerformaceRootProducerFromSQLITE::analyze(), AlignmentProducer::applyDB(), cond::fromIOVSyncValue(), cond::time::fromIOVSyncValue(), cond::limitedIOVSyncValue(), cond::time::limitedIOVSyncValue(), edm::PrintEventSetupContent::print(), DIPLumiProducer::produceDetail(), LumiCorrectionSource::produceLumiCorrectionParam(), DIPLumiProducer::produceSummary(), CastorHardcodeCalibrations::setIntervalFor(), CondDBESSource::setIntervalFor(), edm::eventsetup::DependentRecordIntervalFinder::setIntervalFor(), HcalHardcodeCalibrations::setIntervalFor(), FWLiteESSource::setIntervalFor(), and edm::eventsetup::EventSetupRecordProvider::setValidityIntervalFor().
|
static |
Definition at line 92 of file IOVSyncValue.cc.
Referenced by edmtest::HcalDumpConditions::dumpIt(), cond::limitedIOVSyncValue(), cond::time::limitedIOVSyncValue(), edm::eventsetup::IntersectingIOVRecordIntervalFinder::setIntervalFor(), edm::eventsetup::DependentRecordIntervalFinder::setIntervalFor(), edm::eventsetup::EventSetupRecordProvider::setValidityIntervalFor(), cond::toIOVSyncValue(), and cond::time::toIOVSyncValue().
|
inline |
Definition at line 43 of file IOVSyncValue.h.
References eventID_, and edm::EventID::luminosityBlock().
Referenced by doOp(), cond::fromIOVSyncValue(), cond::time::fromIOVSyncValue(), cond::limitedIOVSyncValue(), cond::time::limitedIOVSyncValue(), DIPLumiProducer::produceDetail(), DIPLumiProducer::produceSummary(), and CondDBESSource::setIntervalFor().
|
inline |
Definition at line 49 of file IOVSyncValue.h.
References comparable().
|
inline |
Definition at line 53 of file IOVSyncValue.h.
|
inline |
Definition at line 56 of file IOVSyncValue.h.
|
inline |
Definition at line 46 of file IOVSyncValue.h.
References comparable().
|
inline |
Definition at line 59 of file IOVSyncValue.h.
|
inline |
Definition at line 62 of file IOVSyncValue.h.
|
private |
Definition at line 83 of file IOVSyncValue.cc.
References edm::hlt::Exception.
Referenced by doOp().
|
inline |
Definition at line 44 of file IOVSyncValue.h.
References time_.
Referenced by BTagPerformaceRootProducerFromSQLITE::analyze(), cond::fromIOVSyncValue(), cond::time::fromIOVSyncValue(), edm::PrintEventSetupContent::print(), CastorHardcodeCalibrations::setIntervalFor(), HiTrivialConditionRetriever::setIntervalFor(), CondDBESSource::setIntervalFor(), edm::eventsetup::DependentRecordIntervalFinder::setIntervalFor(), HcalHardcodeCalibrations::setIntervalFor(), ESTrivialConditionRetriever::setIntervalFor(), FWLiteESSource::setIntervalFor(), and EcalTrivialConditionRetriever::setIntervalFor().
|
private |
Definition at line 113 of file IOVSyncValue.h.
Referenced by doOp(), eventID(), and luminosityBlockNumber().
|
private |
Definition at line 115 of file IOVSyncValue.h.
Referenced by comparable(), and doOp().
|
private |
Definition at line 116 of file IOVSyncValue.h.
Referenced by comparable(), and doOp().
|
private |
Definition at line 114 of file IOVSyncValue.h.