#include <iostream>
#include <string>
#include <map>
#include <memory>
#include <boost/shared_ptr.hpp>
#include "TFile.h"
#include "TTree.h"
#include "TString.h"
#include "TH1.h"
#include "TH2.h"
#include "TProfile.h"
#include "FWCore/Framework/interface/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 "DataFormats/Provenance/interface/ProcessHistory.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 |
Functions | |
DEFINE_FWK_MODULE (DQMRootOutputModule) | |
static TreeHelperBase * | makeHelper (unsigned int iTypeIndex, TTree *iTree, std::string *iFullNameBufferPtr) |
DEFINE_FWK_MODULE | ( | DQMRootOutputModule | ) |
static TreeHelperBase* makeHelper | ( | unsigned int | iTypeIndex, |
TTree * | iTree, | ||
std::string * | iFullNameBufferPtr | ||
) | [static] |
Definition at line 220 of file DQMRootOutputModule.cc.
References kFloatIndex, kIntIndex, kStringIndex, kTH1DIndex, kTH1FIndex, kTH1SIndex, kTH2DIndex, kTH2FIndex, kTH2SIndex, kTH3FIndex, kTProfile2DIndex, and kTProfileIndex.
Referenced by DQMRootOutputModule::openFile().
{ switch(iTypeIndex) { case kIntIndex: return new IntTreeHelper(iTree,iFullNameBufferPtr); case kFloatIndex: return new FloatTreeHelper(iTree,iFullNameBufferPtr); case kStringIndex: return new StringTreeHelper(iTree,iFullNameBufferPtr); case kTH1FIndex: return new TreeHelper<TH1F>(iTree,iFullNameBufferPtr); case kTH1SIndex: return new TreeHelper<TH1S>(iTree,iFullNameBufferPtr); case kTH1DIndex: return new TreeHelper<TH1D>(iTree,iFullNameBufferPtr); case kTH2FIndex: return new TreeHelper<TH2F>(iTree,iFullNameBufferPtr); case kTH2SIndex: return new TreeHelper<TH2S>(iTree,iFullNameBufferPtr); case kTH2DIndex: return new TreeHelper<TH2D>(iTree,iFullNameBufferPtr); case kTH3FIndex: return new TreeHelper<TH3F>(iTree,iFullNameBufferPtr); case kTProfileIndex: return new TreeHelper<TProfile>(iTree,iFullNameBufferPtr); case kTProfile2DIndex: return new TreeHelper<TProfile2D>(iTree,iFullNameBufferPtr); } assert(false); return 0; }