Hi Philippe,
2009/9/12 Philippe Canal <pcanal_at_fnal.gov>:
> Did you do something like:
> TFile *output = new TFile("shortfile.root","RECREATE");
> TTree* tmp = CALIWAVE->CopyTree("FT==0 && slot==2 && channel==1");
> tmp->Write();
> to insure that the output TTree is properly attached to the output files?
Yes, sure. The situation exists independently on attaching the objects to the file - in both cases I get bad_alloc.
-- Best regards, Ilya Orlov. ==================================== CERN, ATLAS collaboration LAr Endcap calorimeter commissioning group office 40-1C-08, mailbox E28210 CH-1211 Genève 23, Switzerland +41 22 76 71137 (office), +41 76 487 2733 (office cell), +41 76 289 3446 (personal cell) ==================================== Budker Institute for Nuclear Physics KEDR collaboration Acad. Lavrentiev avenue, 11 Novosibirsk 630090, Russian Federation +7 (383) 329-44-19, +7 913 931 0898 (cell) ==================================== Novosibirsk State University Students Scientific Work Department, department head Pirogova str., 2, office 420 Novosibirsk 630090, Russian Federation +7 (383) 363-40-57, +7 913 931 0898 (cell) ====================================Received on Sat Sep 12 2009 - 17:38:09 CEST
This archive was generated by hypermail 2.2.0 : Sat Sep 12 2009 - 23:50:02 CEST