ROOT
6.30.04
Reference Guide
All
Namespaces
Files
Pages
testmacro.C
Go to the documentation of this file.
1
TObject* testmacro()
2
{
3
4
TH1* h =
new
TH1F(
"h"
,
"h"
, 100, 0., 1.);
5
h->FillRandom(
"gaus"
,10000);
6
TCanvas* c=
new
TCanvas(
"c"
,
"c"
);
7
h->Draw();
8
9
return
c;
10
}
html
doc
macros
testmacro.C
Generated on Tue May 5 2020 14:02:55 for ROOT by
1.8.5