Hi Pete, By default, the branch compression level is equal to the file compression level. If you call TBranch::SetCompressionLevel, it will be used. We had a special case when the compression level was set to 2, a level 1 was taken (for historical reasons). I have removed this special case from the CVS version. Rene Brun On Fri, 21 Nov 2003, Peter Elmer wrote: > 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