CMS 3D CMS Logo

Functions
DQMEventInfo.cc File Reference
#include "DQMEventInfo.h"
#include "FWCore/Framework/interface/LuminosityBlock.h"
#include "FWCore/Version/interface/GetReleaseVersion.h"
#include <TSystem.h>
#include <algorithm>
#include <cstdio>
#include <sstream>
#include <cmath>
#include <boost/algorithm/string/join.hpp>

Go to the source code of this file.

Functions

static double stampToReal (edm::Timestamp time)
 
static double stampToReal (const timeval &time)
 

Function Documentation

static double stampToReal ( edm::Timestamp  time)
inlinestatic

Definition at line 19 of file DQMEventInfo.cc.

References MillePedeFileConverter_cfg::e, and edm::Timestamp::value().

Referenced by DQMEventInfo::analyze(), DQMEventInfo::bookHistograms(), and DQMEventInfo::DQMEventInfo().

19  {
20  return (time.value() >> 32) + 1e-6 * (time.value() & 0xffffffff);
21 }
TimeValue_t value() const
Definition: Timestamp.h:45
static double stampToReal ( const timeval &  time)
inlinestatic

Definition at line 23 of file DQMEventInfo.cc.

References MillePedeFileConverter_cfg::e.

23 { return time.tv_sec + 1e-6 * time.tv_usec; }