#ifndef __CINT__ main() #endif { #include ofstream out("foo.dat",ios::out); if (!out) cerr << "Bad" <<< endl; TRandom ran; Int_t i,j; for (i = 0; i < 100; i++) { if (i % 10 == 0) cout << "Event # " << i << endl; for (j = 0; j < 15; j++) out << ran.Gaus(5,2) << " " << flush; out << endl; } out.close(); }