Go to the source code of this file.
|
void | ReadASCII (TString source_file_ascii, TString output_file_root) |
|
void ReadASCII |
( |
TString |
source_file_ascii, |
|
|
TString |
output_file_root |
|
) |
| |
Definition at line 1 of file convert.C.
References edep, f, h20, in, nlines, printf(), x, y, and z.
6 in.open(source_file_ascii);
10 TFile *
f =
new TFile(output_file_root,
"RECREATE");
11 TH2F *
h20 =
new TH2F(
"h20",
"h20",801,-100.125,100.125, 801, -100.125, 100.125);
14 in >> x >> y >> z >>
edep;
15 if (!in.good())
break;
21 printf(
" found %d points\n",nlines);
printf("%d Experimental points found\n", nlines)