It is based on a style file from BaBar.
static const double mur[
nren] = {1.0,0.25,4.0};
static const double muf[
nren] = {1.0,0.25,4.0};
{
gROOT->SetStyle(
"ATLAS");
auto canvas =
new TCanvas(
"canvas",
"single inclusive jets",50,50,600,600);
canvas->SetLogy();
frame->SetYTitle("d#sigma_{jet}/dE_{T,jet} [fb/GeV]");
frame->SetXTitle("E_{T,jet} [GeV]");
frame->GetYaxis()->SetTitleOffset(1.4);
frame->GetXaxis()->SetTitleOffset(1.4);
cout << " g1 not found " << endl;
return;
}
}
}
cout << " gpdf not found " << endl;
return;
}
}
}
auto l =
new TLegend(0.45,0.65,0.8,0.8,
"",
"NDC");
l->AddEntry(
"data_0",
"Data 2009",
"ep");
l->AddEntry(
"scalepdf",
"NLO QCD",
"lf");
}
{
const char *cuts[5] =
{"0.0 <= |eta| < 0.5",
"0.5 <= |eta| < 1.0",
"1.0 <= |eta| < 1.5",
"1.5 <= |eta| < 2.0",
"2.0 <= |eta| < 3.0"};
const double mur[] = {1.0,0.25,4.0};
const double muf[] = {1.0,0.25,4.0};
TFile *file =
TFile::Open(
"http://root.cern/files/AtlasGraphs.root",
"CACHEREAD");
else
for (
int i=1; i<=
GMAX; i++) {
cout <<
gname <<
" not found " << endl;
return nullptr;
}
const char *title =
g1->GetTitle();
}
}
for (
Int_t i=0; i<
g1->GetN(); i++) {
else g2->GetPoint(i+1,
x2,dum);
else g2->GetPoint(i-1,
x3,dum);
}
}
}
if (
g1->GetN()!=
g2->GetN())
cout << " graphs don't have the same number of elements " << endl;
for (
Int_t i=0; i<
g1->GetN(); i++) {
cerr << "check these points very carefully : AddtoBand() : point " << i << endl;
g2->SetPointEYhigh(i,
eyh);
} else {
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.
virtual void SetNDC(Bool_t isNDC=kTRUE)
Set NDC mode on if isNDC = kTRUE, off otherwise.