39 recordName_(pset.getParameter<std::
string>(
"recordName")),
40 iovIsTime_(!pset.getParameter<bool>(
"iovIsRunNotTime")) {
41 std::vector<unsigned int>
temp(pset.
getParameter< std::vector<unsigned int> >(
"firstValid"));
42 for(std::vector<unsigned int>::iterator itValue = temp.begin(), itValueEnd = temp.end();
43 itValue != itValueEnd;
60 <<
"\" could not be found. Please check the spelling. \n"
61 <<
"If the spelling is fine, then no module in the job requires this Record and therefore EmptyESSource can not function.\n"
62 "In such a case please either remove the EmptyESSource with label'"
78 std::pair< std::set<IOVSyncValue>::iterator,
79 std::set<IOVSyncValue>::iterator > itFound =
setOfIOV_.equal_range(iTime);
82 if(itFound.first == itFound.second) {
100 endOfInterval =
IOVSyncValue(itFound.second->eventID().previousRunLastEvent(0));
T getParameter(std::string const &) const
EmptyESSource(ParameterSet const &)
void setIntervalFor(eventsetup::EventSetupRecordKey const &, IOVSyncValue const &iTime, ValidityInterval &oInterval)
static const IOVSyncValue & endOfTime()
const eventsetup::ComponentDescription & descriptionForFinder() const
std::pair< Time_t, Time_t > ValidityInterval
void delaySettingRecords()
std::set< IOVSyncValue > setOfIOV_
EmptyESSource const & operator=(EmptyESSource const &)
#define DEFINE_FWK_EVENTSETUP_SOURCE(type)
static const ValidityInterval & invalidInterval()
void findingRecordWithKey(const eventsetup::EventSetupRecordKey &)
static HCTypeTag findType(char const *iTypeName)
find a type based on the types name, if not found will return default HCTypeTag