ROOT
v6-32
Reference Guide
Loading...
Searching...
No Matches
slash.C
Go to the documentation of this file.
1
TCanvas
*
slash
()
2
{
3
TCanvas
*F =
new
TCanvas
(
"script"
,
"Slash"
,500,100);
4
5
TLatex
Tl
;
6
Tl
.SetTextSize(0.3);
7
Tl
.SetTextAlign(12);
8
TLatex
Tt
;
9
Tt
.SetTextSize(0.3);
10
Tt
.SetTextFont(82);
11
Tt
.SetTextAlign(12);
12
13
float
y
,
x1
,
x2
;
14
y
= 0.50;
x1
= 0.02;
x2
=
x1
+0.7;
15
16
Tt
.DrawText(
x1
,
y
,
"#slash{E}_{T}"
);
17
Tl
.DrawLatex(
x2
,
y
,
"#slash{E}_{T}"
);
18
19
return
F
;
20
}
TRangeDynCast
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
Definition
TCollection.h:358
x2
Option_t Option_t TPoint TPoint const char x2
Definition
TGWin32VirtualXProxy.cxx:70
x1
Option_t Option_t TPoint TPoint const char x1
Definition
TGWin32VirtualXProxy.cxx:70
ROOT::Detail::TRangeCast
Definition
TCollection.h:311
TCanvas
The Canvas class.
Definition
TCanvas.h:23
TLatex
To draw Mathematical Formula.
Definition
TLatex.h:18
y
Double_t y[n]
Definition
legend1.C:17
F
#define F(x, y, z)
slash
TCanvas * slash()
Definition
slash.C:1
graf2d
graf
doc
macros
slash.C
ROOT v6-32 - Reference Guide Generated on Thu Jan 23 2025 04:09:32 (GVA Time) using Doxygen 1.10.0