CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Classes | Namespaces | Functions
DQMRootOutputModule.cc File Reference
#include <algorithm>
#include <iostream>
#include <string>
#include <map>
#include <memory>
#include <vector>
#include <boost/shared_ptr.hpp>
#include <boost/filesystem.hpp>
#include "TFile.h"
#include "TTree.h"
#include "TString.h"
#include "TH1.h"
#include "TH2.h"
#include "TProfile.h"
#include "FWCore/Framework/interface/one/OutputModule.h"
#include "FWCore/Framework/interface/RunPrincipal.h"
#include "FWCore/Framework/interface/LuminosityBlockPrincipal.h"
#include "DQMServices/Core/interface/DQMStore.h"
#include "DQMServices/Core/interface/MonitorElement.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 "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 "format.h"

Go to the source code of this file.

Classes

class  DQMRootOutputModule
 

Namespaces

 edm
 A PluginFactory for concrete instances of class KalmanAlignmentMetricsUpdator.
 

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

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

Definition at line 229 of file DQMRootOutputModule.cc.

References kFloatIndex, kIntIndex, kStringIndex, kTH1DIndex, kTH1FIndex, kTH1SIndex, kTH2DIndex, kTH2FIndex, kTH2SIndex, kTH3FIndex, kTProfile2DIndex, and kTProfileIndex.

Referenced by DQMRootOutputModule::openFile().

231  {
232  switch(iTypeIndex) {
233  case kIntIndex:
234  return new IntTreeHelper(iTree,iFullNameBufferPtr);
235  case kFloatIndex:
236  return new FloatTreeHelper(iTree,iFullNameBufferPtr);
237  case kStringIndex:
238  return new StringTreeHelper(iTree,iFullNameBufferPtr);
239  case kTH1FIndex:
240  return new TreeHelper<TH1F>(iTree,iFullNameBufferPtr);
241  case kTH1SIndex:
242  return new TreeHelper<TH1S>(iTree,iFullNameBufferPtr);
243  case kTH1DIndex:
244  return new TreeHelper<TH1D>(iTree,iFullNameBufferPtr);
245  case kTH2FIndex:
246  return new TreeHelper<TH2F>(iTree,iFullNameBufferPtr);
247  case kTH2SIndex:
248  return new TreeHelper<TH2S>(iTree,iFullNameBufferPtr);
249  case kTH2DIndex:
250  return new TreeHelper<TH2D>(iTree,iFullNameBufferPtr);
251  case kTH3FIndex:
252  return new TreeHelper<TH3F>(iTree,iFullNameBufferPtr);
253  case kTProfileIndex:
254  return new TreeHelper<TProfile>(iTree,iFullNameBufferPtr);
255  case kTProfile2DIndex:
256  return new TreeHelper<TProfile2D>(iTree,iFullNameBufferPtr);
257  }
258  assert(false);
259  return 0;
260 }
static const edm::ParameterSetDescriptionFillerPluginFactory::PMaker<edm::ParameterSetDescriptionFiller< DQMRootOutputModule > > s_filler__LINE__ ( "DQMRootOutputModule"  )
static
static const edm::MakerPluginFactory ::PMaker< edm::WorkerMaker< DQMRootOutputModule > > s_maker__LINE__ ( "DQMRootOutputModule"  )
static