10 #ifndef ROOT_PLOTTER_1D_HH 11 #define ROOT_PLOTTER_1D_HH 40 RootPlotter1D(TH1* histogram,
double width = 400,
double height = 300);
45 void addVerticalBox(
double xmin,
double xmax,
int fillColour,
int fillstyle);
62 void plotRatio(TString plotDirectory, TString plotOptions =
"", TPad* pad = 0,
double scaleFactor = 1.0,
double* returnMin = 0,
double* returnMax = 0);
64 void plotPulls(TString plotDirectory, TString plotOptions =
"", TPad* pad = 0,
double scaleFactor = 1.0);
66 void plotWithRatio(TString plotDirectory, TString plotOptions =
"", TPad* pad = 0);
68 void plotWithPulls(TString plotDirectory, TString plotOptions =
"", TPad* pad = 0);
void setRatioMin(double val)
virtual void setHistogramStyle(TH1 *histogram, bool setMinMax=1)
virtual double getGlobalMin()
void setRatioMax(double val)
double getRatioMin(RootPlotter1D *ratioPlotter)
void plotPulls(TString plotDirectory, TString plotOptions="", TPad *pad=0, double scaleFactor=1.0)
virtual double getGlobalMax()
void plotWithRatio(TString plotDirectory, TString plotOptions="", TPad *pad=0)
void plotWithPulls(TString plotDirectory, TString plotOptions="", TPad *pad=0)
void plotRatio(TString plotDirectory, TString plotOptions="", TPad *pad=0, double scaleFactor=1.0, double *returnMin=0, double *returnMax=0)
void addVerticalLine(double xpos, int style=1, int colour=1)
void addHorizontalLine(double ypos, int style=1, int colour=1)
void addVerticalBox(double xmin, double xmax, int fillColour, int fillstyle)
double getRatioMax(RootPlotter1D *ratioPlotter)
void addHorizontalBox(double ypos, double width, int fillColour)
RootPlotter1D(TH1 *histogram, double width=400, double height=300)