11 #ifndef ROOT_PLOTTER_HH 12 #define ROOT_PLOTTER_HH 47 RootPlotter(TH1* histogram,
double width = 300,
double height = 200);
54 void plotSame (TPad* pad, TString plotOptions,
double scaleFactor = 1.0);
55 virtual void plot(TString plotDirectory, TString plotOptions =
"", TPad* pad = 0,
double scaleFactor = 1.0);
57 void addText(TString text,
double x,
double y,
int alignh = 1,
int alignv = 2,
double size = 0.06,
int ndc =
true,
int color = kBlack);
void setYaxisName(TString name)
virtual double getGlobalMin()
void plotSame(TPad *pad, TString plotOptions, double scaleFactor=1.0)
TString & objDrawOptions(int i)
RootPlotter(TH1 *histogram, double width=300, double height=200)
virtual double getGlobalMax()
virtual void plot(TString plotDirectory, TString plotOptions="", TPad *pad=0, double scaleFactor=1.0)
TString & drawOptions(int i)
void plotStacked(TPad *pad, double scaleFactor)
virtual void setHistogramStyle(TH1 *histogram, bool setMinMax=1)=0
void addText(TString text, double x, double y, int alignh=1, int alignv=2, double size=0.06, int ndc=true, int color=kBlack)
TH1 * getHistogram(int i)
void setXaxisName(TString name)
std::vector< TString > _drawOptions
std::vector< TString > _objDrawOptions