10 #include "TProfile2D.h"
27 _fillHistograms(fillHistograms), _histograms() { }
31 TH1F** pointer =
new TH1F*(0);
36 LogDebug(
"TH1Fmade") <<
"Histogram " << name <<
" " << title <<
" pre-booked:" <<
_histograms.size();
49 LogDebug(
"Destructor") <<
"All BaseHistoParams destroyed ";
55 TProfile** pointer =
new TProfile*(0);
60 LogDebug(
"TProfilemade") <<
"Histogram " << name <<
" " << title <<
" pre-booked:" <<
_histograms.size();
66 TH2F**
RunHistogramManager::makeTH2F(
const char*
name,
const char*
title,
const unsigned int nbinx,
const double xmin,
const double xmax,
const unsigned int nbiny,
const double ymin,
const double ymax ) {
68 TH2F** pointer =
new TH2F*(0);
73 LogDebug(
"TH2Fmade") <<
"Histogram " << name <<
" " << title <<
" pre-booked :" <<
_histograms.size();
80 TProfile2D** pointer =
new TProfile2D*(0);
85 LogDebug(
"TProfile2Dmade") <<
"Histogram " << name <<
" " << title <<
" pre-booked :" <<
_histograms.size();
106 beginRun(cirb->lhcFillNumber,subdir);
124 sprintf(fillrun,
"%s",
"run");
127 sprintf(fillrun,
"%s",
"fill");
131 sprintf(dirname,
"%s_%d",fillrun,irun);
136 for(
unsigned int ih=0;ih<
_histograms.size();++ih) {
bool getByLabel(std::string const &label, Handle< PROD > &result) const
RunHistogramManager(const bool fillHistograms=false)
TH1F ** makeTH1F(const char *name, const char *title, const unsigned int nbinx, const double xmin, const double xmax)
TProfile ** makeTProfile(const char *name, const char *title, const unsigned int nbinx, const double xmin, const double xmax)
std::vector< BaseHistoParams * > _histograms
TFileDirectory mkdir(const std::string &dir, const std::string &descr="")
create a new subdirectory
TProfile2D ** makeTProfile2D(const char *name, const char *title, const unsigned int nbinx, const double xmin, const double xmax, const unsigned int nbiny, const double ymin, const double ymax)
virtual ~BaseHistoParams()
void beginRun(const edm::Run &iRun)
TH2F ** makeTH2F(const char *name, const char *title, const unsigned int nbinx, const double xmin, const double xmax, const unsigned int nbiny, const double ymin, const double ymax)