ATLAS Offline Software
|
#include <sstream>
#include <vector>
#include <fstream>
#include "TH1F.h"
#include "TCanvas.h"
#include "TRandom.h"
#include "THStack.h"
#include "TGraph.h"
#include "TGraphErrors.h"
#include "TGraphAsymmErrors.h"
#include "TStyle.h"
#include "TLegend.h"
#include "TPaveText.h"
#include "TLatex.h"
#include "TRandom3.h"
#include "TMultiGraph.h"
Go to the source code of this file.
Functions | |
int | SetHistFillAttributes (TH1F *hist, int fillstyle=1001, int fillcolor=0) |
int | SetHistLineAttributes (TH1F *hist, int linestyle=1, int linewidth=2, int linecolor=1) |
int | SetHistAxisAttributes (TH1F *hist, float xlabelsize=0.05, float xtitleoffset=1.4, float xtitlesize=0.05, float ylabelsize=0.05, float ytitleoffset=1.4, float ytitlesize=0.05) |
int | SetHistMarkerAttributes (TH1F *hist, int markerstyle=20, int markercolor=1, int markersize=1) |
int | SetHistAttributes (TH1F *hist, int linestyle=1, int linewidth=2, int linecolor=1, int fillstyle=1001, int fillcolor=0, int markerstyle=20, int markercolor=1, int markersize=1, float xlabelsize=0.05, float xtitleoffset=1.4, float xtitlesize=0.05, float ylabelsize=0.05, float ytitleoffset=1.4, float ytitlesize=0.05, bool displaystats=false) |
int | SetPadFillAttributes (TPad *pad, int fillstyle=0, float fillcolor=0) |
int | SetPadAttributes (TPad *pad, int fillstyle=0, int fillcolor=0, float leftmargin=0.15, float rightmargin=0.05, float bottommargin=0.15, float topmargin=0.05, int bordermode=0, bool logx=false, bool logy=true, bool settickx=true, bool setticky=true) |
int | SetGraphLineAttributes (TGraph *gr, int linestyle=1, int linewidth=2, int linecolor=1) |
int | SetGraphFillAttributes (TGraph *gr, int fillstyle=1001, int fillcolor=0) |
int | SetGraphMarkerAttributes (TGraph *gr, int markerstyle=20, int markercolor=1, int markersize=1) |
int | SetGraphAxisAttributes (TGraph *gr, float xlabelsize=0.05, float xtitleoffset=1.4, float xtitlesize=0.05, float ylabelsize=0.05, float ytitleoffset=1.4, float ytitlesize=0.05) |
int | SetGraphAttributes (TGraph *gr, int linestyle=1, int linewidth=2, int linecolor=1, int fillstyle=1001, int fillcolor=0, int markerstyle=20, int markercolor=1, int markersize=1, float xlabelsize=0.05, float xtitleoffset=1.4, float xtitlesize=0.05, float ylabelsize=0.05, float ytitleoffset=1.4, float ytitlesize=0.05) |
int | SetGraphErrorsLineAttributes (TGraphErrors *gre, int linestyle=1, int linewidth=2, int linecolor=1) |
int | SetGraphErrorsFillAttributes (TGraph *gre, int fillstyle=1001, int fillcolor=0) |
int | SetGraphErrorsMarkerAttributes (TGraph *gre, int markerstyle=20, int markercolor=1, int markersize=1) |
int | SetGraphErrorsAxisAttributes (TGraph *gre, float xlabelsize=0.05, float xtitleoffset=1.4, float xtitlesize=0.05, float ylabelsize=0.05, float ytitleoffset=1.5, float ytitlesize=0.05) |
int | SetGraphErrorsAttributes (TGraphErrors *gre, int linestyle=1, int linewidth=2, int linecolor=1, int fillstyle=1001, int fillcolor=0, int markerstyle=20, int markercolor=1, int markersize=1, float xlabelsize=0.05, float xtitleoffset=1.4, float xtitlesize=0.05, float ylabelsize=0.05, float ytitleoffset=1.5, float ytitlesize=0.05) |
int | SetMGraphAttributes (TMultiGraph *mg, float xlabelsize=0.05, float xtitleoffset=1.4, float xtitlesize=0.05, float ylabelsize=0.05, float ytitleoffset=1.5, float ytitlesize=0.05) |
int | SetGraphAsymmErrorsLineAttributes (TGraphAsymmErrors *grae, int linestyle=1, int linewidth=2, int linecolor=1) |
int | SetGraphAsymmErrorsFillAttributes (TGraphAsymmErrors *grae, int fillstyle=1001, int fillcolor=0) |
int | SetGraphAsymmErrorsMarkerAttributes (TGraphAsymmErrors *grae, int markerstyle=20, int markercolor=1, int markersize=1) |
int | SetGraphAsymmErrorsAxisAttributes (TGraphAsymmErrors *grae, float xlabelsize=0.03, float xtitleoffset=1., float xtitlesize=0.04, float ylabelsize=0.03, float ytitleoffset=1., float ytitlesize=0.04) |
int | SetGraphAsymmErrorsAttributes (TGraphAsymmErrors *grae, int linestyle=1, int linewidth=2, int linecolor=1, int fillstyle=1001, int fillcolor=0, int markerstyle=20, int markercolor=1, int markersize=1, float xlabelsize=0.03, float xtitleoffset=1., float xtitlesize=0.04, float ylabelsize=0.03, float ytitleoffset=1., float ytitlesize=0.04) |
int | SetHStackAttributes (THStack *hstack, float xlabelsize=0.04, float xtitleoffset=1., float xtitlesize=0.04, float ylabelsize=0.04, float ytitleoffset=1., float ytitlesize=0.04) |
int SetGraphAsymmErrorsAttributes | ( | TGraphAsymmErrors * | grae, |
int | linestyle = 1 , |
||
int | linewidth = 2 , |
||
int | linecolor = 1 , |
||
int | fillstyle = 1001 , |
||
int | fillcolor = 0 , |
||
int | markerstyle = 20 , |
||
int | markercolor = 1 , |
||
int | markersize = 1 , |
||
float | xlabelsize = 0.03 , |
||
float | xtitleoffset = 1. , |
||
float | xtitlesize = 0.04 , |
||
float | ylabelsize = 0.03 , |
||
float | ytitleoffset = 1. , |
||
float | ytitlesize = 0.04 |
||
) |
Definition at line 322 of file SetAttributes.h.
int SetGraphAsymmErrorsAxisAttributes | ( | TGraphAsymmErrors * | grae, |
float | xlabelsize = 0.03 , |
||
float | xtitleoffset = 1. , |
||
float | xtitlesize = 0.04 , |
||
float | ylabelsize = 0.03 , |
||
float | ytitleoffset = 1. , |
||
float | ytitlesize = 0.04 |
||
) |
Definition at line 309 of file SetAttributes.h.
int SetGraphAsymmErrorsFillAttributes | ( | TGraphAsymmErrors * | grae, |
int | fillstyle = 1001 , |
||
int | fillcolor = 0 |
||
) |
Definition at line 294 of file SetAttributes.h.
int SetGraphAsymmErrorsLineAttributes | ( | TGraphAsymmErrors * | grae, |
int | linestyle = 1 , |
||
int | linewidth = 2 , |
||
int | linecolor = 1 |
||
) |
Definition at line 286 of file SetAttributes.h.
int SetGraphAsymmErrorsMarkerAttributes | ( | TGraphAsymmErrors * | grae, |
int | markerstyle = 20 , |
||
int | markercolor = 1 , |
||
int | markersize = 1 |
||
) |
Definition at line 301 of file SetAttributes.h.
int SetGraphAttributes | ( | TGraph * | gr, |
int | linestyle = 1 , |
||
int | linewidth = 2 , |
||
int | linecolor = 1 , |
||
int | fillstyle = 1001 , |
||
int | fillcolor = 0 , |
||
int | markerstyle = 20 , |
||
int | markercolor = 1 , |
||
int | markersize = 1 , |
||
float | xlabelsize = 0.05 , |
||
float | xtitleoffset = 1.4 , |
||
float | xtitlesize = 0.05 , |
||
float | ylabelsize = 0.05 , |
||
float | ytitleoffset = 1.4 , |
||
float | ytitlesize = 0.05 |
||
) |
Definition at line 210 of file SetAttributes.h.
int SetGraphAxisAttributes | ( | TGraph * | gr, |
float | xlabelsize = 0.05 , |
||
float | xtitleoffset = 1.4 , |
||
float | xtitlesize = 0.05 , |
||
float | ylabelsize = 0.05 , |
||
float | ytitleoffset = 1.4 , |
||
float | ytitlesize = 0.05 |
||
) |
Definition at line 197 of file SetAttributes.h.
int SetGraphErrorsAttributes | ( | TGraphErrors * | gre, |
int | linestyle = 1 , |
||
int | linewidth = 2 , |
||
int | linecolor = 1 , |
||
int | fillstyle = 1001 , |
||
int | fillcolor = 0 , |
||
int | markerstyle = 20 , |
||
int | markercolor = 1 , |
||
int | markersize = 1 , |
||
float | xlabelsize = 0.05 , |
||
float | xtitleoffset = 1.4 , |
||
float | xtitlesize = 0.05 , |
||
float | ylabelsize = 0.05 , |
||
float | ytitleoffset = 1.5 , |
||
float | ytitlesize = 0.05 |
||
) |
Definition at line 259 of file SetAttributes.h.
int SetGraphErrorsAxisAttributes | ( | TGraph * | gre, |
float | xlabelsize = 0.05 , |
||
float | xtitleoffset = 1.4 , |
||
float | xtitlesize = 0.05 , |
||
float | ylabelsize = 0.05 , |
||
float | ytitleoffset = 1.5 , |
||
float | ytitlesize = 0.05 |
||
) |
Definition at line 246 of file SetAttributes.h.
int SetGraphErrorsFillAttributes | ( | TGraph * | gre, |
int | fillstyle = 1001 , |
||
int | fillcolor = 0 |
||
) |
Definition at line 231 of file SetAttributes.h.
int SetGraphErrorsLineAttributes | ( | TGraphErrors * | gre, |
int | linestyle = 1 , |
||
int | linewidth = 2 , |
||
int | linecolor = 1 |
||
) |
Definition at line 223 of file SetAttributes.h.
int SetGraphErrorsMarkerAttributes | ( | TGraph * | gre, |
int | markerstyle = 20 , |
||
int | markercolor = 1 , |
||
int | markersize = 1 |
||
) |
Definition at line 238 of file SetAttributes.h.
int SetGraphFillAttributes | ( | TGraph * | gr, |
int | fillstyle = 1001 , |
||
int | fillcolor = 0 |
||
) |
Definition at line 182 of file SetAttributes.h.
int SetGraphLineAttributes | ( | TGraph * | gr, |
int | linestyle = 1 , |
||
int | linewidth = 2 , |
||
int | linecolor = 1 |
||
) |
Definition at line 174 of file SetAttributes.h.
int SetGraphMarkerAttributes | ( | TGraph * | gr, |
int | markerstyle = 20 , |
||
int | markercolor = 1 , |
||
int | markersize = 1 |
||
) |
Definition at line 189 of file SetAttributes.h.
int SetHistAttributes | ( | TH1F * | hist, |
int | linestyle = 1 , |
||
int | linewidth = 2 , |
||
int | linecolor = 1 , |
||
int | fillstyle = 1001 , |
||
int | fillcolor = 0 , |
||
int | markerstyle = 20 , |
||
int | markercolor = 1 , |
||
int | markersize = 1 , |
||
float | xlabelsize = 0.05 , |
||
float | xtitleoffset = 1.4 , |
||
float | xtitlesize = 0.05 , |
||
float | ylabelsize = 0.05 , |
||
float | ytitleoffset = 1.4 , |
||
float | ytitlesize = 0.05 , |
||
bool | displaystats = false |
||
) |
Definition at line 120 of file SetAttributes.h.
int SetHistAxisAttributes | ( | TH1F * | hist, |
float | xlabelsize = 0.05 , |
||
float | xtitleoffset = 1.4 , |
||
float | xtitlesize = 0.05 , |
||
float | ylabelsize = 0.05 , |
||
float | ytitleoffset = 1.4 , |
||
float | ytitlesize = 0.05 |
||
) |
Definition at line 100 of file SetAttributes.h.
int SetHistFillAttributes | ( | TH1F * | hist, |
int | fillstyle = 1001 , |
||
int | fillcolor = 0 |
||
) |
Definition at line 85 of file SetAttributes.h.
int SetHistLineAttributes | ( | TH1F * | hist, |
int | linestyle = 1 , |
||
int | linewidth = 2 , |
||
int | linecolor = 1 |
||
) |
Definition at line 92 of file SetAttributes.h.
int SetHistMarkerAttributes | ( | TH1F * | hist, |
int | markerstyle = 20 , |
||
int | markercolor = 1 , |
||
int | markersize = 1 |
||
) |
Definition at line 113 of file SetAttributes.h.
int SetHStackAttributes | ( | THStack * | hstack, |
float | xlabelsize = 0.04 , |
||
float | xtitleoffset = 1. , |
||
float | xtitlesize = 0.04 , |
||
float | ylabelsize = 0.04 , |
||
float | ytitleoffset = 1. , |
||
float | ytitlesize = 0.04 |
||
) |
Definition at line 336 of file SetAttributes.h.
int SetMGraphAttributes | ( | TMultiGraph * | mg, |
float | xlabelsize = 0.05 , |
||
float | xtitleoffset = 1.4 , |
||
float | xtitlesize = 0.05 , |
||
float | ylabelsize = 0.05 , |
||
float | ytitleoffset = 1.5 , |
||
float | ytitlesize = 0.05 |
||
) |
Definition at line 273 of file SetAttributes.h.
int SetPadAttributes | ( | TPad * | pad, |
int | fillstyle = 0 , |
||
int | fillcolor = 0 , |
||
float | leftmargin = 0.15 , |
||
float | rightmargin = 0.05 , |
||
float | bottommargin = 0.15 , |
||
float | topmargin = 0.05 , |
||
int | bordermode = 0 , |
||
bool | logx = false , |
||
bool | logy = true , |
||
bool | settickx = true , |
||
bool | setticky = true |
||
) |
Definition at line 143 of file SetAttributes.h.
int SetPadFillAttributes | ( | TPad * | pad, |
int | fillstyle = 0 , |
||
float | fillcolor = 0 |
||
) |
Definition at line 136 of file SetAttributes.h.