Typedefs | |
typedef boost::date_time::subsecond_duration< boost::posix_time::time_duration, 1000000000 > | nanoseconds |
typedef cond::Time_t | Time_t |
typedef cond::TimeType | TimeType |
typedef cond::UnpackedTime | UnpackedTime |
Variables | |
static constexpr TimeType | HASH =cond::hash |
static constexpr TimeType | INVALID =cond::invalid |
static constexpr TimeType | LUMIID =cond::lumiid |
static constexpr const char *const | MAX_TIMESTAMP = "9999-12-31 23:59:59.000" |
static constexpr TimeType | RUNNUMBER =cond::runnumber |
static const std::pair< const char *, TimeType > | s_timeTypeMap [] |
static constexpr unsigned int | SINCE_HASH_GROUP_SIZE = SINCE_RUN_GROUP_SIZE |
static constexpr unsigned int | SINCE_LUMI_GROUP_SIZE = SINCE_RUN_GROUP_SIZE |
static constexpr unsigned int | SINCE_RUN_GROUP_SIZE = 1000 |
static constexpr unsigned long | SINCE_TIME_GROUP_SIZE = 154618822656000 |
const boost::posix_time::ptime | time0 |
static constexpr TimeType | TIMESTAMP =cond::timestamp |
static constexpr TimeType | USERID =cond::userid |
typedef boost::date_time::subsecond_duration<boost::posix_time::time_duration,1000000000> cond::time::nanoseconds |
Definition at line 18 of file TimeConversions.h.
typedef cond::Time_t cond::time::Time_t |
typedef cond::TimeType cond::time::TimeType |
|
inline |
Definition at line 52 of file TimeConversions.h.
References itsNanoseconds(), protons_cff::t, and time0.
Referenced by SiStripDetVOffTkMapPlotter::analyze(), SiStripDetVOffPrinter::analyze(), SiStripDetVOffTrendPlotter::analyze(), cond::payloadInspector::TimeHistoryPlot< PayloadType, Y >::fill(), SiStripDetVOffBuilder::getCondTime(), LHCInfoPopConSourceHandler::getCTTPSData(), LHCInfoPopConSourceHandler::getDipData(), LHCInfoPopConSourceHandler::getEcalData(), LHCInfoPopConSourceHandler::getLumiData(), LHCInfoPopConSourceHandler::getNewObjects(), FillInfoPopConSourceHandler::getNewObjects(), and LHCInfoImpl::makeFillDataQuery().
|
inline |
Time_t cond::time::fromIOVSyncValue | ( | edm::IOVSyncValue const & | time, |
TimeType | timetype | ||
) |
Definition at line 81 of file Time.cc.
References edm::IOVSyncValue::eventID(), LUMIID, edm::IOVSyncValue::luminosityBlockNumber(), edm::EventID::run(), RUNNUMBER, edm::IOVSyncValue::time(), TIMESTAMP, edm::LuminosityBlockID::value(), and edm::Timestamp::value().
Referenced by CondDBESSource::setIntervalFor().
|
inline |
Definition at line 36 of file TimeConversions.h.
Referenced by from_boost().
const Time_t cond::time::kLowMask | ( | 0xFFFFFFFF | ) |
Referenced by ME::time_low(), to_boost(), to_timeval(), unpack(), and BSPrintUtils::unpack().
edm::IOVSyncValue cond::time::limitedIOVSyncValue | ( | Time_t | time, |
TimeType | timetype | ||
) |
Definition at line 98 of file Time.cc.
References edm::IOVSyncValue::invalidIOVSyncValue(), checklumidiff::l, LUMIID, edm::LuminosityBlockID::luminosityBlock(), edm::EventID::maxEventNumber(), edm::LuminosityBlockID::run(), RUNNUMBER, and TIMESTAMP.
Referenced by CondDBESSource::setIntervalFor().
edm::IOVSyncValue cond::time::limitedIOVSyncValue | ( | edm::IOVSyncValue const & | time, |
TimeType | timetype | ||
) |
Definition at line 123 of file Time.cc.
References edm::IOVSyncValue::eventID(), edm::IOVSyncValue::invalidIOVSyncValue(), LUMIID, edm::IOVSyncValue::luminosityBlockNumber(), edm::EventID::maxEventNumber(), edm::EventID::run(), RUNNUMBER, and TIMESTAMP.
Referenced by cond::Iov_t::clear(), cond::persistency::IOVProxy::fetchSequence(), cond::persistency::IOVProxy::find(), cond::persistency::IOVProxy::getLast(), MillePedeAlignmentAlgorithm::initialize(), cond::Iov_t::isValid(), cond::persistency::IOVProxy::load(), cond::persistency::IOVProxy::loadedGroup(), LHCInfoImpl::LumiSectionFilter::process(), cond::persistency::IOVProxy::reset(), and cond::persistency::IOV::Table::select().
const Time_t cond::time::MIN_VAL | ( | 0 | ) |
Referenced by cond::Iov_t::clear(), cond::Tag_t::clear(), cond::persistency::IOVEditor::endOfValidity(), cond::persistency::IOVProxy::endOfValidity(), cond::persistency::IOVProxy::fetchSequence(), cond::persistency::RunInfoEditor::getLastInserted(), cond::persistency::RUN_INFO::Table::getLastInserted(), MillePedeAlignmentAlgorithm::initialize(), cond::Iov_t::isValid(), cond::persistency::IOVEditor::lastValidatedTime(), cond::persistency::IOVProxy::lastValidatedTime(), cond::persistency::IOVProxy::load(), cond::persistency::IOVProxy::loadedGroup(), cond::persistency::IOVProxy::reset(), cond::persistency::GTEditor::validity(), and cond::persistency::GTProxy::validity().
|
inline |
|
inline |
Definition at line 29 of file TimeConversions.h.
References protons_cff::t.
Referenced by FillInfoPopConSourceHandler::getNewObjects(), and tillTimeFromNextSince().
const unsigned int cond::time::SECONDS_PER_LUMI | ( | 23 | ) |
Definition at line 51 of file Time.cc.
References HASH, LUMIID, SINCE_HASH_GROUP_SIZE, SINCE_LUMI_GROUP_SIZE, SINCE_RUN_GROUP_SIZE, SINCE_TIME_GROUP_SIZE, and TIMESTAMP.
Referenced by cond::persistency::IOVProxy::load().
Definition at line 33 of file Time.cc.
References createfilelist::int, pack(), TIMESTAMP, and unpack().
Referenced by cond::persistency::IOVProxy::Iterator::operator*().
TimeType cond::time::timeTypeFromName | ( | const std::string & | name | ) |
Definition at line 24 of file Time.cc.
References cond::findSpecs(), mps_fire::i, and cond::TimeTypeSpecs::type.
Referenced by cond::service::PoolDBOutputService::fillRecord(), cond::persistency::GetFromRow< cond::TimeType >::operator()(), and cond::service::PoolDBOutputService::PoolDBOutputService().
std::string cond::time::timeTypeName | ( | TimeType | type | ) |
Definition at line 19 of file Time.cc.
Referenced by cond::persistency::f_add_attribute().
|
inline |
Definition at line 45 of file TimeConversions.h.
References kLowMask(), and seconds().
Referenced by SiStripDetVOffHandler::analyze(), SiStripDetVOffTkMapPlotter::analyze(), SiStripDetVOffPrinter::analyze(), SiStripDetVOffTrendPlotter::analyze(), WriteCTPPSBeamParameters::analyze(), SiStripDetVOffTrendPlotter::dumpCSV(), cond::payloadInspector::RunHistoryPlot< PayloadType, Y >::fill(), cond::payloadInspector::TimeHistoryPlot< PayloadType, Y >::fill(), SiStripDetVOffTkMapPlotter::formatIOV(), SiStripDetVOffTrendPlotter::formatIOV(), SiStripDetVOffBuilder::getCoralTime(), LHCInfoPopConSourceHandler::getEcalData(), FillInfoPopConSourceHandler::getNewObjects(), LHCInfoPopConSourceHandler::getNewObjects(), FillInfo::print(), and LHCInfo::print().
inline ::timeval cond::time::to_timeval | ( | Time_t | iValue | ) |
Definition at line 60 of file TimeConversions.h.
References kLowMask().
edm::IOVSyncValue cond::time::toIOVSyncValue | ( | cond::Time_t | time, |
TimeType | timetype, | ||
bool | startOrStop | ||
) |
Definition at line 59 of file Time.cc.
References edm::IOVSyncValue::invalidIOVSyncValue(), checklumidiff::l, LUMIID, edm::LuminosityBlockID::luminosityBlock(), edm::EventID::maxEventNumber(), edm::LuminosityBlockID::run(), RUNNUMBER, and TIMESTAMP.
Referenced by CondDBESSource::setIntervalFor().
|
inline |
Definition at line 25 of file TimeConversions.h.
References kLowMask().
Referenced by SiStripDetVOffTrendPlotter::analyze(), FillInfoPopConSourceHandler::getNewObjects(), and tillTimeFromNextSince().
|
static |
Definition at line 37 of file Time.h.
Referenced by sinceGroupSize().
|
static |
Definition at line 33 of file Time.h.
Referenced by CSCGEMMotherboard::findQualityGEM().
|
static |
Definition at line 36 of file Time.h.
Referenced by fromIOVSyncValue(), limitedIOVSyncValue(), sinceGroupSize(), and toIOVSyncValue().
|
static |
Definition at line 26 of file Time.h.
Referenced by CondDBESSource::CondDBESSource().
|
static |
Definition at line 34 of file Time.h.
Referenced by fromIOVSyncValue(), limitedIOVSyncValue(), and toIOVSyncValue().
|
static |
|
static |
Definition at line 49 of file Time.h.
Referenced by sinceGroupSize().
|
static |
Definition at line 48 of file Time.h.
Referenced by sinceGroupSize().
|
static |
Definition at line 45 of file Time.h.
Referenced by sinceGroupSize().
|
static |
Definition at line 47 of file Time.h.
Referenced by sinceGroupSize().
const boost::posix_time::ptime cond::time::time0 |
Definition at line 42 of file TimeConversions.h.
Referenced by from_boost(), and RunInfoRead::readData().
|
static |
Definition at line 35 of file Time.h.
Referenced by fromIOVSyncValue(), limitedIOVSyncValue(), sinceGroupSize(), tillTimeFromNextSince(), and toIOVSyncValue().
|
static |