#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 AlignmentProducerBase::applyDB(), comparable(), Phase2TrackerCablingCfgESSource::setIntervalFor(), SiPixelFakeCPEGenericErrorParmESSource::setIntervalFor(), SiPixelFakeGenErrorDBObjectESSource::setIntervalFor(), SiPixelFakeTemplateDBObjectESSource::setIntervalFor(), QGLikelihoodESProducer::setIntervalFor(), QGLikelihoodSystematicsESProducer::setIntervalFor(), XMLIdealGeometryESSource::setIntervalFor(), SiStripHashedDetIdFakeESSource::setIntervalFor(), SiStripFedCablingFakeESSource::setIntervalFor(), SiStripGainESSource::setIntervalFor(), RPCPerformanceESSource::setIntervalFor(), SiStripApvGainFakeESSource::setIntervalFor(), SiStripBackPlaneCorrectioNFakeESSource::setIntervalFor(), SiStripBaseDelayFakeESSource::setIntervalFor(), SiStripConfObjectFakeESSource::setIntervalFor(), SiStripLatencyFakeESSource::setIntervalFor(), SiStripPedestalsFakeESSource::setIntervalFor(), SiStripNoiseESSource::setIntervalFor(), SiStripThresholdFakeESSource::setIntervalFor(), SiStripPedestalsESSource::setIntervalFor(), HBHEDarkeningEP::setIntervalFor(), CSCFakeDBGains::setIntervalFor(), SiStripBadModuleConfigurableFakeESSource::setIntervalFor(), CSCFakeNoiseMatrixConditions::setIntervalFor(), PhysicsTools::MVAComputerESSourceImpl< RecordType >::setIntervalFor(), BeamSpotFakeConditions::setIntervalFor(), CSCGainsConditions::setIntervalFor(), SiStripTemplateEmptyFakeESSource< TObject, TRecord >::setIntervalFor(), CSCPedestalsDBConditions::setIntervalFor(), CastorHardcodeCalibrations::setIntervalFor(), CSCCrosstalkConditions::setIntervalFor(), CSCFakeDBCrosstalk::setIntervalFor(), CSCFakeDBNoiseMatrix::setIntervalFor(), CSCFakeDBPedestals::setIntervalFor(), CSCNoiseMatrixConditions::setIntervalFor(), CSCNoiseMatrixDBConditions::setIntervalFor(), CSCGainsDBConditions::setIntervalFor(), CSCCrosstalkDBConditions::setIntervalFor(), CSCBadStripsConditions::setIntervalFor(), CSCBadChambersConditions::setIntervalFor(), SiStripNoisesFakeESSource::setIntervalFor(), CSCGasGainCorrectionDBConditions::setIntervalFor(), CSCL1TPParametersConditions::setIntervalFor(), CSCChipSpeedCorrectionDBConditions::setIntervalFor(), CSCBadWiresConditions::setIntervalFor(), CSCChamberMapValues::setIntervalFor(), CSCCrateMapValues::setIntervalFor(), CSCDDUMapValues::setIntervalFor(), CSCFakeCrosstalkConditions::setIntervalFor(), SiStripQualityFakeESSource::setIntervalFor(), CSCChamberIndexValues::setIntervalFor(), CSCFakePedestalsConditions::setIntervalFor(), CSCChamberTimeCorrectionsValues::setIntervalFor(), CSCFakeGainsConditions::setIntervalFor(), CastorTextCalibrations::setIntervalFor(), HiTrivialConditionRetriever::setIntervalFor(), SiStripLorentzAngleFakeESSource::setIntervalFor(), HepPDTESSource::setIntervalFor(), DTFakeT0ESProducer::setIntervalFor(), edm::eventsetup::IntersectingIOVRecordIntervalFinder::setIntervalFor(), SiPixelFakeGainForHLTESSource::setIntervalFor(), SiPixelFakeGainOfflineESSource::setIntervalFor(), SiPixelFakeGainESSource::setIntervalFor(), edm::ESProducerLooper::setIntervalFor(), SiStripBadModuleFedErrESSource::setIntervalFor(), SiPixelFakeQualityESSource::setIntervalFor(), SiPixelFakeLorentzAngleESSource::setIntervalFor(), ElectronLikelihoodESSource::setIntervalFor(), SiPixelQualityESProducer::setIntervalFor(), edm::eventsetup::DependentRecordIntervalFinder::setIntervalFor(), CaloMiscalibTools::setIntervalFor(), CaloMiscalibToolsMC::setIntervalFor(), HcalHardcodeCalibrations::setIntervalFor(), ESTrivialConditionRetriever::setIntervalFor(), JetCorrectionESSource< Corrector >::setIntervalFor(), SiStripFedCablingBuilderFromDb::setIntervalFor(), HcalTextCalibrations::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 beginOfTime(), endOfTime(), haveID_, haveTime_, invalidIOVSyncValue(), and throwInvalidComparison().
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(), AlignmentProducerBase::applyDB(), comparable(), Phase2TrackerCablingCfgESSource::setIntervalFor(), edm::EmptyESSource::setIntervalFor(), SiPixelFakeCPEGenericErrorParmESSource::setIntervalFor(), SiPixelFakeGenErrorDBObjectESSource::setIntervalFor(), SiPixelFakeTemplateDBObjectESSource::setIntervalFor(), QGLikelihoodESProducer::setIntervalFor(), QGLikelihoodSystematicsESProducer::setIntervalFor(), XMLIdealGeometryESSource::setIntervalFor(), SiStripHashedDetIdFakeESSource::setIntervalFor(), SiStripFedCablingFakeESSource::setIntervalFor(), SiStripGainESSource::setIntervalFor(), RPCPerformanceESSource::setIntervalFor(), SiStripApvGainFakeESSource::setIntervalFor(), SiStripBackPlaneCorrectioNFakeESSource::setIntervalFor(), SiStripBaseDelayFakeESSource::setIntervalFor(), SiStripConfObjectFakeESSource::setIntervalFor(), SiStripLatencyFakeESSource::setIntervalFor(), SiStripPedestalsFakeESSource::setIntervalFor(), SiStripNoiseESSource::setIntervalFor(), SiStripThresholdFakeESSource::setIntervalFor(), SiStripPedestalsESSource::setIntervalFor(), HBHEDarkeningEP::setIntervalFor(), CSCFakeDBGains::setIntervalFor(), SiStripBadModuleConfigurableFakeESSource::setIntervalFor(), CSCFakeNoiseMatrixConditions::setIntervalFor(), PhysicsTools::MVAComputerESSourceImpl< RecordType >::setIntervalFor(), BeamSpotFakeConditions::setIntervalFor(), CSCGainsConditions::setIntervalFor(), SiStripTemplateEmptyFakeESSource< TObject, TRecord >::setIntervalFor(), CSCPedestalsDBConditions::setIntervalFor(), CastorHardcodeCalibrations::setIntervalFor(), CSCCrosstalkConditions::setIntervalFor(), CSCFakeDBCrosstalk::setIntervalFor(), CSCFakeDBNoiseMatrix::setIntervalFor(), CSCFakeDBPedestals::setIntervalFor(), CSCNoiseMatrixConditions::setIntervalFor(), CSCNoiseMatrixDBConditions::setIntervalFor(), CSCCrosstalkDBConditions::setIntervalFor(), CSCBadStripsConditions::setIntervalFor(), CSCBadChambersConditions::setIntervalFor(), SiStripNoisesFakeESSource::setIntervalFor(), CSCGasGainCorrectionDBConditions::setIntervalFor(), CSCL1TPParametersConditions::setIntervalFor(), CSCGainsDBConditions::setIntervalFor(), CSCChipSpeedCorrectionDBConditions::setIntervalFor(), CSCBadWiresConditions::setIntervalFor(), CSCDDUMapValues::setIntervalFor(), SiStripQualityFakeESSource::setIntervalFor(), CSCChamberIndexValues::setIntervalFor(), CSCChamberMapValues::setIntervalFor(), CSCCrateMapValues::setIntervalFor(), CSCFakeCrosstalkConditions::setIntervalFor(), CSCFakeGainsConditions::setIntervalFor(), CSCFakePedestalsConditions::setIntervalFor(), CSCChamberTimeCorrectionsValues::setIntervalFor(), CastorTextCalibrations::setIntervalFor(), SiStripLorentzAngleFakeESSource::setIntervalFor(), HiTrivialConditionRetriever::setIntervalFor(), HepPDTESSource::setIntervalFor(), DTFakeT0ESProducer::setIntervalFor(), CTPPSIncludeAlignments::setIntervalFor(), edm::eventsetup::IntersectingIOVRecordIntervalFinder::setIntervalFor(), SiPixelFakeGainOfflineESSource::setIntervalFor(), SiPixelFakeGainForHLTESSource::setIntervalFor(), SiPixelFakeGainESSource::setIntervalFor(), SiStripBadModuleFedErrESSource::setIntervalFor(), SiPixelFakeQualityESSource::setIntervalFor(), SiPixelFakeLorentzAngleESSource::setIntervalFor(), edm::ESProducerLooper::setIntervalFor(), ElectronLikelihoodESSource::setIntervalFor(), SiPixelQualityESProducer::setIntervalFor(), edm::eventsetup::DependentRecordIntervalFinder::setIntervalFor(), CaloMiscalibToolsMC::setIntervalFor(), CaloMiscalibTools::setIntervalFor(), HcalHardcodeCalibrations::setIntervalFor(), ESTrivialConditionRetriever::setIntervalFor(), SiStripFedCablingBuilderFromDb::setIntervalFor(), JetCorrectionESSource< Corrector >::setIntervalFor(), HcalTextCalibrations::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(), AlignmentProducerBase::applyDB(), MillePedeAlignmentAlgorithm::beginRun(), edm::eventsetup::EventSetupRecord::get< fwliteeswriter::Handle >(), cond::time::fromIOVSyncValue(), HIPAlignmentAlgorithm::initialize(), cond::time::limitedIOVSyncValue(), edm::eventsetup::no_record_exception_message_builder(), edm::PrintEventSetupContent::print(), DIPLumiProducer::produceDetail(), LumiCorrectionSource::produceLumiCorrectionParam(), DIPLumiProducer::produceSummary(), DTConfigDBProducer::readDTCCBConfig(), CastorHardcodeCalibrations::setIntervalFor(), CondDBESSource::setIntervalFor(), CTPPSIncludeAlignments::setIntervalFor(), edm::eventsetup::DependentRecordIntervalFinder::setIntervalFor(), HcalHardcodeCalibrations::setIntervalFor(), FWLiteESSource::setIntervalFor(), CTPPSPixelDAQMappingESSourceXML::setIntervalFor(), TotemDAQMappingESSourceXML::setIntervalFor(), and edm::eventsetup::EventSetupRecordProvider::setValidityIntervalFor().
|
static |
Definition at line 92 of file IOVSyncValue.cc.
Referenced by comparable(), edmtest::HcalDumpConditions::dumpIt(), cond::time::limitedIOVSyncValue(), edm::eventsetup::IntersectingIOVRecordIntervalFinder::setIntervalFor(), edm::eventsetup::DependentRecordIntervalFinder::setIntervalFor(), edm::eventsetup::EventSetupRecordProvider::setValidityIntervalFor(), and cond::time::toIOVSyncValue().
|
inline |
Definition at line 43 of file IOVSyncValue.h.
References eventID_, and edm::EventID::luminosityBlock().
Referenced by doOp(), cond::time::fromIOVSyncValue(), 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 comparable(), and doOp().
|
inline |
Definition at line 44 of file IOVSyncValue.h.
References time_.
Referenced by BTagPerformaceRootProducerFromSQLITE::analyze(), edm::eventsetup::EventSetupRecord::get< fwliteeswriter::Handle >(), cond::time::fromIOVSyncValue(), edm::eventsetup::no_record_exception_message_builder(), edm::PrintEventSetupContent::print(), CastorHardcodeCalibrations::setIntervalFor(), HiTrivialConditionRetriever::setIntervalFor(), CTPPSIncludeAlignments::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.