CMS 3D CMS Logo

Classes | Functions
DQMEventInfo.cc File Reference
#include "DQMServices/Core/interface/DQMOneEDAnalyzer.h"
#include "FWCore/Framework/interface/LuminosityBlock.h"
#include "FWCore/Version/interface/GetReleaseVersion.h"
#include "FWCore/Framework/interface/Event.h"
#include "FWCore/Framework/interface/Run.h"
#include "FWCore/Framework/interface/MakerMacros.h"
#include "FWCore/ParameterSet/interface/ParameterSet.h"
#include "FWCore/ServiceRegistry/interface/Service.h"
#include <algorithm>
#include <iostream>
#include <sstream>
#include <fstream>
#include <string>
#include <vector>
#include <memory>
#include <cstdio>
#include <cmath>
#include <map>
#include <sys/time.h>
#include <TSystem.h>
#include <boost/algorithm/string/join.hpp>

Go to the source code of this file.

Classes

class  DQMEventInfo
 

Functions

static const edm::ParameterSetDescriptionFillerPluginFactory::PMaker< edm::ParameterSetDescriptionFiller< DQMEventInfo > > s_filler_0__LINE__ ("DQMEventInfo")
 
static const edm::MakerPluginFactory ::PMaker< edm::WorkerMaker< DQMEventInfo > > s_maker__LINE__ ("DQMEventInfo")
 
static double stampToReal (edm::Timestamp time)
 
static double stampToReal (const timeval &time)
 

Function Documentation

◆ s_filler_0__LINE__()

static const edm::ParameterSetDescriptionFillerPluginFactory::PMaker<edm::ParameterSetDescriptionFiller< DQMEventInfo > > s_filler_0__LINE__ ( "DQMEventInfo"  )
static

◆ s_maker__LINE__()

static const edm::MakerPluginFactory ::PMaker< edm::WorkerMaker< DQMEventInfo > > s_maker__LINE__ ( "DQMEventInfo"  )
static

◆ stampToReal() [1/2]

static double stampToReal ( edm::Timestamp  time)
inlinestatic

Definition at line 85 of file DQMEventInfo.cc.

References MillePedeFileConverter_cfg::e, and protons_cff::time.

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

85  {
86  return (time.value() >> 32) + 1e-6 * (time.value() & 0xffffffff);
87 }

◆ stampToReal() [2/2]

static double stampToReal ( const timeval &  time)
inlinestatic

Definition at line 89 of file DQMEventInfo.cc.

References MillePedeFileConverter_cfg::e, and protons_cff::time.

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