Hello everyone,
The following lines produce a segmentation fault when executed from a
compiled program which has been linked with libNew.so
TMapFile *mfile;
mfile = TMapFile::Create("hsimple.map","RECREATE",100000,"Demo memory mapped
file with histograms");
mfile->Print();
TH1F *hodo;
hodo = new TH1F("hodo"," Donnees Hodo ",100,0,500);
hodo->FillRandom("gaus",10000);
mfile->Update();
Apparently the last line upsets the program. Does anyone know why?
And I would also like to know why one needs the instruction:
TROOT root(.....) in a program.
Thanks a lot.
Primrose.
This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:50:56 MET