28 h =
new TH1F(
"h",
"Schtroumpf",100,-4,4);
29 h->FillRandom(
"gaus");
32 h2 =
new TH1F(
"h2",
"h2",1000,-4,4);
33 h2->FillRandom(
"gaus",30000);
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");
73 printf(
"title of the histogram : %s\n",((
TH1F*)
c)->GetTitle());
81 printf(
"title of the histogram : %s\n",((
TH1F*)
c)->GetTitle());
92 printf(
"poptest4 %s\n",ch);
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
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.
TClass * IsA() const override
1-D histogram with a float per channel (see TH1 documentation)
Mother of all ROOT objects.