writing big file

Sean Kelly (kelly@charm.physics.ucla.edu)
Wed, 10 Feb 1999 13:26:53 -0800 (PST)



Hi Rooters,

I want to write a large ROOT file consisting of a number of Event
objects stored in a super branch of a TTree object. If I make a single
call to hfile->Write() outside the event loop I run out of memmory. My
question, how do I flush the output buffers every 1000 events or so ?

thanks

Sean Kelly