#include <IOVSyncValue.h>
Public Member Functions | |
bool | comparable (const IOVSyncValue &iOther) const |
const EventID & | eventID () const |
IOVSyncValue () | |
IOVSyncValue (const EventID &iID) | |
IOVSyncValue (const EventID &iID, const Timestamp &iTime) | |
IOVSyncValue (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 | ( | ) |
|
explicit |
|
explicit |
|
static |
Definition at line 88 of file IOVSyncValue.cc.
References edm::Timestamp::beginOfTime().
Referenced by AlignmentProducerBase::applyDB(), CTPPSRPAlignmentCorrectionsMethods::iovValueToString(), CTPPSRPAlignmentCorrectionsMethods::loadFromXML(), SiStripApvSimulationParametersESSource::setIntervalFor(), Phase2TrackerCablingCfgESSource::setIntervalFor(), SiPixelFakeCPEGenericErrorParmESSource::setIntervalFor(), SiPixelFakeGenErrorDBObjectESSource::setIntervalFor(), SiPixelFakeTemplateDBObjectESSource::setIntervalFor(), SiStripFedCablingFakeESSource::setIntervalFor(), SiStripGainESSource::setIntervalFor(), SiStripNoiseESSource::setIntervalFor(), SiStripPedestalsESSource::setIntervalFor(), XMLIdealGeometryESSource::setIntervalFor(), CTPPSLHCInfoESSource::setIntervalFor(), RPCPerformanceESSource::setIntervalFor(), PhysicsTools::MVAComputerESSourceImpl< RecordType >::setIntervalFor(), EcalMultifitParametersGPUESProducer::setIntervalFor(), EcalRecHitParametersGPUESProducer::setIntervalFor(), SiStripTemplateEmptyFakeESSource< TObject, TRecord >::setIntervalFor(), HcalMahiPulseOffsetsGPUESProducer::setIntervalFor(), HBHEDarkeningEP::setIntervalFor(), HcalTimeSlewEP::setIntervalFor(), CSCFakeNoiseMatrixConditions::setIntervalFor(), SiStripConfObjectFakeESSource::setIntervalFor(), SiStripQualityFakeESSource::setIntervalFor(), CastorHardcodeCalibrations::setIntervalFor(), CSCFakeDBGains::setIntervalFor(), CSCCrosstalkConditions::setIntervalFor(), CSCGainsConditions::setIntervalFor(), SiStripApvGainFakeESSource::setIntervalFor(), CSCNoiseMatrixConditions::setIntervalFor(), CSCBadStripsConditions::setIntervalFor(), CSCNoiseMatrixDBConditions::setIntervalFor(), SiStripThresholdFakeESSource::setIntervalFor(), CSCPedestalsDBConditions::setIntervalFor(), CSCCrosstalkDBConditions::setIntervalFor(), BeamSpotFakeConditions::setIntervalFor(), CSCFakeDBCrosstalk::setIntervalFor(), CSCFakeDBNoiseMatrix::setIntervalFor(), CSCFakeDBPedestals::setIntervalFor(), CSCBadChambersConditions::setIntervalFor(), SiStripBackPlaneCorrectionFakeESSource::setIntervalFor(), SiStripBaseDelayFakeESSource::setIntervalFor(), CSCGainsDBConditions::setIntervalFor(), SiStripLatencyFakeESSource::setIntervalFor(), CSCL1TPParametersConditions::setIntervalFor(), SiStripPedestalsFakeESSource::setIntervalFor(), CSCBadWiresConditions::setIntervalFor(), SiStripBadModuleConfigurableFakeESSource::setIntervalFor(), CSCGasGainCorrectionDBConditions::setIntervalFor(), CSCDDUMapValues::setIntervalFor(), CSCChamberIndexValues::setIntervalFor(), CSCChamberMapValues::setIntervalFor(), CSCCrateMapValues::setIntervalFor(), CSCChamberTimeCorrectionsValues::setIntervalFor(), CSCChipSpeedCorrectionDBConditions::setIntervalFor(), SiStripNoisesFakeESSource::setIntervalFor(), CSCFakeCrosstalkConditions::setIntervalFor(), HiTrivialConditionRetriever::setIntervalFor(), CSCFakeGainsConditions::setIntervalFor(), CSCFakePedestalsConditions::setIntervalFor(), CastorTextCalibrations::setIntervalFor(), DTFakeT0ESProducer::setIntervalFor(), SiStripLorentzAngleFakeESSource::setIntervalFor(), edm::eventsetup::IntersectingIOVRecordIntervalFinder::setIntervalFor(), SiPixelFakeGainESSource::setIntervalFor(), HepPDTESSource::setIntervalFor(), SiPixelFakeGainForHLTESSource::setIntervalFor(), SiPixelFakeGainOfflineESSource::setIntervalFor(), edm::test::EventSetupTestHelper::setIntervalFor(), SiPixelFakeQualityESSource::setIntervalFor(), SiPixelFakeLorentzAngleESSource::setIntervalFor(), edm::ESProducerLooper::setIntervalFor(), SiPhase2OuterTrackerFakeLorentzAngleESSource::setIntervalFor(), DDCompactViewMFESProducer::setIntervalFor(), SiPixelQualityESProducer::setIntervalFor(), edm::eventsetup::DependentRecordIntervalFinder::setIntervalFor(), PPSTimingCalibrationESSource::setIntervalFor(), CaloMiscalibToolsMC::setIntervalFor(), CaloMiscalibTools::setIntervalFor(), PPSAlignmentConfigESSource::setIntervalFor(), ESTrivialConditionRetriever::setIntervalFor(), HcalHardcodeCalibrations::setIntervalFor(), SiStripFedCablingBuilderFromDb::setIntervalFor(), CTPPSBeamParametersESSource::setIntervalFor(), PPSPixelTopologyESSource::setIntervalFor(), JetCorrectionESSource< Corrector >::setIntervalFor(), FakeAlignmentSource::setIntervalFor(), HcalTextCalibrations::setIntervalFor(), CondDBESSource::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 haveID_, and haveTime_.
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(), CTPPSRPAlignmentCorrectionsMethods::iovValueToString(), CTPPSRPAlignmentCorrectionsMethods::loadFromXML(), SiStripApvSimulationParametersESSource::setIntervalFor(), Phase2TrackerCablingCfgESSource::setIntervalFor(), SiPixelFakeCPEGenericErrorParmESSource::setIntervalFor(), edm::EmptyESSource::setIntervalFor(), SiPixelFakeGenErrorDBObjectESSource::setIntervalFor(), SiPixelFakeTemplateDBObjectESSource::setIntervalFor(), SiStripFedCablingFakeESSource::setIntervalFor(), SiStripGainESSource::setIntervalFor(), SiStripNoiseESSource::setIntervalFor(), SiStripPedestalsESSource::setIntervalFor(), XMLIdealGeometryESSource::setIntervalFor(), CTPPSLHCInfoESSource::setIntervalFor(), RPCPerformanceESSource::setIntervalFor(), SiStripTemplateEmptyFakeESSource< TObject, TRecord >::setIntervalFor(), PhysicsTools::MVAComputerESSourceImpl< RecordType >::setIntervalFor(), EcalMultifitParametersGPUESProducer::setIntervalFor(), EcalRecHitParametersGPUESProducer::setIntervalFor(), HcalMahiPulseOffsetsGPUESProducer::setIntervalFor(), HBHEDarkeningEP::setIntervalFor(), CSCFakeNoiseMatrixConditions::setIntervalFor(), HcalTimeSlewEP::setIntervalFor(), SiStripConfObjectFakeESSource::setIntervalFor(), SiStripQualityFakeESSource::setIntervalFor(), CastorHardcodeCalibrations::setIntervalFor(), CSCFakeDBGains::setIntervalFor(), CSCCrosstalkConditions::setIntervalFor(), CSCGainsConditions::setIntervalFor(), SiStripApvGainFakeESSource::setIntervalFor(), CSCNoiseMatrixConditions::setIntervalFor(), CSCNoiseMatrixDBConditions::setIntervalFor(), CSCBadWiresConditions::setIntervalFor(), SiStripPedestalsFakeESSource::setIntervalFor(), SiStripThresholdFakeESSource::setIntervalFor(), CSCPedestalsDBConditions::setIntervalFor(), CSCFakeDBNoiseMatrix::setIntervalFor(), BeamSpotFakeConditions::setIntervalFor(), CSCCrosstalkDBConditions::setIntervalFor(), CSCFakeDBPedestals::setIntervalFor(), CSCFakeDBCrosstalk::setIntervalFor(), CSCBadChambersConditions::setIntervalFor(), SiStripBackPlaneCorrectionFakeESSource::setIntervalFor(), CSCGainsDBConditions::setIntervalFor(), SiStripBaseDelayFakeESSource::setIntervalFor(), SiStripLatencyFakeESSource::setIntervalFor(), CSCL1TPParametersConditions::setIntervalFor(), CSCBadStripsConditions::setIntervalFor(), CSCGasGainCorrectionDBConditions::setIntervalFor(), SiStripBadModuleConfigurableFakeESSource::setIntervalFor(), CSCChamberIndexValues::setIntervalFor(), CSCChamberMapValues::setIntervalFor(), CSCCrateMapValues::setIntervalFor(), CSCDDUMapValues::setIntervalFor(), CSCChamberTimeCorrectionsValues::setIntervalFor(), CSCChipSpeedCorrectionDBConditions::setIntervalFor(), CSCFakeCrosstalkConditions::setIntervalFor(), HiTrivialConditionRetriever::setIntervalFor(), SiStripNoisesFakeESSource::setIntervalFor(), CSCFakeGainsConditions::setIntervalFor(), CSCFakePedestalsConditions::setIntervalFor(), CastorTextCalibrations::setIntervalFor(), DTFakeT0ESProducer::setIntervalFor(), SiStripLorentzAngleFakeESSource::setIntervalFor(), edm::eventsetup::IntersectingIOVRecordIntervalFinder::setIntervalFor(), SiPixelFakeGainESSource::setIntervalFor(), SiPixelFakeGainForHLTESSource::setIntervalFor(), HepPDTESSource::setIntervalFor(), SiPixelFakeGainOfflineESSource::setIntervalFor(), edm::test::EventSetupTestHelper::setIntervalFor(), SiPixelFakeLorentzAngleESSource::setIntervalFor(), SiPixelFakeQualityESSource::setIntervalFor(), edm::ESProducerLooper::setIntervalFor(), DDCompactViewMFESProducer::setIntervalFor(), SiPhase2OuterTrackerFakeLorentzAngleESSource::setIntervalFor(), SiPixelQualityESProducer::setIntervalFor(), CTPPSRPAlignmentCorrectionsDataESSourceXML::setIntervalFor(), edm::eventsetup::DependentRecordIntervalFinder::setIntervalFor(), PPSTimingCalibrationESSource::setIntervalFor(), CaloMiscalibTools::setIntervalFor(), CaloMiscalibToolsMC::setIntervalFor(), PPSAlignmentConfigESSource::setIntervalFor(), ESTrivialConditionRetriever::setIntervalFor(), HcalHardcodeCalibrations::setIntervalFor(), SiStripFedCablingBuilderFromDb::setIntervalFor(), CTPPSBeamParametersESSource::setIntervalFor(), PPSPixelTopologyESSource::setIntervalFor(), JetCorrectionESSource< Corrector >::setIntervalFor(), FakeAlignmentSource::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(), MillePedeAlignmentAlgorithm::beginRun(), HIPAlignmentAlgorithm::initialize(), CTPPSRPAlignmentCorrectionsDataESSourceXMLCommon::Merge(), RunInfoTestESProducer::produce(), DIPLumiProducer::produceDetail(), LumiCorrectionSource::produceLumiCorrectionParam(), DIPLumiProducer::produceSummary(), DTConfigDBProducer::readDTCCBConfig(), CTPPSLHCInfoESSource::setIntervalFor(), CTPPSOpticalFunctionsESSource::setIntervalFor(), CastorHardcodeCalibrations::setIntervalFor(), CTPPSLHCInfoRandomXangleESSource::setIntervalFor(), CTPPSRPAlignmentCorrectionsDataESSourceXML::setIntervalFor(), edm::eventsetup::DependentRecordIntervalFinder::setIntervalFor(), PPSAlignmentConfigESSource::setIntervalFor(), HcalHardcodeCalibrations::setIntervalFor(), CTPPSBeamParametersESSource::setIntervalFor(), PPSPixelTopologyESSource::setIntervalFor(), CondDBESSource::setIntervalFor(), FWLiteESSource::setIntervalFor(), CTPPSCompositeESSource::setIntervalFor(), CTPPSPixelDAQMappingESSourceXML::setIntervalFor(), and TotemDAQMappingESSourceXML::setIntervalFor().
|
static |
Definition at line 78 of file IOVSyncValue.cc.
Referenced by edmtest::HcalDumpConditions::dumpIt(), edm::EventSetupRecordIntervalFinder::findIntervalFor(), edm::EventSetupRecordIntervalFinder::isNonconcurrentAndIOVNeedsUpdate(), cond::time::limitedIOVSyncValue(), edm::eventsetup::IntersectingIOVRecordIntervalFinder::setIntervalFor(), edm::eventsetup::DependentRecordIntervalFinder::setIntervalFor(), CondDBESSource::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(), DIPLumiProducer::produceDetail(), DIPLumiProducer::produceSummary(), and CondDBESSource::setIntervalFor().
|
inline |
|
inline |
Definition at line 47 of file IOVSyncValue.h.
|
inline |
Definition at line 48 of file IOVSyncValue.h.
|
inline |
|
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 doOp().
|
inline |
Definition at line 42 of file IOVSyncValue.h.
References time_.
Referenced by CastorHardcodeCalibrations::setIntervalFor(), HiTrivialConditionRetriever::setIntervalFor(), CTPPSRPAlignmentCorrectionsDataESSourceXML::setIntervalFor(), edm::eventsetup::DependentRecordIntervalFinder::setIntervalFor(), ESTrivialConditionRetriever::setIntervalFor(), HcalHardcodeCalibrations::setIntervalFor(), CondDBESSource::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.