![]() |
![]() |
#include <EventSetupRecordIntervalFinder.h>
Definition at line 34 of file EventSetupRecordIntervalFinder.h.
typedef std::map<eventsetup::EventSetupRecordKey,ValidityInterval> edm::EventSetupRecordIntervalFinder::Intervals [private] |
Definition at line 77 of file EventSetupRecordIntervalFinder.h.
edm::EventSetupRecordIntervalFinder::EventSetupRecordIntervalFinder | ( | ) | [inline] |
Definition at line 38 of file EventSetupRecordIntervalFinder.h.
: intervals_() {}
EventSetupRecordIntervalFinder::~EventSetupRecordIntervalFinder | ( | ) | [virtual] |
Definition at line 41 of file EventSetupRecordIntervalFinder.cc.
{ }
edm::EventSetupRecordIntervalFinder::EventSetupRecordIntervalFinder | ( | const EventSetupRecordIntervalFinder & | ) | [private] |
void EventSetupRecordIntervalFinder::delaySettingRecords | ( | ) | [private, virtual] |
override this method if you need to delay setting what records you will be using until after all modules are loaded
Reimplemented in edm::EmptyESSource, and FWLiteESSource.
Definition at line 78 of file EventSetupRecordIntervalFinder.cc.
{ }
const eventsetup::ComponentDescription& edm::EventSetupRecordIntervalFinder::descriptionForFinder | ( | ) | const [inline] |
Definition at line 44 of file EventSetupRecordIntervalFinder.h.
References description_.
Referenced by edm::EmptyESSource::delaySettingRecords().
{ return description_;}
std::set< EventSetupRecordKey > EventSetupRecordIntervalFinder::findingForRecords | ( | ) | const |
Definition at line 86 of file EventSetupRecordIntervalFinder.cc.
{ if(intervals_.empty()) { //we are delaying our reading const_cast<EventSetupRecordIntervalFinder*>(this)->delaySettingRecords(); } std::set<EventSetupRecordKey> returnValue; for(Intervals::const_iterator itEntry = intervals_.begin(), itEntryEnd = intervals_.end(); itEntry != itEntryEnd; ++itEntry) { returnValue.insert(returnValue.end(), itEntry->first); } return returnValue; }
void edm::EventSetupRecordIntervalFinder::findingRecord | ( | ) | [inline, protected] |
Definition at line 63 of file EventSetupRecordIntervalFinder.h.
References findingRecordWithKey().
{ findingRecordWithKey(eventsetup::EventSetupRecordKey::makeKey<T>()); }
void EventSetupRecordIntervalFinder::findingRecordWithKey | ( | const eventsetup::EventSetupRecordKey & | iKey | ) | [protected] |
Definition at line 73 of file EventSetupRecordIntervalFinder.cc.
Referenced by CondDBESSource::CondDBESSource(), edm::EmptyESSource::delaySettingRecords(), FWLiteESSource::delaySettingRecords(), edm::eventsetup::DependentRecordIntervalFinder::DependentRecordIntervalFinder(), findingRecord(), and edm::eventsetup::IntersectingIOVRecordIntervalFinder::IntersectingIOVRecordIntervalFinder().
{ intervals_.insert(Intervals::value_type(iKey, ValidityInterval())); }
const ValidityInterval & EventSetupRecordIntervalFinder::findIntervalFor | ( | const eventsetup::EventSetupRecordKey & | iKey, |
const IOVSyncValue & | iInstance | ||
) |
returns the 'default constructed' ValidityInterval if no valid interval. If upperbound is not known, it should be set to IOVSyncValue::invalidIOVSyncValue()
Definition at line 61 of file EventSetupRecordIntervalFinder.cc.
{ Intervals::iterator itFound = intervals_.find(iKey); assert(itFound != intervals_.end()) ; if(! itFound->second.validFor(iInstance)) { setIntervalFor(iKey, iInstance, itFound->second); } return itFound->second; }
const EventSetupRecordIntervalFinder& edm::EventSetupRecordIntervalFinder::operator= | ( | const EventSetupRecordIntervalFinder & | ) | [private] |
void edm::EventSetupRecordIntervalFinder::setDescriptionForFinder | ( | const eventsetup::ComponentDescription & | iDescription | ) | [inline] |
Definition at line 54 of file EventSetupRecordIntervalFinder.h.
References description_.
Referenced by edm::eventsetup::ComponentMaker< edm::eventsetup::LooperMakerTraits, TType >::setDescriptionForFinder().
{ description_ = iDescription; }
virtual void edm::EventSetupRecordIntervalFinder::setIntervalFor | ( | const eventsetup::EventSetupRecordKey & | , |
const IOVSyncValue & | , | ||
ValidityInterval & | |||
) | [protected, pure virtual] |
Implemented in FakeAlignmentSource, CaloMiscalibTools, CaloMiscalibToolsMC, CaloTPGTranscoderULUTs, CastorHardcodeCalibrations, CastorTextCalibrations, EcalTrivialConditionRetriever, ESTrivialConditionRetriever, HcalHardcodeCalibrations, HcalTextCalibrations, CSCBadChambersConditions, CSCBadStripsConditions, CSCBadWiresConditions, CSCChipSpeedCorrectionDBConditions, CSCCrosstalkConditions, CSCCrosstalkDBConditions, CSCDBL1TPParametersConditions, CSCFakeCrosstalkConditions, CSCFakeDBCrosstalk, CSCFakeDBCrosstalkPopCon, CSCFakeDBGains, CSCFakeDBGainsPopCon, CSCFakeDBNoiseMatrix, CSCFakeDBPedestals, CSCFakeGainsConditions, CSCFakeNoiseMatrixConditions, CSCFakePedestalsConditions, CSCGainsConditions, CSCGainsDBConditions, CSCL1TPParametersConditions, CSCNoiseMatrixConditions, CSCNoiseMatrixDBConditions, CSCPedestalsDBConditions, DTFakeT0ESProducer, DTFakeTTrigESProducer, DTFakeVDriftESProducer, RPCPerformanceESSource, SiPixelFakeCPEGenericErrorParmESSource, SiPixelFakeGainESSource, SiPixelFakeGainForHLTESSource, SiPixelFakeGainOfflineESSource, SiPixelFakeLorentzAngleESSource, SiPixelFakeQualityESSource, SiPixelFakeTemplateDBObjectESSource, SiStripGainESSource, SiStripNoiseESSource, SiStripPedestalsESSource, SiStripFedCablingFakeESSource, SiStripHashedDetIdFakeESSource, SiStripQualityFakeESSource, SiStripTemplateEmptyFakeESSource< TObject, TRecord >, SiStripTemplateFakeESSource< TObject, TRecord, TService >, HcalOmdsCalibrations, CondDBESSource, edm::eventsetup::DependentRecordIntervalFinder, edm::ESProducerLooper, edm::eventsetup::IntersectingIOVRecordIntervalFinder, edm::EmptyESSource, XMLIdealGeometryESSource, JetCorrectionService< Corrector >, JetCorrectionServiceChain, CSCChamberIndexValues, CSCChamberMapValues, CSCChamberTimeCorrectionsValues, CSCCrateMapValues, CSCDDUMapValues, SiStripFedCablingBuilderFromDb, FWLiteESSource, PhysicsTools::MVAComputerESSourceImpl< RecordType >, ElectronLikelihoodESSource, HiTrivialConditionRetriever, RingESSource, RoadMapESSource, BeamSpotFakeConditions, and HepPDTESSource.
Definition at line 80 of file EventSetupRecordIntervalFinder.h.
Referenced by descriptionForFinder(), and setDescriptionForFinder().
Definition at line 78 of file EventSetupRecordIntervalFinder.h.