8 #include "Compression.h" 21 : m_level (
ROOT::CompressionSettings(
ROOT::kZLIB,1) )
23 const std::string::size_type idx = settings.
find(
':');
24 if ( idx != std::string::npos )
28 ROOT::ECompressionAlgorithm alg_code = ROOT::kUseGlobalSetting;
29 if ( alg ==
"ZLIB" ) { alg_code = ROOT::kZLIB; }
30 else if ( alg ==
"LZMA" ) { alg_code = ROOT::kLZMA; }
41 m_level = ROOT::CompressionSettings(alg_code,ilev);
RootCompressionSettings(const std::string &settings)
Standard constructor.
int m_level
The cached ROOT compression level int.