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