CMS 3D CMS Logo

Namespaces | Typedefs | Functions | Variables
Time.h File Reference
#include "CondFormats/Common/interface/Time.h"
#include "CondFormats/Common/interface/TimeConversions.h"
#include "FWCore/Framework/interface/IOVSyncValue.h"
#include <string>
#include <limits>
#include <type_traits>

Go to the source code of this file.

Namespaces

 cond
 
 cond::time
 

Typedefs

typedef cond::Time_t cond::time::Time_t
 
typedef cond::TimeType cond::time::TimeType
 
typedef cond::UnpackedTime cond::time::UnpackedTime
 

Functions

Time_t cond::time::fromIOVSyncValue (edm::IOVSyncValue const &time, TimeType timetype)
 
edm::IOVSyncValue cond::time::limitedIOVSyncValue (Time_t time, TimeType timetype)
 
edm::IOVSyncValue cond::time::limitedIOVSyncValue (edm::IOVSyncValue const &time, TimeType timetype)
 
const Time_t cond::time::MAX_VAL (std::numeric_limits< Time_t >::max())
 
const Time_t cond::time::MIN_VAL (0)
 
const unsigned int cond::time::SECONDS_PER_LUMI (23)
 
Time_t cond::time::sinceGroupSize (TimeType tp)
 
Time_t cond::time::tillTimeFromNextSince (Time_t nextSince, TimeType timeType)
 
TimeType cond::time::timeTypeFromName (const std::string &name)
 
std::string cond::time::timeTypeName (TimeType type)
 
edm::IOVSyncValue cond::time::toIOVSyncValue (cond::Time_t time, TimeType timetype, bool startOrStop)
 

Variables

static constexpr TimeType cond::time::HASH =cond::hash
 
static constexpr TimeType cond::time::INVALID =cond::invalid
 
static constexpr TimeType cond::time::LUMIID =cond::lumiid
 
static constexpr const char *const cond::time::MAX_TIMESTAMP = "9999-12-31 23:59:59.000"
 
static constexpr TimeType cond::time::RUNNUMBER =cond::runnumber
 
static constexpr unsigned int cond::time::SINCE_HASH_GROUP_SIZE = SINCE_RUN_GROUP_SIZE
 
static constexpr unsigned int cond::time::SINCE_LUMI_GROUP_SIZE = SINCE_RUN_GROUP_SIZE
 
static constexpr unsigned int cond::time::SINCE_RUN_GROUP_SIZE = 1000
 
static constexpr unsigned long cond::time::SINCE_TIME_GROUP_SIZE = 154618822656000
 
static constexpr TimeType cond::time::TIMESTAMP =cond::timestamp
 
static constexpr TimeType cond::time::USERID =cond::userid