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 "FWCore/ParameterSet/interface/Registry.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 21 of file DQMEventInfo.cc.

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

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

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

Definition at line 24 of file DQMEventInfo.cc.

References alignCSCRings::e.

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