#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(), 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(), DTFakeTTrigESProducer::setIntervalFor(), DTFakeVDriftESProducer::setIntervalFor(), CSCFakeDBCrosstalk::setIntervalFor(), CSCFakeDBNoiseMatrix::setIntervalFor(), CSCFakeDBPedestals::setIntervalFor(), BeamSpotFakeConditions::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(), CSCFakeGainsConditions::setIntervalFor(), SiStripQualityFakeESSource::setIntervalFor(), CSCFakePedestalsConditions::setIntervalFor(), CastorTextCalibrations::setIntervalFor(), HcalOmdsCalibrations::setIntervalFor(), HepPDTESSource::setIntervalFor(), edm::eventsetup::IntersectingIOVRecordIntervalFinder::setIntervalFor(), DTFakeT0ESProducer::setIntervalFor(), edm::ESProducerLooper::setIntervalFor(), SiPixelFakeGainOfflineESSource::setIntervalFor(), SiPixelFakeGainForHLTESSource::setIntervalFor(), SiPixelFakeGainESSource::setIntervalFor(), SiPixelFakeLorentzAngleESSource::setIntervalFor(), CaloTPGTranscoderULUTs::setIntervalFor(), SiPixelFakeQualityESSource::setIntervalFor(), HcalTextCalibrations::setIntervalFor(), ElectronLikelihoodESSource::setIntervalFor(), SiPixelQualityESProducer::setIntervalFor(), HiTrivialConditionRetriever::setIntervalFor(), HcalHardcodeCalibrations::setIntervalFor(), edm::eventsetup::DependentRecordIntervalFinder::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(), edm::EmptyESSource::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(), DTFakeTTrigESProducer::setIntervalFor(), CSCFakeDBCrosstalk::setIntervalFor(), CSCFakeDBNoiseMatrix::setIntervalFor(), DTFakeVDriftESProducer::setIntervalFor(), CSCFakeDBPedestals::setIntervalFor(), CSCBadChambersConditions::setIntervalFor(), CSCBadWiresConditions::setIntervalFor(), SiStripTemplateFakeESSource< TObject, TRecord, TService >::setIntervalFor(), CSCBadStripsConditions::setIntervalFor(), CSCGainsDBConditions::setIntervalFor(), CSCGasGainCorrectionDBConditions::setIntervalFor(), CSCL1TPParametersConditions::setIntervalFor(), CSCChipSpeedCorrectionDBConditions::setIntervalFor(), BeamSpotFakeConditions::setIntervalFor(), CSCChamberIndexValues::setIntervalFor(), CSCChamberMapValues::setIntervalFor(), CSCCrateMapValues::setIntervalFor(), CSCDDUMapValues::setIntervalFor(), CSCFakeCrosstalkConditions::setIntervalFor(), CSCFakeGainsConditions::setIntervalFor(), SiStripQualityFakeESSource::setIntervalFor(), CSCFakePedestalsConditions::setIntervalFor(), CSCChamberTimeCorrectionsValues::setIntervalFor(), CastorTextCalibrations::setIntervalFor(), HcalOmdsCalibrations::setIntervalFor(), HepPDTESSource::setIntervalFor(), edm::eventsetup::IntersectingIOVRecordIntervalFinder::setIntervalFor(), DTFakeT0ESProducer::setIntervalFor(), SiPixelFakeGainESSource::setIntervalFor(), edm::ESProducerLooper::setIntervalFor(), SiPixelFakeGainOfflineESSource::setIntervalFor(), SiPixelFakeGainForHLTESSource::setIntervalFor(), SiPixelFakeLorentzAngleESSource::setIntervalFor(), CaloTPGTranscoderULUTs::setIntervalFor(), SiPixelFakeQualityESSource::setIntervalFor(), ElectronLikelihoodESSource::setIntervalFor(), HcalTextCalibrations::setIntervalFor(), SiPixelQualityESProducer::setIntervalFor(), HiTrivialConditionRetriever::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(), CondDBESSource::setIntervalFor(), HiTrivialConditionRetriever::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.