Thread: [Iaida-issues] Committing a tree takes indefinite amount of time
iAIDA is a C++ implementation of the AIDA interfaces.
Brought to you by:
apfeiffer
From: Cristiano F. <cri...@pd...> - 2010-02-27 21:00:54
Attachments:
TopoMouseAnalysisManager.hh
TopoMouseAnalysisManager.cc
|
Hello, I am using iAIDA in a simulation with Geant4 on a Mac OS X Snow Leopard. When I generate more than 60 events and fill a tuple with some information from each, at the time of commiting the tree the program hangs for an indefinite amount of time (after several hours I stopped it). I am attaching the analysis manager. What can I do? Cristiano |
From: Andreas P. <apf...@gm...> - 2010-03-01 09:51:29
|
Hi Cristiano > I am using iAIDA in a simulation with Geant4 on a Mac OS X Snow Leopard. > When I generate more than 60 events and fill a tuple with some information from each, at the time of commiting the tree the program hangs for an indefinite amount of time (after several hours I stopped it). > I am attaching the analysis manager. > > What can I do? assuming you are using the latest version of iAIDA, could you please try to use uncompressed output files ? To do this, please replace in your TopoMouseAnalysisManager.cc file the line 55: tree.reset( tf->create( tree_name.c_str(), "XML", readOnly, createNew ) ); by: tree.reset( tf->create( tree_name.c_str(), "XML", readOnly, createNew, "uncompressed" ) ); (i.e. add "uncompressed" as the last (optional) parameter in the call). Please let me know if you have a problem with this. Thanks, cheers, andreas |