[ROOT] Varying compression level by branch

From: Peter Elmer (Peter.Elmer@cern.ch)
Date: Fri Nov 21 2003 - 19:11:45 MET


  Hi All,

  It appears that TBranch has a SetCompressionLevel() member function. If
I call this after the branch has been constructed, will a value differing from 
that of the TFile be respected? 

  (The various TTree::Branch(...) member functions don't appear to take
compression as an argument and unless I missed something seem internally to 
construct the Branch with the default value in its ctor, i.e. -1, which 
leads to the file value being used.)

                                 thanks,
                                   Pete

-------------------------------------------------------------------------
Peter Elmer     E-mail: Peter.Elmer@cern.ch      Phone: +41 (22) 767-4644
Address: CERN Division PPE, Bat. 32 2C-14, CH-1211 Geneva 23, Switzerland
-------------------------------------------------------------------------



This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:17 MET