1 #ifndef SUSYCAF_GENERIC_PLOTTER_H
2 #define SUSYCAF_GENERIC_PLOTTER_H
23 void plot1D(std::string, std::vector<std::string>&, std::vector<TH1*>&,
int reference = -1)
const;
24 void plot2D(std::string, std::vector<std::string>&, std::vector<TH1*>&)
const;
25 void plotRatio(
bool, std::vector<std::string>&, std::vector<TH1*>&,
int reference, TCanvas&
c)
const;
28 TLegend
make_legend(
const std::vector<std::string>&,
const std::vector<TH1*>&)
const;
31 void setBounds(std::vector<TH1*>&,
bool,
bool)
const;
38 void printFile(
const std::string&,
const TCanvas&)
const;
41 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");
42 static double ratioError2(
double numerator,
double numeratorError2,
double denominator,
double denominatorError2);
static double ratioError2(double numerator, double numeratorError2, double denominator, double denominatorError2)
double hist_maximum(TH1 *) const
const std::string plotDocument_
void plotDocumentClose() const
void setLabels(std::vector< TH1 * > &) const
const std::string printSuffix_
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")
const double maxRatioUncertainty_
void plotRatio(bool, std::vector< std::string > &, std::vector< TH1 * > &, int reference, TCanvas &c) const
GenericPlotter(const edm::ParameterSet &)
void normalize(std::vector< TH1 * > &) const
void plot2D(std::string, std::vector< std::string > &, std::vector< TH1 * > &) const
TLegend * make_legend2D(const std::string, TH1 *) const
TLegend make_legend(const std::vector< std::string > &, const std::vector< TH1 * > &) const
double hist_minimum(TH1 *) const
const unsigned canvasHeight_
void printFile(const std::string &, const TCanvas &) const
void plot_all(std::vector< Book * > &, int reference=-1) const
const unsigned canvasWidth_
void plotDocumentAdd(const TCanvas &) const
const std::vector< std::string > replace_text_
void setBounds(std::vector< TH1 * > &, bool, bool) const
const double fixRatioYAxis_
const std::string drawOption2D_
void plot1D(std::string, std::vector< std::string > &, std::vector< TH1 * > &, int reference=-1) const
void plotDocumentOpen() const