18 #include "Compression.h" 30 : m_level(
ROOT::CompressionSettings(
ROOT::kZLIB, 1 ) ) {
31 const std::string::size_type idx = settings.
find(
':' );
32 if ( idx != std::string::npos ) {
35 ROOT::ECompressionAlgorithm alg_code = ROOT::kUseGlobalSetting;
36 if (
alg ==
"ZLIB" ) {
37 alg_code = ROOT::kZLIB;
38 }
else if (
alg ==
"LZMA" ) {
39 alg_code = ROOT::kLZMA;
49 m_level = ROOT::CompressionSettings( alg_code, ilev );
RootCompressionSettings(const std::string &settings)
Standard constructor.
int m_level
The cached ROOT compression level int.