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