13 void poptest1(
int a=5,
int b = 56);
17 void poptest4(
char* ch);
20 void customContextMenu()
28 h =
new TH1F(
"h",
"Schtroumpf",100,-4,4);
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");
63 void 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());
90 void poptest4(
const char *ch)
92 printf(
"poptest4 %s\n",ch);
TList * GetMenuList() const
Return the list of menu items associated with the class.
THist< 1, float, THistStatContent, THistStatUncertainty > TH1F
virtual void AddFirst(TObject *obj)
Add object at the beginning of the list.
tomato 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.
virtual void Draw(Option_t *option="")
Draw this histogram with options.
The ROOT global object gROOT contains a list of all defined classes.
Mother of all ROOT objects.
you should not use this method at all Int_t Int_t Double_t Double_t Double_t Int_t Double_t Double_t Double_t Double_t b