This program creates and fills one and two dimensional histogram Macro used to demonstrate usage of custom HTML page in custom.htm One can use plain JavaScript to assign different actions with HTML buttons.
#include <string>
{
TH1F *
hpx =
new TH1F(
"hpx",
"This is the px distribution", 100, -4, 4);
TH2F *
hpxpy =
new TH2F(
"hpxpy",
"py vs px", 40, -4, 4, 40, -4, 4);
auto pos =
fname.find(
"custom.C");
if (pos > 0)
else
fname.append(
"custom.htm");
}
}
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
R__EXTERN TSystem * gSystem
1-D histogram with a float per channel (see TH1 documentation)
2-D histogram with a float per channel (see TH1 documentation)
Online http server for arbitrary ROOT application.
Random number generator class based on M.
virtual Bool_t ProcessEvents()
Process pending events (GUI, timers, sockets).
- Author
- Sergey Linev
Definition in file custom.C.