7 #include <initializer_list>
26 if (name.compare(
i.first) == 0)
39 Time_t totalSecondsInNanoseconds = ((
Time_t)unpackedTime.first)*1000000000;
41 Time_t totalNanoseconds = totalSecondsInNanoseconds + ((
Time_t)(unpackedTime.second));
45 unpackedTime.first = (
unsigned int) (totalNanoseconds/1000000000);
46 unpackedTime.second = (
unsigned int)(totalNanoseconds - (
Time_t)unpackedTime.first*1000000000);
47 return pack(unpackedTime);
boost::uint64_t value() const
const EventID & eventID() const
static const std::pair< const char *, TimeType > s_timeTypeMap[]
cond::Time_t pack(cond::UnpackedTime iValue)
Time_t fromIOVSyncValue(edm::IOVSyncValue const &time, TimeType timetype)
TimeType timeTypeFromName(const std::string &name)
edm::IOVSyncValue toIOVSyncValue(cond::Time_t time, TimeType timetype, bool startOrStop)
LuminosityBlockNumber_t luminosityBlockNumber() const
LuminosityBlockNumber_t luminosityBlock() const
static EventNumber_t maxEventNumber()
Time_t tillTimeFromNextSince(Time_t nextSince, TimeType timeType)
const TimeTypeSpecs & findSpecs(std::string const &name)
const Timestamp & time() const
edm::IOVSyncValue limitedIOVSyncValue(Time_t time, TimeType timetype)
std::string timeTypeName(TimeType type)
TimeValue_t value() const
static const IOVSyncValue & invalidIOVSyncValue()
cond::UnpackedTime UnpackedTime
cond::UnpackedTime unpack(cond::Time_t iValue)