13void poptest1(
int a=5,
int b = 56);
17void poptest4(
char* ch);
20void customContextMenu()
28 h =
new TH1F(
"h",
"Schtroumpf",100,-4,4);
29 h->FillRandom(
"gaus");
32 h2 =
new TH1F(
"h2",
"h2",1000,-4,4);
41 "Test object, draw a second h",
"Draw",h2,
"Option_t*");
47 "test no 4",
"poptest4",0,
"const char*");
50 "test no 3",
"poptest3",0,
"");
53 "test no 2 bis",
"poptest2bis",0,
"TObject*",2);
56 "test no 2",
"poptest2",0,
"int,int,TObject*",2);
59 "test no 1",
"poptest1",0,
"int,int");
63void poptest1(
int a,
int b)
65 printf(
"poptest1 %d %d\n",
a,
b);
71 printf(
"poptest2 %d %d\n",
a,
b);
72 printf(
"histo : %lx\n",(
Long_t)
c);
73 printf(
"title of the histogram : %s\n",((
TH1F*)
c)->GetTitle());
79 printf(
"poptest2bis\n");
80 printf(
"histo : %lx\n",(
Long_t)
c);
81 printf(
"title of the histogram : %s\n",((
TH1F*)
c)->GetTitle());
90void poptest4(
const char *ch)
92 printf(
"poptest4 %s\n",ch);
TClass instances represent classes, structs and namespaces in the ROOT type system.
TList * GetMenuList() const
Return the list of menu items associated with the class.
1-D histogram with a float per channel (see TH1 documentation)}
virtual void FillRandom(const char *fname, Int_t ntimes=5000)
Fill histogram following distribution in function fname.
Mother of all ROOT objects.