#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 32 of file IOVSyncValue.cc.
|
explicit |
Definition at line 34 of file IOVSyncValue.cc.
|
explicit |
Definition at line 36 of file IOVSyncValue.cc.
Definition at line 38 of file IOVSyncValue.cc.
|
static |
Definition at line 88 of file IOVSyncValue.cc.
References edm::Timestamp::beginOfTime().
Referenced by AlignmentProducerBase::applyDB(), comparable(), CTPPSRPAlignmentCorrectionsMethods::iovValueToString(), CTPPSRPAlignmentCorrectionsMethods::loadFromXML(), SiStripApvSimulationParametersESSource::setIntervalFor(), Phase2TrackerCablingCfgESSource::setIntervalFor(), SiPixelFakeCPEGenericErrorParmESSource::setIntervalFor(), SiPixelFakeGenErrorDBObjectESSource::setIntervalFor(), SiPixelFakeTemplateDBObjectESSource::setIntervalFor(), QGLikelihoodESProducer::setIntervalFor(), QGLikelihoodSystematicsESProducer::setIntervalFor(), CTPPSLHCInfoESSource::setIntervalFor(), XMLIdealGeometryESSource::setIntervalFor(), SiStripFedCablingFakeESSource::setIntervalFor(), SiStripHashedDetIdFakeESSource::setIntervalFor(), RPCPerformanceESSource::setIntervalFor(), SiStripGainESSource::setIntervalFor(), SiStripNoiseESSource::setIntervalFor(), SiStripPedestalsESSource::setIntervalFor(), SiStripApvGainFakeESSource::setIntervalFor(), SiStripBackPlaneCorrectionFakeESSource::setIntervalFor(), SiStripConfObjectFakeESSource::setIntervalFor(), CSCFakeNoiseMatrixConditions::setIntervalFor(), SiStripBaseDelayFakeESSource::setIntervalFor(), SiStripPedestalsFakeESSource::setIntervalFor(), SiStripLatencyFakeESSource::setIntervalFor(), SiStripThresholdFakeESSource::setIntervalFor(), HBHEDarkeningEP::setIntervalFor(), CastorHardcodeCalibrations::setIntervalFor(), CSCFakeDBGains::setIntervalFor(), HcalTimeSlewEP::setIntervalFor(), SiStripBadModuleConfigurableFakeESSource::setIntervalFor(), CSCCrosstalkConditions::setIntervalFor(), PhysicsTools::MVAComputerESSourceImpl< RecordType >::setIntervalFor(), BeamSpotFakeConditions::setIntervalFor(), CSCGainsConditions::setIntervalFor(), CSCNoiseMatrixConditions::setIntervalFor(), SiStripTemplateEmptyFakeESSource< TObject, TRecord >::setIntervalFor(), CSCNoiseMatrixDBConditions::setIntervalFor(), CSCPedestalsDBConditions::setIntervalFor(), CSCCrosstalkDBConditions::setIntervalFor(), CSCFakeDBCrosstalk::setIntervalFor(), CSCFakeDBNoiseMatrix::setIntervalFor(), CSCFakeDBPedestals::setIntervalFor(), CSCBadChambersConditions::setIntervalFor(), CSCL1TPParametersConditions::setIntervalFor(), CSCGainsDBConditions::setIntervalFor(), CSCBadStripsConditions::setIntervalFor(), CSCBadWiresConditions::setIntervalFor(), CSCGasGainCorrectionDBConditions::setIntervalFor(), SiStripNoisesFakeESSource::setIntervalFor(), CSCChamberIndexValues::setIntervalFor(), CSCChamberMapValues::setIntervalFor(), CSCCrateMapValues::setIntervalFor(), CSCDDUMapValues::setIntervalFor(), SiStripQualityFakeESSource::setIntervalFor(), CSCChipSpeedCorrectionDBConditions::setIntervalFor(), CSCChamberTimeCorrectionsValues::setIntervalFor(), CSCFakeCrosstalkConditions::setIntervalFor(), CSCFakeGainsConditions::setIntervalFor(), CSCFakePedestalsConditions::setIntervalFor(), HiTrivialConditionRetriever::setIntervalFor(), SiStripLorentzAngleFakeESSource::setIntervalFor(), CastorTextCalibrations::setIntervalFor(), HepPDTESSource::setIntervalFor(), DTFakeT0ESProducer::setIntervalFor(), edm::eventsetup::IntersectingIOVRecordIntervalFinder::setIntervalFor(), edm::ESProducerLooper::setIntervalFor(), SiPixelFakeGainForHLTESSource::setIntervalFor(), SiPixelFakeGainOfflineESSource::setIntervalFor(), SiPixelFakeGainESSource::setIntervalFor(), SiPixelFakeQualityESSource::setIntervalFor(), SiStripBadModuleFedErrESSource::setIntervalFor(), SiPixelFakeLorentzAngleESSource::setIntervalFor(), ElectronLikelihoodESSource::setIntervalFor(), SiPixelQualityESProducer::setIntervalFor(), PPSTimingCalibrationESSource::setIntervalFor(), edm::eventsetup::DependentRecordIntervalFinder::setIntervalFor(), CaloMiscalibTools::setIntervalFor(), CaloMiscalibToolsMC::setIntervalFor(), HcalHardcodeCalibrations::setIntervalFor(), ESTrivialConditionRetriever::setIntervalFor(), CTPPSBeamParametersESSource::setIntervalFor(), FakeAlignmentSource::setIntervalFor(), JetCorrectionESSource< Corrector >::setIntervalFor(), SiStripFedCablingBuilderFromDb::setIntervalFor(), HcalTextCalibrations::setIntervalFor(), EcalTrivialConditionRetriever::setIntervalFor(), CTPPSRPAlignmentCorrectionsMethods::stringToIOVValue(), and CTPPSRPAlignmentCorrectionsMethods::writeToXML().
|
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 55 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 72 of file IOVSyncValue.h.
References eventID_, haveID_, haveTime_, luminosityBlockNumber(), edm::EventID::run(), throwInvalidComparison(), and time_.
|
static |
Definition at line 82 of file IOVSyncValue.cc.
References edm::Timestamp::endOfTime(), edm::EventID::maxEventNumber(), and edm::LuminosityBlockID::maxLuminosityBlockNumber().
Referenced by EcalTestDevDB::analyze(), AlignmentProducerBase::applyDB(), comparable(), CTPPSRPAlignmentCorrectionsMethods::iovValueToString(), CTPPSRPAlignmentCorrectionsMethods::loadFromXML(), SiStripApvSimulationParametersESSource::setIntervalFor(), Phase2TrackerCablingCfgESSource::setIntervalFor(), edm::EmptyESSource::setIntervalFor(), SiPixelFakeCPEGenericErrorParmESSource::setIntervalFor(), SiPixelFakeGenErrorDBObjectESSource::setIntervalFor(), SiPixelFakeTemplateDBObjectESSource::setIntervalFor(), QGLikelihoodESProducer::setIntervalFor(), QGLikelihoodSystematicsESProducer::setIntervalFor(), XMLIdealGeometryESSource::setIntervalFor(), CTPPSLHCInfoESSource::setIntervalFor(), SiStripFedCablingFakeESSource::setIntervalFor(), SiStripHashedDetIdFakeESSource::setIntervalFor(), RPCPerformanceESSource::setIntervalFor(), SiStripGainESSource::setIntervalFor(), SiStripNoiseESSource::setIntervalFor(), SiStripPedestalsESSource::setIntervalFor(), SiStripApvGainFakeESSource::setIntervalFor(), SiStripBackPlaneCorrectionFakeESSource::setIntervalFor(), CSCFakeNoiseMatrixConditions::setIntervalFor(), SiStripBaseDelayFakeESSource::setIntervalFor(), SiStripConfObjectFakeESSource::setIntervalFor(), SiStripLatencyFakeESSource::setIntervalFor(), SiStripPedestalsFakeESSource::setIntervalFor(), SiStripThresholdFakeESSource::setIntervalFor(), HBHEDarkeningEP::setIntervalFor(), CastorHardcodeCalibrations::setIntervalFor(), CSCFakeDBGains::setIntervalFor(), HcalTimeSlewEP::setIntervalFor(), SiStripBadModuleConfigurableFakeESSource::setIntervalFor(), CSCCrosstalkConditions::setIntervalFor(), PhysicsTools::MVAComputerESSourceImpl< RecordType >::setIntervalFor(), BeamSpotFakeConditions::setIntervalFor(), CSCGainsConditions::setIntervalFor(), CSCNoiseMatrixConditions::setIntervalFor(), SiStripTemplateEmptyFakeESSource< TObject, TRecord >::setIntervalFor(), CSCNoiseMatrixDBConditions::setIntervalFor(), CSCPedestalsDBConditions::setIntervalFor(), CSCCrosstalkDBConditions::setIntervalFor(), CSCL1TPParametersConditions::setIntervalFor(), CSCFakeDBCrosstalk::setIntervalFor(), CSCFakeDBNoiseMatrix::setIntervalFor(), CSCFakeDBPedestals::setIntervalFor(), CSCBadChambersConditions::setIntervalFor(), CSCGainsDBConditions::setIntervalFor(), CSCBadStripsConditions::setIntervalFor(), CSCBadWiresConditions::setIntervalFor(), SiStripNoisesFakeESSource::setIntervalFor(), CSCGasGainCorrectionDBConditions::setIntervalFor(), CSCChamberIndexValues::setIntervalFor(), CSCChamberMapValues::setIntervalFor(), CSCCrateMapValues::setIntervalFor(), SiStripQualityFakeESSource::setIntervalFor(), CSCDDUMapValues::setIntervalFor(), CSCChipSpeedCorrectionDBConditions::setIntervalFor(), CSCFakeCrosstalkConditions::setIntervalFor(), CSCChamberTimeCorrectionsValues::setIntervalFor(), CSCFakeGainsConditions::setIntervalFor(), CSCFakePedestalsConditions::setIntervalFor(), HiTrivialConditionRetriever::setIntervalFor(), SiStripLorentzAngleFakeESSource::setIntervalFor(), CastorTextCalibrations::setIntervalFor(), HepPDTESSource::setIntervalFor(), DTFakeT0ESProducer::setIntervalFor(), edm::eventsetup::IntersectingIOVRecordIntervalFinder::setIntervalFor(), edm::ESProducerLooper::setIntervalFor(), SiPixelFakeGainForHLTESSource::setIntervalFor(), SiPixelFakeGainESSource::setIntervalFor(), SiPixelFakeGainOfflineESSource::setIntervalFor(), SiPixelFakeLorentzAngleESSource::setIntervalFor(), SiPixelFakeQualityESSource::setIntervalFor(), SiStripBadModuleFedErrESSource::setIntervalFor(), ElectronLikelihoodESSource::setIntervalFor(), SiPixelQualityESProducer::setIntervalFor(), PPSTimingCalibrationESSource::setIntervalFor(), edm::eventsetup::DependentRecordIntervalFinder::setIntervalFor(), CTPPSRPAlignmentCorrectionsDataESSourceXML::setIntervalFor(), CaloMiscalibTools::setIntervalFor(), CaloMiscalibToolsMC::setIntervalFor(), HcalHardcodeCalibrations::setIntervalFor(), ESTrivialConditionRetriever::setIntervalFor(), CTPPSBeamParametersESSource::setIntervalFor(), FakeAlignmentSource::setIntervalFor(), JetCorrectionESSource< Corrector >::setIntervalFor(), SiStripFedCablingBuilderFromDb::setIntervalFor(), HcalTextCalibrations::setIntervalFor(), FWLiteESSource::setIntervalFor(), EcalTrivialConditionRetriever::setIntervalFor(), CTPPSRPAlignmentCorrectionsMethods::stringToIOVValue(), and CTPPSRPAlignmentCorrectionsMethods::writeToXML().
|
inline |
Definition at line 40 of file IOVSyncValue.h.
References eventID_.
Referenced by EcalTestDevDB::analyze(), BTagPerformaceRootProducerFromSQLITE::analyze(), AlignmentProducerBase::applyDB(), MillePedeAlignmentAlgorithm::beginRun(), edm::eventsetup::EventSetupRecord::get< fwliteeswriter::Handle >(), cond::time::fromIOVSyncValue(), HIPAlignmentAlgorithm::initialize(), CTPPSRPAlignmentCorrectionsMethods::iovValueToString(), cond::time::limitedIOVSyncValue(), CTPPSRPAlignmentCorrectionsDataESSourceXML::Merge(), DIPLumiProducer::produceDetail(), LumiCorrectionSource::produceLumiCorrectionParam(), DIPLumiProducer::produceSummary(), DTConfigDBProducer::readDTCCBConfig(), CTPPSLHCInfoESSource::setIntervalFor(), CTPPSOpticalFunctionsESSource::setIntervalFor(), CastorHardcodeCalibrations::setIntervalFor(), CTPPSLHCInfoRandomXangleESSource::setIntervalFor(), CondDBESSource::setIntervalFor(), edm::test::EventSetupTestHelper::setIntervalFor(), edm::eventsetup::DependentRecordIntervalFinder::setIntervalFor(), CTPPSRPAlignmentCorrectionsDataESSourceXML::setIntervalFor(), HcalHardcodeCalibrations::setIntervalFor(), CTPPSBeamParametersESSource::setIntervalFor(), FWLiteESSource::setIntervalFor(), CTPPSPixelDAQMappingESSourceXML::setIntervalFor(), TotemDAQMappingESSourceXML::setIntervalFor(), and edm::eventsetup::EventSetupRecordProvider::setValidityIntervalFor().
|
static |
Definition at line 78 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 41 of file IOVSyncValue.h.
References eventID_, and edm::EventID::luminosityBlock().
Referenced by doOp(), cond::time::fromIOVSyncValue(), cond::time::limitedIOVSyncValue(), DIPLumiProducer::produceDetail(), DIPLumiProducer::produceSummary(), CondDBESSource::setIntervalFor(), and edm::test::EventSetupTestHelper::setIntervalFor().
|
inline |
Definition at line 45 of file IOVSyncValue.h.
References comparable().
|
inline |
Definition at line 47 of file IOVSyncValue.h.
|
inline |
Definition at line 48 of file IOVSyncValue.h.
|
inline |
Definition at line 44 of file IOVSyncValue.h.
References comparable().
|
inline |
Definition at line 49 of file IOVSyncValue.h.
|
inline |
Definition at line 50 of file IOVSyncValue.h.
|
private |
Definition at line 69 of file IOVSyncValue.cc.
References Exception.
Referenced by comparable(), and doOp().
|
inline |
Definition at line 42 of file IOVSyncValue.h.
References time_.
Referenced by BTagPerformaceRootProducerFromSQLITE::analyze(), edm::eventsetup::EventSetupRecord::get< fwliteeswriter::Handle >(), cond::time::fromIOVSyncValue(), CastorHardcodeCalibrations::setIntervalFor(), HiTrivialConditionRetriever::setIntervalFor(), CondDBESSource::setIntervalFor(), edm::eventsetup::DependentRecordIntervalFinder::setIntervalFor(), CTPPSRPAlignmentCorrectionsDataESSourceXML::setIntervalFor(), HcalHardcodeCalibrations::setIntervalFor(), ESTrivialConditionRetriever::setIntervalFor(), FWLiteESSource::setIntervalFor(), and EcalTrivialConditionRetriever::setIntervalFor().
|
private |
Definition at line 100 of file IOVSyncValue.h.
Referenced by doOp(), eventID(), and luminosityBlockNumber().
|
private |
Definition at line 102 of file IOVSyncValue.h.
Referenced by comparable(), and doOp().
|
private |
Definition at line 103 of file IOVSyncValue.h.
Referenced by comparable(), and doOp().
|
private |
Definition at line 101 of file IOVSyncValue.h.