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 "oneapi/tbb/task_arena.h"
#include "FWCore/Framework/interface/GetterOfProducts.h"
#include "FWCore/Framework/interface/one/OutputModule.h"
#include "FWCore/Framework/interface/RunForOutput.h"
#include "FWCore/Framework/interface/LuminosityBlockForOutput.h"
#include "FWCore/Framework/interface/TypeMatch.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/BranchType.h"
#include "FWCore/Utilities/interface/Digest.h"
#include "FWCore/Utilities/interface/GlobalIdentifier.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_0__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 250 of file DQMRootOutputModule.cc.

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

Referenced by DQMRootOutputModule::openFile().

250  {
251  switch (iTypeIndex) {
252  case kIntIndex:
253  return new IntTreeHelper(iTree, iFullNameBufferPtr);
254  case kFloatIndex:
255  return new FloatTreeHelper(iTree, iFullNameBufferPtr);
256  case kStringIndex:
257  return new StringTreeHelper(iTree, iFullNameBufferPtr);
258  case kTH1FIndex:
259  return new TreeHelper<TH1F>(iTree, iFullNameBufferPtr);
260  case kTH1SIndex:
261  return new TreeHelper<TH1S>(iTree, iFullNameBufferPtr);
262  case kTH1DIndex:
263  return new TreeHelper<TH1D>(iTree, iFullNameBufferPtr);
264  case kTH1IIndex:
265  return new TreeHelper<TH1I>(iTree, iFullNameBufferPtr);
266  case kTH2FIndex:
267  return new TreeHelper<TH2F>(iTree, iFullNameBufferPtr);
268  case kTH2SIndex:
269  return new TreeHelper<TH2S>(iTree, iFullNameBufferPtr);
270  case kTH2DIndex:
271  return new TreeHelper<TH2D>(iTree, iFullNameBufferPtr);
272  case kTH2IIndex:
273  return new TreeHelper<TH2I>(iTree, iFullNameBufferPtr);
274  case kTH3FIndex:
275  return new TreeHelper<TH3F>(iTree, iFullNameBufferPtr);
276  case kTProfileIndex:
277  return new TreeHelper<TProfile>(iTree, iFullNameBufferPtr);
278  case kTProfile2DIndex:
279  return new TreeHelper<TProfile2D>(iTree, iFullNameBufferPtr);
280  }
281  assert(false);
282  return nullptr;
283 }
assert(be >=bs)

◆ s_filler_0__LINE__()

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

◆ s_maker__LINE__()

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