#include <GenericPlotter.h>
|
| GenericPlotter (const edm::ParameterSet &) |
|
double | hist_maximum (TH1 *) const |
|
double | hist_minimum (TH1 *) const |
|
TLegend | make_legend (const std::vector< std::string > &, const std::vector< TH1 * > &) const |
|
TLegend * | make_legend2D (const std::string, TH1 *) const |
|
void | normalize (std::vector< TH1 * > &) const |
|
void | plot1D (std::string, std::vector< std::string > &, std::vector< TH1 * > &, int reference=-1) const |
|
void | plot2D (std::string, std::vector< std::string > &, std::vector< TH1 * > &) const |
|
void | plot_all (std::vector< Book * > &, int reference=-1) const |
|
void | plotDocumentAdd (const TCanvas &) const |
|
void | plotDocumentClose () const |
|
void | plotDocumentOpen () const |
|
void | plotRatio (bool, std::vector< std::string > &, std::vector< TH1 * > &, int reference, TCanvas &c) const |
|
void | printFile (const std::string &, const TCanvas &) const |
|
void | setBounds (std::vector< TH1 * > &, bool, bool) const |
|
void | setLabels (std::vector< TH1 * > &) const |
|
|
static void | make_rebinned_ratios (std::vector< TH1 * > &ratios, const std::vector< TH1 * > &hist, int reference, double maxUncertainty, const std::string &refName, const std::string postfix="_ratio") |
|
static double | ratioError2 (double numerator, double numeratorError2, double denominator, double denominatorError2) |
|
Definition at line 12 of file GenericPlotter.h.
◆ GenericPlotter()
◆ hist_maximum()
double GenericPlotter::hist_maximum |
( |
TH1 * |
| ) |
const |
◆ hist_minimum()
double GenericPlotter::hist_minimum |
( |
TH1 * |
| ) |
const |
◆ make_legend()
TLegend GenericPlotter::make_legend |
( |
const std::vector< std::string > & |
, |
|
|
const std::vector< TH1 * > & |
|
|
) |
| const |
◆ make_legend2D()
TLegend* GenericPlotter::make_legend2D |
( |
const std::string |
, |
|
|
TH1 * |
|
|
) |
| const |
◆ make_rebinned_ratios()
static void GenericPlotter::make_rebinned_ratios |
( |
std::vector< TH1 * > & |
ratios, |
|
|
const std::vector< TH1 * > & |
hist, |
|
|
int |
reference, |
|
|
double |
maxUncertainty, |
|
|
const std::string & |
refName, |
|
|
const std::string |
postfix = "_ratio" |
|
) |
| |
|
static |
◆ normalize()
void GenericPlotter::normalize |
( |
std::vector< TH1 * > & |
| ) |
const |
◆ plot1D()
void GenericPlotter::plot1D |
( |
std::string |
, |
|
|
std::vector< std::string > & |
, |
|
|
std::vector< TH1 * > & |
, |
|
|
int |
reference = -1 |
|
) |
| const |
◆ plot2D()
void GenericPlotter::plot2D |
( |
std::string |
, |
|
|
std::vector< std::string > & |
, |
|
|
std::vector< TH1 * > & |
|
|
) |
| const |
◆ plot_all()
void GenericPlotter::plot_all |
( |
std::vector< Book * > & |
, |
|
|
int |
reference = -1 |
|
) |
| const |
◆ plotDocumentAdd()
void GenericPlotter::plotDocumentAdd |
( |
const TCanvas & |
| ) |
const |
◆ plotDocumentClose()
void GenericPlotter::plotDocumentClose |
( |
| ) |
const |
◆ plotDocumentOpen()
void GenericPlotter::plotDocumentOpen |
( |
| ) |
const |
◆ plotRatio()
void GenericPlotter::plotRatio |
( |
bool |
, |
|
|
std::vector< std::string > & |
, |
|
|
std::vector< TH1 * > & |
, |
|
|
int |
reference, |
|
|
TCanvas & |
c |
|
) |
| const |
◆ printFile()
void GenericPlotter::printFile |
( |
const std::string & |
, |
|
|
const TCanvas & |
|
|
) |
| const |
◆ ratioError2()
static double GenericPlotter::ratioError2 |
( |
double |
numerator, |
|
|
double |
numeratorError2, |
|
|
double |
denominator, |
|
|
double |
denominatorError2 |
|
) |
| |
|
static |
◆ setBounds()
void GenericPlotter::setBounds |
( |
std::vector< TH1 * > & |
, |
|
|
bool |
, |
|
|
bool |
|
|
) |
| const |
◆ setLabels()
void GenericPlotter::setLabels |
( |
std::vector< TH1 * > & |
| ) |
const |
◆ canvasHeight_
const unsigned GenericPlotter::canvasHeight_ |
◆ canvasWidth_
const unsigned GenericPlotter::canvasWidth_ |
◆ drawOption2D_
const std::string GenericPlotter::drawOption2D_ |
◆ fixRatioYAxis_
const double GenericPlotter::fixRatioYAxis_ |
◆ legend_
const bool GenericPlotter::legend_ |
◆ maxRatioUncertainty_
const double GenericPlotter::maxRatioUncertainty_ |
◆ normalize_
const bool GenericPlotter::normalize_ |
◆ plotDocument_
const std::string GenericPlotter::plotDocument_ |
◆ printSuffix_
const std::string GenericPlotter::printSuffix_ |
◆ replace_text_
const std::vector<std::string> GenericPlotter::replace_text_ |