34#include "tools/rroot/file"
45 fH1RFileManager = std::make_shared<G4RootHnRFileManager<histo::h1d>>(
this);
46 fH2RFileManager = std::make_shared<G4RootHnRFileManager<histo::h2d>>(
this);
47 fH3RFileManager = std::make_shared<G4RootHnRFileManager<histo::h3d>>(
this);
48 fP1RFileManager = std::make_shared<G4RootHnRFileManager<histo::p1d>>(
this);
49 fP2RFileManager = std::make_shared<G4RootHnRFileManager<histo::p2d>>(
this);
75 newFile->add_unziper(
'Z',tools::decompress_buffer);
77 if ( ! newFile->is_open() ) {
G4GLOB_DLL std::ostream G4cout
G4String GetFullFileName(const G4String &baseFileName="", G4bool isPerThread=true) const
void Message(G4int level, const G4String &action, const G4String &objectType, const G4String &objectName="", G4bool success=true) const
G4RootRFileManager()=delete
virtual G4bool OpenRFile(const G4String &fileName, G4bool isPerThread)
virtual ~G4RootRFileManager()
tools::rroot::file * GetRFile(const G4String &fileName, G4bool isPerThread) const
static constexpr std::string_view fkClass
std::map< G4String, tools::rroot::file * > fRFiles
std::shared_ptr< G4VTHnRFileManager< tools::histo::h2d > > fH2RFileManager
std::shared_ptr< G4VTHnRFileManager< tools::histo::p2d > > fP2RFileManager
std::shared_ptr< G4VTHnRFileManager< tools::histo::h3d > > fH3RFileManager
std::shared_ptr< G4VTHnRFileManager< tools::histo::p1d > > fP1RFileManager
std::shared_ptr< G4VTHnRFileManager< tools::histo::h1d > > fH1RFileManager
void Warn(const G4String &message, const std::string_view inClass, const std::string_view inFunction)
const char * name(G4int ptype)