18 TH1F *
h1 =
new TH1F(
"h1",
"x distribution",100,-4,4);
19 TTree *T =
new TTree(
"ntuple",
"data from ascii file");
21 printf(
" found %lld points\n",nlines);
char * Form(const char *fmt,...)
Formats a string in a circular formatting buffer.
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)
const char * Data() const
TString & ReplaceAll(const TString &s1, const TString &s2)
TString & Append(const char *cs)
A TTree represents a columnar dataset.