Import Geant4 11.1.0.beta source tree
This commit is contained in:
@@ -33,7 +33,7 @@
|
||||
|
||||
#include "tools/wroot/file"
|
||||
#include "tools/wroot/to"
|
||||
#include "tools/zlib"
|
||||
#include "toolx/zlib"
|
||||
|
||||
using namespace tools;
|
||||
using namespace G4Analysis;
|
||||
@@ -118,7 +118,7 @@ G4RootFileManager::CreateFileImpl(const G4String& fileName)
|
||||
{
|
||||
// create file
|
||||
std::shared_ptr<wroot::file> file = std::make_shared<wroot::file>(G4cout, fileName);
|
||||
file->add_ziper('Z',compress_buffer);
|
||||
file->add_ziper('Z',toolx::compress_buffer);
|
||||
file->set_compression(fState.GetCompressionLevel());
|
||||
|
||||
if ( ! file->is_open() ) {
|
||||
|
||||
@@ -32,7 +32,7 @@
|
||||
#include "G4AnalysisUtilities.hh"
|
||||
|
||||
#include "tools/rroot/file"
|
||||
#include "tools/zlib"
|
||||
#include "toolx/zlib"
|
||||
|
||||
using namespace G4Analysis;
|
||||
using namespace tools;
|
||||
@@ -72,7 +72,7 @@ G4bool G4RootRFileManager::OpenRFile(const G4String& fileName,
|
||||
|
||||
// create new file
|
||||
auto newFile = new tools::rroot::file(G4cout, name);
|
||||
newFile->add_unziper('Z',tools::decompress_buffer);
|
||||
newFile->add_unziper('Z',toolx::decompress_buffer);
|
||||
|
||||
if ( ! newFile->is_open() ) {
|
||||
Warn("Cannot open file " + name, fkClass, "OpenRFile");
|
||||
|
||||
Reference in New Issue
Block a user