#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(), PCLTrackerAlProducer::applyDB(), Phase2TrackerCablingCfgESSource::setIntervalFor(), SiPixelFakeCPEGenericErrorParmESSource::setIntervalFor(), SiPixelFakeGenErrorDBObjectESSource::setIntervalFor(), SiPixelFakeTemplateDBObjectESSource::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(), CSCCrosstalkConditions::setIntervalFor(), CSCPedestalsDBConditions::setIntervalFor(), CSCFakeDBGains::setIntervalFor(), SiStripTemplateEmptyFakeESSource< TObject, TRecord >::setIntervalFor(), CastorHardcodeCalibrations::setIntervalFor(), CSCNoiseMatrixConditions::setIntervalFor(), CSCNoiseMatrixDBConditions::setIntervalFor(), CSCCrosstalkDBConditions::setIntervalFor(), CSCFakeDBCrosstalk::setIntervalFor(), CSCFakeDBNoiseMatrix::setIntervalFor(), BeamSpotFakeConditions::setIntervalFor(), CSCFakeDBPedestals::setIntervalFor(), SiStripTemplateDepFakeESSource< TObject, TRecord, TService, DepTRecord, DepTObj >::setIntervalFor(), CSCBadChambersConditions::setIntervalFor(), SiStripTemplateFakeESSource< TObject, TRecord, TService >::setIntervalFor(), CSCBadStripsConditions::setIntervalFor(), CSCGainsDBConditions::setIntervalFor(), CSCGasGainCorrectionDBConditions::setIntervalFor(), CSCL1TPParametersConditions::setIntervalFor(), CSCChipSpeedCorrectionDBConditions::setIntervalFor(), CSCBadWiresConditions::setIntervalFor(), CSCCrateMapValues::setIntervalFor(), CSCDDUMapValues::setIntervalFor(), CSCChamberMapValues::setIntervalFor(), CSCFakeCrosstalkConditions::setIntervalFor(), CSCChamberIndexValues::setIntervalFor(), CSCChamberTimeCorrectionsValues::setIntervalFor(), SiStripQualityFakeESSource::setIntervalFor(), CSCFakeGainsConditions::setIntervalFor(), CSCFakePedestalsConditions::setIntervalFor(), CastorTextCalibrations::setIntervalFor(), HiTrivialConditionRetriever::setIntervalFor(), HcalOmdsCalibrations::setIntervalFor(), HepPDTESSource::setIntervalFor(), edm::eventsetup::IntersectingIOVRecordIntervalFinder::setIntervalFor(), DTFakeT0ESProducer::setIntervalFor(), SiPixelFakeGainOfflineESSource::setIntervalFor(), SiPixelFakeGainESSource::setIntervalFor(), edm::ESProducerLooper::setIntervalFor(), SiPixelFakeGainForHLTESSource::setIntervalFor(), SiPixelFakeLorentzAngleESSource::setIntervalFor(), SiPixelFakeQualityESSource::setIntervalFor(), ElectronLikelihoodESSource::setIntervalFor(), SiPixelQualityESProducer::setIntervalFor(), HcalTextCalibrations::setIntervalFor(), edm::eventsetup::DependentRecordIntervalFinder::setIntervalFor(), HcalHardcodeCalibrations::setIntervalFor(), CaloMiscalibTools::setIntervalFor(), CaloMiscalibToolsMC::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(), PCLTrackerAlProducer::applyDB(), Phase2TrackerCablingCfgESSource::setIntervalFor(), edm::EmptyESSource::setIntervalFor(), SiPixelFakeCPEGenericErrorParmESSource::setIntervalFor(), SiPixelFakeGenErrorDBObjectESSource::setIntervalFor(), SiPixelFakeTemplateDBObjectESSource::setIntervalFor(), SiStripFedCablingFakeESSource::setIntervalFor(), SiStripHashedDetIdFakeESSource::setIntervalFor(), XMLIdealGeometryESSource::setIntervalFor(), QGLikelihoodESProducer::setIntervalFor(), QGLikelihoodSystematicsESProducer::setIntervalFor(), SiStripGainESSource::setIntervalFor(), RPCPerformanceESSource::setIntervalFor(), SiStripPedestalsESSource::setIntervalFor(), SiStripNoiseESSource::setIntervalFor(), CSCFakeNoiseMatrixConditions::setIntervalFor(), PhysicsTools::MVAComputerESSourceImpl< RecordType >::setIntervalFor(), CSCGainsConditions::setIntervalFor(), CSCCrosstalkConditions::setIntervalFor(), CSCPedestalsDBConditions::setIntervalFor(), CSCFakeDBGains::setIntervalFor(), SiStripTemplateEmptyFakeESSource< TObject, TRecord >::setIntervalFor(), CastorHardcodeCalibrations::setIntervalFor(), CSCNoiseMatrixConditions::setIntervalFor(), CSCNoiseMatrixDBConditions::setIntervalFor(), CSCCrosstalkDBConditions::setIntervalFor(), BeamSpotFakeConditions::setIntervalFor(), CSCFakeDBCrosstalk::setIntervalFor(), CSCFakeDBNoiseMatrix::setIntervalFor(), CSCFakeDBPedestals::setIntervalFor(), SiStripTemplateDepFakeESSource< TObject, TRecord, TService, DepTRecord, DepTObj >::setIntervalFor(), CSCBadChambersConditions::setIntervalFor(), SiStripTemplateFakeESSource< TObject, TRecord, TService >::setIntervalFor(), CSCBadStripsConditions::setIntervalFor(), CSCGainsDBConditions::setIntervalFor(), CSCGasGainCorrectionDBConditions::setIntervalFor(), CSCL1TPParametersConditions::setIntervalFor(), CSCChipSpeedCorrectionDBConditions::setIntervalFor(), CSCBadWiresConditions::setIntervalFor(), CSCChamberIndexValues::setIntervalFor(), CSCChamberMapValues::setIntervalFor(), CSCCrateMapValues::setIntervalFor(), CSCDDUMapValues::setIntervalFor(), CSCFakeCrosstalkConditions::setIntervalFor(), CSCChamberTimeCorrectionsValues::setIntervalFor(), SiStripQualityFakeESSource::setIntervalFor(), CSCFakeGainsConditions::setIntervalFor(), CSCFakePedestalsConditions::setIntervalFor(), CastorTextCalibrations::setIntervalFor(), HiTrivialConditionRetriever::setIntervalFor(), HcalOmdsCalibrations::setIntervalFor(), HepPDTESSource::setIntervalFor(), edm::eventsetup::IntersectingIOVRecordIntervalFinder::setIntervalFor(), DTFakeT0ESProducer::setIntervalFor(), SiPixelFakeGainForHLTESSource::setIntervalFor(), edm::ESProducerLooper::setIntervalFor(), SiPixelFakeGainESSource::setIntervalFor(), SiPixelFakeGainOfflineESSource::setIntervalFor(), SiPixelFakeLorentzAngleESSource::setIntervalFor(), SiPixelFakeQualityESSource::setIntervalFor(), ElectronLikelihoodESSource::setIntervalFor(), HcalTextCalibrations::setIntervalFor(), SiPixelQualityESProducer::setIntervalFor(), edm::eventsetup::DependentRecordIntervalFinder::setIntervalFor(), HcalHardcodeCalibrations::setIntervalFor(), CaloMiscalibTools::setIntervalFor(), CaloMiscalibToolsMC::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(), PCLTrackerAlProducer::applyDB(), cond::fromIOVSyncValue(), cond::time::fromIOVSyncValue(), cond::limitedIOVSyncValue(), cond::time::limitedIOVSyncValue(), edm::eventsetup::no_record_exception_message_builder(), 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(), edm::eventsetup::no_record_exception_message_builder(), 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 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::eventsetup::no_record_exception_message_builder(), 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.