9 #include "TProfile2D.h" 26 _conditionsInRunToken(iC.consumes<
edm::ConditionsInRunBlock,
edm::
InRun>(
edm::
InputTag(
"conditionsInEdm"))) {}
31 _conditionsInRunToken(iC.consumes<
edm::ConditionsInRunBlock,
edm::
InRun>(
edm::
InputTag(
"conditionsInEdm"))) {}
34 const char*
name,
const char*
title,
const unsigned int nbinx,
const double xmin,
const double xmax) {
35 TH1F** pointer =
new TH1F*(
nullptr);
49 LogDebug(
"Destructor") <<
"All BaseHistoParams destroyed ";
53 const char*
name,
const char*
title,
const unsigned int nbinx,
const double xmin,
const double xmax) {
54 TProfile** pointer =
new TProfile*(
nullptr);
66 const unsigned int nbinx,
69 const unsigned int nbiny,
72 TH2F** pointer =
new TH2F*(
nullptr);
84 const unsigned int nbinx,
87 const unsigned int nbiny,
90 TProfile2D** pointer =
new TProfile2D*(
nullptr);
110 unsigned int fillnum = 0;
133 sprintf(fillrun,
"%s",
"run");
135 sprintf(fillrun,
"%s",
"fill");
139 sprintf(
dirname,
"%s_%d", fillrun, irun);
144 for (
unsigned int ih = 0; ih <
_histograms.size(); ++ih) {
edm::EDGetTokenT< edm::ConditionsInRunBlock > _conditionsInRunToken
TFileDirectory & tFileDirectory()
TH1F ** makeTH1F(const char *name, const char *title, const unsigned int nbinx, const double xmin, const double xmax)
RunHistogramManager(edm::ConsumesCollector &&iC, const bool fillHistograms=false)
TProfile ** makeTProfile(const char *name, const char *title, const unsigned int nbinx, const double xmin, const double xmax)
std::vector< BaseHistoParams * > _histograms
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)
bool getByToken(EDGetToken token, Handle< PROD > &result) const
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)