[Clas_offline] C function to force flushing of BOS buffer?

Craig Bookwalter craigb at jlab.org
Thu Sep 2 14:45:20 EDT 2010


Hi offliners,
    Thanks again for the help with the GSIM issue--I have another 
question for everyone. Does anyone know offhand a C function call that 
will force BOS banks currently stored in memory to be written to the 
file? I've found (especially during this GSIM study) that it's pretty 
hard, if not impossible, to write out a BOS file with less than 15 
events, and it seems like it's just a buffer that isn't flushed before 
the program exits. I believe Dennis was having trouble with this when he 
was using part2gamp before, but I don't recall if he sent his troubles 
to clas_offline or just to the g12 list.

Thanks again!!

--cb

-- 
-------------------------------------------------------------------------
 Craig Bookwalter			FSU Office:  (850) 644 3808
 Department of Physics			JLab Office: (757) 269 5465
 Florida State University		craigb at hadron.physics.fsu.edu
 Tallahasse, FL 32306			craigb at jlab.org		


"One toke? You poor fool. Just wait till you see those (expletive) bats."
-------------------------------------------------------------------------



More information about the Clas_offline mailing list