9 #include "TProfile2D.h"
29 TH1F** pointer =
new TH1F*(0);
34 LogDebug(
"TH1Fmade") <<
"Histogram " << name <<
" " << title <<
" pre-booked:" <<
_histograms.size();
47 LogDebug(
"Destructor") <<
"All BaseHistoParams destroyed ";
53 TProfile** pointer =
new TProfile*(0);
58 LogDebug(
"TProfilemade") <<
"Histogram " << name <<
" " << title <<
" pre-booked:" <<
_histograms.size();
64 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 ) {
66 TH2F** pointer =
new TH2F*(0);
71 LogDebug(
"TH2Fmade") <<
"Histogram " << name <<
" " << title <<
" pre-booked :" <<
_histograms.size();
78 TProfile2D** pointer =
new TProfile2D*(0);
83 LogDebug(
"TProfile2Dmade") <<
"Histogram " << name <<
" " << title <<
" pre-booked :" <<
_histograms.size();
106 sprintf(dirname,
"run_%d",irun);
111 for(
unsigned int ih=0;ih<
_histograms.size();++ih) {
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
virtual void beginRun(const edm::Run &iRun, TFileDirectory &subrun)
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)