#include <FWCore/Framework/interface/IOVSyncValue.h>
Definition at line 33 of file IOVSyncValue.h.
IOVSyncValue::IOVSyncValue | ( | ) |
IOVSyncValue::IOVSyncValue | ( | const EventID & | iID, | |
LuminosityBlockNumber_t | iLumi = 0 | |||
) | [explicit] |
IOVSyncValue::IOVSyncValue | ( | const Timestamp & | iTime | ) | [explicit] |
IOVSyncValue::IOVSyncValue | ( | const EventID & | iID, | |
LuminosityBlockNumber_t | iLumi, | |||
const Timestamp & | iID | |||
) |
const IOVSyncValue & IOVSyncValue::beginOfTime | ( | ) | [static] |
Definition at line 99 of file IOVSyncValue.cc.
Referenced by edm::EventProcessor::beginJob(), SiPixelFakeGainESSource::setIntervalFor(), CSCNoiseMatrixDBConditions::setIntervalFor(), SiStripNoiseESSource::setIntervalFor(), SiPixelFakeLorentzAngleESSource::setIntervalFor(), CSCFakeDBNoiseMatrix::setIntervalFor(), XMLIdealGeometryESSource::setIntervalFor(), CSCCrateMapValues::setIntervalFor(), ElectronLikelihoodESSource::setIntervalFor(), SiStripQualityConfigurableFakeESSource::setIntervalFor(), RingESSource::setIntervalFor(), CSCChamberIndexValues::setIntervalFor(), SiStripFedCablingBuilderFromDb::setIntervalFor(), SiStripBadFiberFakeESSource::setIntervalFor(), DTFakeT0ESProducer::setIntervalFor(), CSCCrosstalkDBConditions::setIntervalFor(), CastorHardcodeCalibrations::setIntervalFor(), HepPDTESSource::setIntervalFor(), SiStripFedCablingESSource::setIntervalFor(), SiPixelFakeGainOfflineESSource::setIntervalFor(), CSCFakeCrosstalkConditions::setIntervalFor(), SiPixelFakeGainForHLTESSource::setIntervalFor(), CSCL1TPParametersConditions::setIntervalFor(), CaloTPGTranscoderULUTs::setIntervalFor(), TrackerGeometricDetESModule::setIntervalFor(), CSCDDUMapValues::setIntervalFor(), SiStripLAFakeESSource::setIntervalFor(), CSCGainsConditions::setIntervalFor(), CSCFakeGainsConditions::setIntervalFor(), CSCBadStripsConditions::setIntervalFor(), CSCBadChambersConditions::setIntervalFor(), RoadMapESSource::setIntervalFor(), CaloMiscalibTools::setIntervalFor(), SiStripHashedDetIdFakeESSource::setIntervalFor(), SiStripBadStripFakeESSource::setIntervalFor(), HcalTextCalibrations::setIntervalFor(), SiStripBadModuleFakeESSource::setIntervalFor(), RPCPerformanceESSource::setIntervalFor(), CSCCrosstalkConditions::setIntervalFor(), CSCBadWiresConditions::setIntervalFor(), BeamSpotFakeConditions::setIntervalFor(), SiStripThresholdFakeESSource::setIntervalFor(), CSCGainsDBConditions::setIntervalFor(), CSCFakePedestalsConditions::setIntervalFor(), CSCFakeDBGains::setIntervalFor(), CastorTextCalibrations::setIntervalFor(), SiStripQualityFakeESSource::setIntervalFor(), SiStripFedCablingFakeESSource::setIntervalFor(), DTFakeVDriftESProducer::setIntervalFor(), CSCPedestalsDBConditions::setIntervalFor(), CSCFakeNoiseMatrixConditions::setIntervalFor(), JetCorrectionServiceChain::setIntervalFor(), SiStripGainFakeESSource::setIntervalFor(), SiStripBadChannelFakeESSource::setIntervalFor(), DTFakeTTrigESProducer::setIntervalFor(), EcalTrivialConditionRetriever::setIntervalFor(), CSCChamberMapValues::setIntervalFor(), PhysicsTools::MVAComputerESSourceImpl< RecordType >::setIntervalFor(), edm::ESProducerLooper::setIntervalFor(), SiStripPedestalsESSource::setIntervalFor(), CSCNoiseMatrixConditions::setIntervalFor(), HcalHardcodeCalibrations::setIntervalFor(), CSCFakeDBPedestals::setIntervalFor(), CSCFakeDBCrosstalk::setIntervalFor(), and FakeAlignmentSource::setIntervalFor().
00099 { 00100 static IOVSyncValue s_beginOfTime(EventID(1,0), 0, Timestamp::beginOfTime()); 00101 return s_beginOfTime; 00102 }
bool edm::IOVSyncValue::doOp | ( | const IOVSyncValue & | iRHS | ) | const [inline, private] |
Definition at line 80 of file IOVSyncValue.h.
References eventID_, haveID_, haveTime_, lumiID_, edm::EventID::run(), and time_.
00080 { 00081 bool returnValue = false; 00082 if(haveID_ && iRHS.haveID_) { 00083 if(lumiID_==0 || iRHS.lumiID_==0 || lumiID_==iRHS.lumiID_) { 00084 Op<EventID> op; 00085 returnValue = op(eventID_, iRHS.eventID_); 00086 } else { 00087 if(iRHS.eventID_.run() == eventID_.run()) { 00088 Op<LuminosityBlockNumber_t> op; 00089 returnValue = op(lumiID_, iRHS.lumiID_); 00090 } else { 00091 Op<RunNumber_t> op; 00092 returnValue = op(eventID_.run(), iRHS.eventID_.run()); 00093 } 00094 } 00095 00096 } else if (haveTime_ && iRHS.haveTime_) { 00097 Op<Timestamp> op; 00098 returnValue = op(time_, iRHS.time_); 00099 } else { 00100 //error 00101 } 00102 return returnValue; 00103 }
const IOVSyncValue & IOVSyncValue::endOfTime | ( | ) | [static] |
Definition at line 92 of file IOVSyncValue.cc.
Referenced by EcalTestDevDB::analyze(), SiPixelFakeGainESSource::setIntervalFor(), CSCNoiseMatrixDBConditions::setIntervalFor(), SiStripNoiseESSource::setIntervalFor(), SiPixelFakeLorentzAngleESSource::setIntervalFor(), CSCFakeDBNoiseMatrix::setIntervalFor(), XMLIdealGeometryESSource::setIntervalFor(), CSCCrateMapValues::setIntervalFor(), ElectronLikelihoodESSource::setIntervalFor(), SiStripQualityConfigurableFakeESSource::setIntervalFor(), RingESSource::setIntervalFor(), CSCChamberIndexValues::setIntervalFor(), SiStripFedCablingBuilderFromDb::setIntervalFor(), SiStripBadFiberFakeESSource::setIntervalFor(), DTFakeT0ESProducer::setIntervalFor(), CSCCrosstalkDBConditions::setIntervalFor(), CastorHardcodeCalibrations::setIntervalFor(), HepPDTESSource::setIntervalFor(), SiStripFedCablingESSource::setIntervalFor(), SiPixelFakeGainOfflineESSource::setIntervalFor(), CSCFakeCrosstalkConditions::setIntervalFor(), SiPixelFakeGainForHLTESSource::setIntervalFor(), CSCL1TPParametersConditions::setIntervalFor(), CaloTPGTranscoderULUTs::setIntervalFor(), TrackerGeometricDetESModule::setIntervalFor(), CSCDDUMapValues::setIntervalFor(), edm::EmptyESSource::setIntervalFor(), SiStripLAFakeESSource::setIntervalFor(), CSCGainsConditions::setIntervalFor(), CSCFakeGainsConditions::setIntervalFor(), CSCBadStripsConditions::setIntervalFor(), CSCBadChambersConditions::setIntervalFor(), RoadMapESSource::setIntervalFor(), CaloMiscalibTools::setIntervalFor(), SiStripHashedDetIdFakeESSource::setIntervalFor(), SiStripBadStripFakeESSource::setIntervalFor(), HcalTextCalibrations::setIntervalFor(), SiStripBadModuleFakeESSource::setIntervalFor(), RPCPerformanceESSource::setIntervalFor(), CSCCrosstalkConditions::setIntervalFor(), CSCBadWiresConditions::setIntervalFor(), BeamSpotFakeConditions::setIntervalFor(), SiStripThresholdFakeESSource::setIntervalFor(), CSCGainsDBConditions::setIntervalFor(), CSCFakePedestalsConditions::setIntervalFor(), CSCFakeDBGains::setIntervalFor(), CastorTextCalibrations::setIntervalFor(), SiStripQualityFakeESSource::setIntervalFor(), SiStripFedCablingFakeESSource::setIntervalFor(), DTFakeVDriftESProducer::setIntervalFor(), CSCPedestalsDBConditions::setIntervalFor(), CSCFakeNoiseMatrixConditions::setIntervalFor(), JetCorrectionServiceChain::setIntervalFor(), SiStripGainFakeESSource::setIntervalFor(), SiStripBadChannelFakeESSource::setIntervalFor(), DTFakeTTrigESProducer::setIntervalFor(), EcalTrivialConditionRetriever::setIntervalFor(), CSCChamberMapValues::setIntervalFor(), PhysicsTools::MVAComputerESSourceImpl< RecordType >::setIntervalFor(), edm::ESProducerLooper::setIntervalFor(), SiStripPedestalsESSource::setIntervalFor(), CSCNoiseMatrixConditions::setIntervalFor(), HcalHardcodeCalibrations::setIntervalFor(), CSCFakeDBPedestals::setIntervalFor(), CSCFakeDBCrosstalk::setIntervalFor(), and FakeAlignmentSource::setIntervalFor().
00092 { 00093 static IOVSyncValue s_endOfTime(EventID(0xFFFFFFFFUL, EventID::maxEventNumber()), 00094 LuminosityBlockID::maxLuminosityBlockNumber(), 00095 Timestamp::endOfTime()); 00096 return s_endOfTime; 00097 }
const EventID& edm::IOVSyncValue::eventID | ( | ) | const [inline] |
Definition at line 44 of file IOVSyncValue.h.
References eventID_.
Referenced by PoolDBESSource::setIntervalFor(), CastorHardcodeCalibrations::setIntervalFor(), and HcalHardcodeCalibrations::setIntervalFor().
00044 { return eventID_;}
const IOVSyncValue & IOVSyncValue::invalidIOVSyncValue | ( | ) | [static] |
Definition at line 87 of file IOVSyncValue.cc.
Referenced by edmtest::HcalDumpConditions::dumpIt().
00087 { 00088 static IOVSyncValue s_invalid; 00089 return s_invalid; 00090 }
LuminosityBlockNumber_t edm::IOVSyncValue::luminosityBlockNumber | ( | ) | const [inline] |
bool edm::IOVSyncValue::operator!= | ( | const IOVSyncValue & | iRHS | ) | const [inline] |
bool edm::IOVSyncValue::operator< | ( | const IOVSyncValue & | iRHS | ) | const [inline] |
bool edm::IOVSyncValue::operator<= | ( | const IOVSyncValue & | iRHS | ) | const [inline] |
bool edm::IOVSyncValue::operator== | ( | const IOVSyncValue & | iRHS | ) | const [inline] |
bool edm::IOVSyncValue::operator> | ( | const IOVSyncValue & | iRHS | ) | const [inline] |
bool edm::IOVSyncValue::operator>= | ( | const IOVSyncValue & | iRHS | ) | const [inline] |
const Timestamp& edm::IOVSyncValue::time | ( | ) | const [inline] |
Definition at line 46 of file IOVSyncValue.h.
References time_.
Referenced by PoolDBESSource::setIntervalFor(), CastorHardcodeCalibrations::setIntervalFor(), EcalTrivialConditionRetriever::setIntervalFor(), and HcalHardcodeCalibrations::setIntervalFor().
00046 {return time_; }
EventID edm::IOVSyncValue::eventID_ [private] |
bool edm::IOVSyncValue::haveID_ [private] |
bool edm::IOVSyncValue::haveTime_ [private] |
Timestamp edm::IOVSyncValue::time_ [private] |