#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 SiPixelFakeCPEGenericErrorParmESSource::setIntervalFor(), SiPixelFakeTemplateDBObjectESSource::setIntervalFor(), SiStripFedCablingFakeESSource::setIntervalFor(), SiStripHashedDetIdFakeESSource::setIntervalFor(), XMLIdealGeometryESSource::setIntervalFor(), JetCorrectionServiceChain::setIntervalFor(), SiStripGainESSource::setIntervalFor(), RPCPerformanceESSource::setIntervalFor(), SiStripNoiseESSource::setIntervalFor(), SiStripPedestalsESSource::setIntervalFor(), CastorHardcodeCalibrations::setIntervalFor(), CSCFakeNoiseMatrixConditions::setIntervalFor(), CSCGainsConditions::setIntervalFor(), PhysicsTools::MVAComputerESSourceImpl< RecordType >::setIntervalFor(), CSCFakeDBGains::setIntervalFor(), SiStripTemplateEmptyFakeESSource< TObject, TRecord >::setIntervalFor(), CSCCrosstalkConditions::setIntervalFor(), CSCNoiseMatrixConditions::setIntervalFor(), CSCNoiseMatrixDBConditions::setIntervalFor(), CSCPedestalsDBConditions::setIntervalFor(), CSCBadChambersConditions::setIntervalFor(), BeamSpotFakeConditions::setIntervalFor(), CSCCrosstalkDBConditions::setIntervalFor(), CSCFakeDBCrosstalk::setIntervalFor(), CSCFakeDBPedestals::setIntervalFor(), CSCFakeDBNoiseMatrix::setIntervalFor(), SiStripTemplateFakeESSource< TObject, TRecord, TService >::setIntervalFor(), CSCBadWiresConditions::setIntervalFor(), CSCGainsDBConditions::setIntervalFor(), CSCL1TPParametersConditions::setIntervalFor(), CSCBadStripsConditions::setIntervalFor(), CSCChipSpeedCorrectionDBConditions::setIntervalFor(), CSCCrateMapValues::setIntervalFor(), CSCFakeCrosstalkConditions::setIntervalFor(), CSCChamberIndexValues::setIntervalFor(), CSCDDUMapValues::setIntervalFor(), CSCChamberMapValues::setIntervalFor(), DTFakeTTrigESProducer::setIntervalFor(), DTFakeVDriftESProducer::setIntervalFor(), CSCChamberTimeCorrectionsValues::setIntervalFor(), SiStripQualityFakeESSource::setIntervalFor(), CSCFakeGainsConditions::setIntervalFor(), CSCFakePedestalsConditions::setIntervalFor(), CastorTextCalibrations::setIntervalFor(), HcalOmdsCalibrations::setIntervalFor(), HcalHardcodeCalibrations::setIntervalFor(), HepPDTESSource::setIntervalFor(), HcalTextCalibrations::setIntervalFor(), RoadMapESSource::setIntervalFor(), edm::eventsetup::IntersectingIOVRecordIntervalFinder::setIntervalFor(), DTFakeT0ESProducer::setIntervalFor(), SiPixelFakeGainForHLTESSource::setIntervalFor(), SiPixelFakeGainESSource::setIntervalFor(), SiPixelFakeGainOfflineESSource::setIntervalFor(), SiPixelFakeQualityESSource::setIntervalFor(), SiPixelFakeLorentzAngleESSource::setIntervalFor(), edm::ESProducerLooper::setIntervalFor(), ElectronLikelihoodESSource::setIntervalFor(), RingESSource::setIntervalFor(), CaloTPGTranscoderULUTs::setIntervalFor(), HiTrivialConditionRetriever::setIntervalFor(), edm::eventsetup::DependentRecordIntervalFinder::setIntervalFor(), CaloMiscalibTools::setIntervalFor(), CaloMiscalibToolsMC::setIntervalFor(), ESTrivialConditionRetriever::setIntervalFor(), SiStripFedCablingBuilderFromDb::setIntervalFor(), FakeAlignmentSource::setIntervalFor(), JetCorrectionService< Corrector >::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(), edm::EmptyESSource::setIntervalFor(), SiPixelFakeCPEGenericErrorParmESSource::setIntervalFor(), SiPixelFakeTemplateDBObjectESSource::setIntervalFor(), SiStripFedCablingFakeESSource::setIntervalFor(), SiStripHashedDetIdFakeESSource::setIntervalFor(), XMLIdealGeometryESSource::setIntervalFor(), JetCorrectionServiceChain::setIntervalFor(), SiStripGainESSource::setIntervalFor(), RPCPerformanceESSource::setIntervalFor(), SiStripPedestalsESSource::setIntervalFor(), SiStripNoiseESSource::setIntervalFor(), CastorHardcodeCalibrations::setIntervalFor(), CSCFakeNoiseMatrixConditions::setIntervalFor(), PhysicsTools::MVAComputerESSourceImpl< RecordType >::setIntervalFor(), CSCGainsConditions::setIntervalFor(), CSCFakeDBGains::setIntervalFor(), SiStripTemplateEmptyFakeESSource< TObject, TRecord >::setIntervalFor(), CSCCrosstalkConditions::setIntervalFor(), CSCNoiseMatrixDBConditions::setIntervalFor(), CSCNoiseMatrixConditions::setIntervalFor(), CSCPedestalsDBConditions::setIntervalFor(), CSCBadChambersConditions::setIntervalFor(), BeamSpotFakeConditions::setIntervalFor(), CSCCrosstalkDBConditions::setIntervalFor(), CSCFakeDBCrosstalk::setIntervalFor(), CSCFakeDBPedestals::setIntervalFor(), CSCFakeDBNoiseMatrix::setIntervalFor(), SiStripTemplateFakeESSource< TObject, TRecord, TService >::setIntervalFor(), CSCBadWiresConditions::setIntervalFor(), CSCGainsDBConditions::setIntervalFor(), CSCL1TPParametersConditions::setIntervalFor(), CSCBadStripsConditions::setIntervalFor(), CSCChipSpeedCorrectionDBConditions::setIntervalFor(), CSCChamberMapValues::setIntervalFor(), CSCChamberIndexValues::setIntervalFor(), CSCDDUMapValues::setIntervalFor(), CSCFakeCrosstalkConditions::setIntervalFor(), CSCCrateMapValues::setIntervalFor(), DTFakeTTrigESProducer::setIntervalFor(), CSCChamberTimeCorrectionsValues::setIntervalFor(), SiStripQualityFakeESSource::setIntervalFor(), CSCFakeGainsConditions::setIntervalFor(), CSCFakePedestalsConditions::setIntervalFor(), CastorTextCalibrations::setIntervalFor(), DTFakeVDriftESProducer::setIntervalFor(), HcalOmdsCalibrations::setIntervalFor(), HepPDTESSource::setIntervalFor(), HcalHardcodeCalibrations::setIntervalFor(), RoadMapESSource::setIntervalFor(), HcalTextCalibrations::setIntervalFor(), edm::eventsetup::IntersectingIOVRecordIntervalFinder::setIntervalFor(), DTFakeT0ESProducer::setIntervalFor(), SiPixelFakeGainOfflineESSource::setIntervalFor(), SiPixelFakeQualityESSource::setIntervalFor(), SiPixelFakeLorentzAngleESSource::setIntervalFor(), SiPixelFakeGainForHLTESSource::setIntervalFor(), edm::ESProducerLooper::setIntervalFor(), SiPixelFakeGainESSource::setIntervalFor(), ElectronLikelihoodESSource::setIntervalFor(), RingESSource::setIntervalFor(), CaloTPGTranscoderULUTs::setIntervalFor(), HiTrivialConditionRetriever::setIntervalFor(), edm::eventsetup::DependentRecordIntervalFinder::setIntervalFor(), CaloMiscalibToolsMC::setIntervalFor(), CaloMiscalibTools::setIntervalFor(), ESTrivialConditionRetriever::setIntervalFor(), SiStripFedCablingBuilderFromDb::setIntervalFor(), FakeAlignmentSource::setIntervalFor(), JetCorrectionService< Corrector >::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(), cond::fromIOVSyncValue(), cond::limitedIOVSyncValue(), edm::PrintEventSetupContent::print(), CastorHardcodeCalibrations::setIntervalFor(), HcalHardcodeCalibrations::setIntervalFor(), CondDBESSource::setIntervalFor(), edm::eventsetup::DependentRecordIntervalFinder::setIntervalFor(), FWLiteESSource::setIntervalFor(), and edm::eventsetup::EventSetupRecordProvider::setValidityIntervalFor().
|
static |
Definition at line 92 of file IOVSyncValue.cc.
Referenced by edmtest::HcalDumpConditions::dumpIt(), cond::limitedIOVSyncValue(), edm::eventsetup::IntersectingIOVRecordIntervalFinder::setIntervalFor(), edm::eventsetup::DependentRecordIntervalFinder::setIntervalFor(), edm::eventsetup::EventSetupRecordProvider::setValidityIntervalFor(), and cond::toIOVSyncValue().
|
inline |
Definition at line 43 of file IOVSyncValue.h.
References eventID_, and edm::EventID::luminosityBlock().
Referenced by doOp(), cond::fromIOVSyncValue(), and cond::limitedIOVSyncValue().
|
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(), edm::PrintEventSetupContent::print(), CastorHardcodeCalibrations::setIntervalFor(), HcalHardcodeCalibrations::setIntervalFor(), HiTrivialConditionRetriever::setIntervalFor(), edm::eventsetup::DependentRecordIntervalFinder::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.