20 TH1F *
h =
new TH1F (
"h",
"example histogram", 100, -5.,5.);
21 h->FillRandom(
"gaus",1000);
30 TFile *
f1 =
new TFile(
"ExampleMacro.root",
"RECREATE",
"ExampleMacro");
47int main(
int argc,
char** argv) {
void StandaloneApplication(int argc, char **argv)
This class creates the ROOT Application Environment that interfaces to the windowing system eventloop...
virtual void Run(Bool_t retrn=kFALSE)
Main application eventloop. Calls system dependent eventloop via gSystem.
A file, usually with extension .root, that stores data and code in the form of serialized objects in ...
1-D histogram with a float per channel (see TH1 documentation)