|
|
Go to the documentation of this file.
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) {
TFileDirectory mkdir(const std::string &dir, const std::string &descr="")
create a new subdirectory
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)
TFileDirectory & tFileDirectory()
std::vector< BaseHistoParams * > _histograms
virtual ~BaseHistoParams()
edm::EDGetTokenT< edm::ConditionsInRunBlock > _conditionsInRunToken
bool getByToken(EDGetToken token, Handle< PROD > &result) const
TH1F ** makeTH1F(const char *name, const char *title, const unsigned int nbinx, const double xmin, const double xmax)
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)
void beginRun(const edm::Run &iRun)
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)