This macro is an example of graphs in log scales with annotations.
The presented results are predictions of invariant cross-section of Direct Photons produced at RHIC energies, based on the universality of scaling function H(z).
These Figures were published in JINR preprint E2-98-64, Dubna, 1998 and submitted to CPC.
Note that the way greek symbols, super/subscripts are obtained illustrate the current limitations of Root in this area.
#ifdef HZ
#undef HZ
#endif
{
"Monte Carlo Study of Z scaling",10,40,800,600);
Direct Photon Productions in pp Collisions at RHIC Energies","br");
t0.DrawLatex(3.1,15.5,
"M.Tokarev, E.Potrebenikova ");
t0.DrawLatex(14.,15.5,
"JINR preprint E2-98-64, Dubna, 1998 ");
TPad *
pad1 =
new TPad(
"pad1",
"This is pad1",0.02,0.02,0.48,0.83,33);
TPad *
pad2 =
new TPad(
"pad2",
"This is pad2",0.52,0.02,0.98,0.83,33);
pad1->Range(-0.255174,-19.25,2.29657,-6.75);
pad1->DrawFrame(1,1
e-18,110,1
e-8);
pad1->GetFrame()->SetFillColor(19);
t1.DrawLatex(0.6,0.85,
"p - p");
t1.DrawLatex(0.6,0.79,
"Direct #gamma");
t1.DrawLatex(0.6,0.75,
"#theta = 90^{o}");
t1.DrawLatex(0.20,0.45,
"Ed^{3}#sigma/dq^{3}");
t1.DrawLatex(0.18,0.40,
"(barn/Gev^{2})");
t1.DrawLatex(0.22,0.260,
"#sqrt{s} = 63(GeV)");
t1.DrawLatex(0.22,0.205,
"#sqrt{s} = 200(GeV)");
t1.DrawLatex(0.22,0.15,
"#sqrt{s} = 500(GeV)");
t1.DrawLatex(0.6,0.06,
"q_{T} (Gev/c)");
graph->SetMarkerStyle(21);
graph->SetMarkerSize(1.1);
graph->SetPoint(0,1.7,1.e-16);
graph->SetMarkerStyle(29);
graph->SetMarkerSize(1.5);
graph->SetPoint(0,1.7,2.e-17);
graph->SetMarkerColor(6);
graph->SetMarkerStyle(8);
graph->SetMarkerSize(1.1);
graph->SetPoint(0,1.7,4.e-18);
pad2->Range(-0.43642,-23.75,3.92778,-6.25);
pad2->DrawFrame(1,1
e-22,3100,1
e-8);
pad2->GetFrame()->SetFillColor(19);
t2.DrawLatex(0.6,0.85,
"p - p");
t2.DrawLatex(0.6,0.79,
"Direct #gamma");
t2.DrawLatex(0.6,0.75,
"#theta = 90^{o}");
t2.DrawLatex(0.70,0.55,
"H(z)");
t2.DrawLatex(0.68,0.50,
"(barn)");
t2.DrawLatex(0.20,0.30,
"#sqrt{s}, GeV");
t2.DrawLatex(0.22,0.26,
"63");
t2.DrawLatex(0.22,0.22,
"200");
t2.DrawLatex(0.22,0.18,
"500");
t2.DrawLatex(0.88,0.06,
"z");
}
{
}
}
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
virtual void SetFillColor(Color_t fcolor)
Set the fill area color.
virtual void SetLineColor(Color_t lcolor)
Set the line color.
virtual void SetMarkerColor(Color_t mcolor=1)
Set the marker color.
virtual void SetMarkerStyle(Style_t mstyle=1)
Set the marker style.
virtual void SetMarkerSize(Size_t msize=1)
Set the marker size.
A TGraph is an object made of two arrays X and Y with npoints each.
void Draw(Option_t *chopt="") override
Draw this graph with its current attributes.
void SetTitle(const char *title="") override
Change (i.e.
To draw Mathematical Formula.
The most important graphics class in the ROOT system.
A Pave (see TPave) with a text centered in the Pave.
- Authors
- Michael Tokarev, Elena Potrebenikova (JINR Dubna)
Definition in file zdemo.C.