CMS 3D CMS Logo

Classes | Namespaces | Functions
DQMRootOutputModule.cc File Reference
#include <algorithm>
#include <iostream>
#include <memory>
#include <map>
#include <string>
#include <vector>
#include "TFile.h"
#include "TTree.h"
#include "TString.h"
#include "TH1.h"
#include "TH2.h"
#include "TProfile.h"
#include "tbb/task_arena.h"
#include "FWCore/Framework/interface/one/OutputModule.h"
#include "FWCore/Framework/interface/RunForOutput.h"
#include "FWCore/Framework/interface/LuminosityBlockForOutput.h"
#include "DQMServices/Core/interface/DQMStore.h"
#include "FWCore/ServiceRegistry/interface/Service.h"
#include "FWCore/Framework/interface/MakerMacros.h"
#include "FWCore/MessageLogger/interface/JobReport.h"
#include "FWCore/Utilities/interface/Digest.h"
#include "DataFormats/Provenance/interface/ProcessHistory.h"
#include "DataFormats/Provenance/interface/ProcessHistoryID.h"
#include "DataFormats/Provenance/interface/ProcessHistoryRegistry.h"
#include "FWCore/ParameterSet/interface/Registry.h"
#include "DataFormats/Histograms/interface/DQMToken.h"
#include "format.h"

Go to the source code of this file.

Classes

class  DQMRootOutputModule
 

Namespaces

 edm
 HLT enums.
 

Functions

static TreeHelperBase * makeHelper (unsigned int iTypeIndex, TTree *iTree, std::string *iFullNameBufferPtr)
 
static const edm::ParameterSetDescriptionFillerPluginFactory::PMaker< edm::ParameterSetDescriptionFiller< DQMRootOutputModule > > s_filler__LINE__ ("DQMRootOutputModule")
 
static const edm::MakerPluginFactory ::PMaker< edm::WorkerMaker< DQMRootOutputModule > > s_maker__LINE__ ("DQMRootOutputModule")
 

Function Documentation

◆ makeHelper()

static TreeHelperBase* makeHelper ( unsigned int  iTypeIndex,
TTree *  iTree,
std::string *  iFullNameBufferPtr 
)
static

Definition at line 243 of file DQMRootOutputModule.cc.

243  {
244  switch (iTypeIndex) {
245  case kIntIndex:
246  return new IntTreeHelper(iTree, iFullNameBufferPtr);
247  case kFloatIndex:
248  return new FloatTreeHelper(iTree, iFullNameBufferPtr);
249  case kStringIndex:
250  return new StringTreeHelper(iTree, iFullNameBufferPtr);
251  case kTH1FIndex:
252  return new TreeHelper<TH1F>(iTree, iFullNameBufferPtr);
253  case kTH1SIndex:
254  return new TreeHelper<TH1S>(iTree, iFullNameBufferPtr);
255  case kTH1DIndex:
256  return new TreeHelper<TH1D>(iTree, iFullNameBufferPtr);
257  case kTH2FIndex:
258  return new TreeHelper<TH2F>(iTree, iFullNameBufferPtr);
259  case kTH2SIndex:
260  return new TreeHelper<TH2S>(iTree, iFullNameBufferPtr);
261  case kTH2DIndex:
262  return new TreeHelper<TH2D>(iTree, iFullNameBufferPtr);
263  case kTH3FIndex:
264  return new TreeHelper<TH3F>(iTree, iFullNameBufferPtr);
265  case kTProfileIndex:
266  return new TreeHelper<TProfile>(iTree, iFullNameBufferPtr);
267  case kTProfile2DIndex:
268  return new TreeHelper<TProfile2D>(iTree, iFullNameBufferPtr);
269  }
270  assert(false);
271  return nullptr;
272 }

References cms::cuda::assert(), kFloatIndex, kIntIndex, kStringIndex, kTH1DIndex, kTH1FIndex, kTH1SIndex, kTH2DIndex, kTH2FIndex, kTH2SIndex, kTH3FIndex, kTProfile2DIndex, and kTProfileIndex.

Referenced by DQMRootOutputModule::openFile().

◆ s_filler__LINE__()

static const edm::ParameterSetDescriptionFillerPluginFactory::PMaker<edm::ParameterSetDescriptionFiller< DQMRootOutputModule > > s_filler__LINE__ ( "DQMRootOutputModule"  )
static

◆ s_maker__LINE__()

static const edm::MakerPluginFactory ::PMaker< edm::WorkerMaker< DQMRootOutputModule > > s_maker__LINE__ ( "DQMRootOutputModule"  )
static
kTProfileIndex
Definition: format.h:33
cms::cuda::assert
assert(be >=bs)
kTH3FIndex
Definition: format.h:32
kIntIndex
Definition: format.h:23
kTH1FIndex
Definition: format.h:26
kStringIndex
Definition: format.h:25
kTH1SIndex
Definition: format.h:27
kTH2SIndex
Definition: format.h:30
kTH2FIndex
Definition: format.h:29
kTH2DIndex
Definition: format.h:31
kTH1DIndex
Definition: format.h:28
kFloatIndex
Definition: format.h:24
kTProfile2DIndex
Definition: format.h:34