{ // run this script in win32 version 3.05/5 on win2k TFile *f = new TFile("test30505.root","recreate"); TH1F *ph = new TH1F("ph","test",100,-5.,5.); ph->FillRandom("gaus",100000); ph->Fit("gaus"); ph->Write(); f->Close(); gApplication->Terminate(); }