45 #include "TGraphErrors.h"
46 #include "TGraphAsymmErrors.h"
49 #include "TPaveText.h"
52 #include "TMultiGraph.h"
87 hist->SetFillStyle(fillstyle) ;
88 hist->SetFillColor(fillcolor) ;
94 hist->SetLineColor(linecolor) ;
95 hist->SetLineWidth(linewidth) ;
96 hist->SetLineStyle(linestyle) ;
101 float xlabelsize=0.05,
float xtitleoffset=1.4,
float xtitlesize=0.05,
102 float ylabelsize=0.05,
float ytitleoffset=1.4,
float ytitlesize=0.05)
104 hist->GetXaxis()->SetTitleSize(xtitlesize) ;
105 hist->GetXaxis()->SetTitleOffset(xtitleoffset) ;
106 hist->GetXaxis()->SetLabelSize(xlabelsize) ;
107 hist->GetYaxis()->SetTitleSize(ytitlesize) ;
108 hist->GetYaxis()->SetTitleOffset(ytitleoffset) ;
109 hist->GetYaxis()->SetLabelSize(ylabelsize) ;
115 hist->SetMarkerStyle(markerstyle) ;
116 hist->SetMarkerColor(markercolor) ;
121 int fillstyle=1001,
int fillcolor=0,
122 int markerstyle=20,
int markercolor=1,
int markersize=1,
123 float xlabelsize=0.05,
float xtitleoffset=1.4,
float xtitlesize=0.05,
124 float ylabelsize=0.05,
float ytitleoffset=1.4,
float ytitlesize=0.05,
125 bool displaystats=
false)
131 hist->SetStats(displaystats) ;
138 pad->SetFillStyle(fillstyle) ;
139 pad->SetFillColor(fillcolor) ;
144 float leftmargin=0.15,
float rightmargin=0.05,
float bottommargin=0.15,
float topmargin=0.05,
145 int bordermode=0,
bool logx=
false,
bool logy=
true,
bool settickx=
true,
bool setticky=
true)
148 pad->SetMargin(leftmargin, rightmargin, bottommargin, topmargin) ;
149 pad->SetBorderMode(bordermode) ;
154 pad->SetTickx(settickx) ;
155 pad->SetTicky(setticky) ;
176 gr->SetLineColor(linecolor) ;
177 gr->SetLineWidth(linewidth) ;
178 gr->SetLineStyle(linestyle) ;
184 gr->SetFillStyle(fillstyle) ;
185 gr->SetFillColor(fillcolor) ;
191 gr->SetMarkerStyle(markerstyle) ;
192 gr->SetMarkerColor(markercolor) ;
198 float xlabelsize=0.05,
float xtitleoffset=1.4,
float xtitlesize=0.05,
199 float ylabelsize=0.05,
float ytitleoffset=1.4,
float ytitlesize=0.05)
201 gr->GetXaxis()->SetTitleSize(xtitlesize) ;
202 gr->GetXaxis()->SetTitleOffset(xtitleoffset) ;
203 gr->GetXaxis()->SetLabelSize(xlabelsize) ;
204 gr->GetYaxis()->SetTitleSize(ytitlesize) ;
205 gr->GetYaxis()->SetTitleOffset(ytitleoffset) ;
206 gr->GetYaxis()->SetLabelSize(ylabelsize) ;
211 int fillstyle=1001,
int fillcolor=0,
212 int markerstyle=20,
int markercolor=1,
int markersize=1,
213 float xlabelsize=0.05,
float xtitleoffset=1.4,
float xtitlesize=0.05,
214 float ylabelsize=0.05,
float ytitleoffset=1.4,
float ytitlesize=0.05)
225 gre->SetLineColor(linecolor) ;
226 gre->SetLineWidth(linewidth) ;
227 gre->SetLineStyle(linestyle) ;
233 gre->SetFillStyle(fillstyle) ;
234 gre->SetFillColor(fillcolor) ;
240 gre->SetMarkerStyle(markerstyle) ;
241 gre->SetMarkerColor(markercolor) ;
247 float xlabelsize=0.05,
float xtitleoffset=1.4,
float xtitlesize=0.05,
248 float ylabelsize=0.05,
float ytitleoffset=1.5,
float ytitlesize=0.05)
250 gre->GetXaxis()->SetTitleSize(xtitlesize) ;
251 gre->GetXaxis()->SetTitleOffset(xtitleoffset) ;
252 gre->GetXaxis()->SetLabelSize(xlabelsize) ;
253 gre->GetYaxis()->SetTitleSize(ytitlesize) ;
254 gre->GetYaxis()->SetTitleOffset(ytitleoffset) ;
255 gre->GetYaxis()->SetLabelSize(ylabelsize) ;
260 int linestyle=1,
int linewidth=2,
int linecolor=1,
261 int fillstyle=1001,
int fillcolor=0,
262 int markerstyle=20,
int markercolor=1,
int markersize=1,
263 float xlabelsize=0.05,
float xtitleoffset=1.4,
float xtitlesize=0.05,
264 float ylabelsize=0.05,
float ytitleoffset=1.5,
float ytitlesize=0.05)
274 float xlabelsize=0.05,
float xtitleoffset=1.4,
float xtitlesize=0.05,
275 float ylabelsize=0.05,
float ytitleoffset=1.5,
float ytitlesize=0.05)
277 mg->GetXaxis()->SetTitleSize(xtitlesize) ;
278 mg->GetXaxis()->SetTitleOffset(xtitleoffset) ;
279 mg->GetXaxis()->SetLabelSize(xlabelsize) ;
280 mg->GetYaxis()->SetTitleSize(ytitlesize) ;
281 mg->GetYaxis()->SetTitleOffset(ytitleoffset) ;
282 mg->GetYaxis()->SetLabelSize(ylabelsize) ;
288 grae->SetLineColor(linecolor) ;
289 grae->SetLineWidth(linewidth) ;
290 grae->SetLineStyle(linestyle) ;
296 grae->SetFillStyle(fillstyle) ;
297 grae->SetFillColor(fillcolor) ;
303 grae->SetMarkerStyle(markerstyle) ;
304 grae->SetMarkerColor(markercolor) ;
310 float xlabelsize=0.03,
float xtitleoffset=1.,
float xtitlesize=0.04,
311 float ylabelsize=0.03,
float ytitleoffset=1.,
float ytitlesize=0.04)
313 grae->GetXaxis()->SetTitleSize(xtitlesize) ;
314 grae->GetXaxis()->SetTitleOffset(xtitleoffset) ;
315 grae->GetXaxis()->SetLabelSize(xlabelsize) ;
316 grae->GetYaxis()->SetTitleSize(ytitlesize) ;
317 grae->GetYaxis()->SetTitleOffset(ytitleoffset) ;
318 grae->GetYaxis()->SetLabelSize(ylabelsize) ;
323 int linestyle=1,
int linewidth=2,
int linecolor=1,
324 int fillstyle=1001,
int fillcolor=0,
325 int markerstyle=20,
int markercolor=1,
int markersize=1,
326 float xlabelsize=0.03,
float xtitleoffset=1.,
float xtitlesize=0.04,
327 float ylabelsize=0.03,
float ytitleoffset=1.,
float ytitlesize=0.04)
337 float xlabelsize=0.04,
float xtitleoffset=1.,
float xtitlesize=0.04,
338 float ylabelsize=0.04,
float ytitleoffset=1.,
float ytitlesize=0.04)
340 hstack->GetXaxis()->SetTitleSize(xtitlesize) ;
341 hstack->GetXaxis()->SetTitleOffset(xtitleoffset) ;
342 hstack->GetXaxis()->SetLabelSize(xlabelsize) ;
343 hstack->GetYaxis()->SetTitleSize(ytitlesize) ;
344 hstack->GetYaxis()->SetTitleOffset(ytitleoffset) ;
345 hstack->GetYaxis()->SetLabelSize(ylabelsize) ;