1 #ifndef SUSYCAF_GENERIC_PLOTTER_H 2 #define SUSYCAF_GENERIC_PLOTTER_H 22 void plot_all(std::vector<Book*>&,
int reference = -1)
const;
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;
27 TLegend* make_legend2D(
const std::string, TH1*)
const;
28 TLegend make_legend(
const std::vector<std::string>&,
const std::vector<TH1*>&)
const;
29 void normalize(std::vector<TH1*>&)
const;
30 void setLabels(std::vector<TH1*>&)
const;
31 void setBounds(std::vector<TH1*>&,
bool,
bool)
const;
32 double hist_maximum(TH1*)
const;
33 double hist_minimum(TH1*)
const;
35 void plotDocumentOpen()
const;
36 void plotDocumentClose()
const;
37 void plotDocumentAdd(
const TCanvas&)
const;
38 void printFile(
const std::string&,
const TCanvas&)
const;
42 static double ratioError2(
double numerator,
double numeratorError2,
double denominator,
double denominatorError2);
const std::string printSuffix_
const double maxRatioUncertainty_
const unsigned canvasWidth_
const std::vector< std::string > replace_text_
const double fixRatioYAxis_