ROOT
6.16/01
Reference Guide
html
doc
macros
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
}
c
#define c(i)
Definition:
RSha256.hxx:101
h
#define h(i)
Definition:
RSha256.hxx:106
TCanvas
The Canvas class.
Definition:
TCanvas.h:31
TH1F
1-D histogram with a float per channel (see TH1 documentation)}
Definition:
TH1.h:571
TH1
The TH1 histogram class.
Definition:
TH1.h:56
TObject
Mother of all ROOT objects.
Definition:
TObject.h:37
testmacro
TObject * testmacro()
Definition:
testmacro.C:1