test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Functions
DQMEventInfo.cc File Reference
#include "DQMEventInfo.h"
#include "FWCore/Framework/interface/LuminosityBlock.h"
#include "FWCore/Version/interface/GetReleaseVersion.h"
#include <TSystem.h>
#include <stdio.h>
#include <sstream>
#include <math.h>

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 17 of file DQMEventInfo.cc.

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

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

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

Definition at line 20 of file DQMEventInfo.cc.

References alignCSCRings::e.

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