15static const double mur[
nren] = {1.0, 0.25, 4.0};
16static const double muf[
nren] = {1.0, 0.25, 4.0};
17const unsigned int NUMPDF = 41;
25 gROOT->SetStyle(
"ATLAS");
30 auto canvas =
new TCanvas(
"canvas",
"single inclusive jets", 50, 50, 600, 600);
38 frame->SetYTitle(
"d#sigma_{jet}/dE_{T,jet} [fb/GeV]");
39 frame->SetXTitle(
"E_{T,jet} [GeV]");
40 frame->GetYaxis()->SetTitleOffset(1.4);
41 frame->GetXaxis()->SetTitleOffset(1.4);
51 cout <<
" g1 not found " << endl;
73 e = sqrt(
y * 1000) / 200;
88 cout <<
" gpdf not found " << endl;
102 g1[0][
icut]->SetLineWidth(3);
109 t.
DrawLatex(0.3, 0.85,
"#sqrt{s}= 14 TeV");
110 t.
DrawLatex(0.57, 0.85,
"|#eta_{jet}|<0.5");
112 auto l =
new TLegend(0.45, 0.65, 0.8, 0.8,
"",
"NDC");
113 l->SetBorderSize(0.);
115 l->AddEntry(
"data_0",
"Data 2009",
"ep");
116 l->AddEntry(
"scalepdf",
"NLO QCD",
"lf");
122 const char *cuts[5] = {
"0.0 <= |eta| < 0.5",
"0.5 <= |eta| < 1.0",
"1.0 <= |eta| < 1.5",
"1.5 <= |eta| < 2.0",
123 "2.0 <= |eta| < 3.0"};
125 const double mur[] = {1.0, 0.25, 4.0};
126 const double muf[] = {1.0, 0.25, 4.0};
129 TFile *file =
TFile::Open(
"http://root.cern/files/AtlasGraphs.root",
"CACHEREAD");
140 for (
int i = 1; i <=
GMAX; i++) {
147 const char *title =
g1->GetTitle();
166 for (
Int_t i = 0; i <
g1->GetN(); i++) {
171 if (i ==
g1->GetN() - 1)
204 if (
g1->GetN() !=
g2->GetN())
205 cout <<
" graphs don't have the same number of elements " << endl;
210 for (
Int_t i = 0; i <
g1->GetN(); i++) {
214 if (
y1 == 0 ||
y2 == 0)
215 cerr <<
"check these points very carefully : AddtoBand() : point " << i << endl;
224 g2->SetPointEYhigh(i,
eyh);
228 g2->SetPointEYlow(i,
eyl);
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void data
Option_t Option_t TPoint TPoint const char x2
Option_t Option_t TPoint TPoint const char x1
Option_t Option_t TPoint TPoint const char y2
Option_t Option_t TPoint TPoint const char y1
R__EXTERN TRandom * gRandom
TObject * Get(const char *namecycle) override
Return pointer to object identified by namecycle.
A ROOT file is an on-disk file, usually with extension .root, that stores objects in a file-system-li...
static TFile * Open(const char *name, Option_t *option="", const char *ftitle="", Int_t compress=ROOT::RCompressionSetting::EDefaults::kUseCompiledDefault, Int_t netopt=0)
Create / open a file.
static Bool_t SetCacheFileDir(std::string_view cacheDir, Bool_t operateDisconnected=kTRUE, Bool_t forceCacheread=kFALSE)
Sets the directory where to locally stage/cache remote files.
TGraph with asymmetric error bars.
A TGraphErrors is a TGraph with error bars.
To draw Mathematical Formula.
TLatex * DrawLatex(Double_t x, Double_t y, const char *text)
Make a copy of this object with the new parameters And copy object attributes.
This class displays a legend box (TPaveText) containing several legend entries.
virtual void Draw(Option_t *option="")
Default Draw method for all objects.
Double_t Rndm() override
Machine independent random number generator.
static TString Format(const char *fmt,...)
Static method which formats a string using a printf style format descriptor and return a TString.
virtual void SetNDC(Bool_t isNDC=kTRUE)
Set NDC mode on if isNDC = kTRUE, off otherwise.