33 #include "tools/rroot/file"
34 #include <tools/gzip_buffer>
71 tools::rroot::file* newFile =
new tools::rroot::file(
G4cout, name);
72 newFile->add_unziper(
'Z',tools::gunzip_buffer);
74 if ( ! newFile->is_open() ) {
76 description <<
" " <<
"Cannot open file " <<
name;
84 std::map<G4String, tools::rroot::file*>::iterator it
97 ->
Message(
"open",
"read analysis file", name);
110 std::map<G4String, tools::rroot::file*>::const_iterator it
void Message(const G4String &action, const G4String &object, const G4String &objectName, G4bool success=true) const
const G4AnalysisManagerState & fState
std::ostringstream G4ExceptionDescription
virtual G4bool OpenRFile(const G4String &fileName, G4bool isPerThread)
G4GLOB_DLL std::ostream G4cout
const G4AnalysisVerbose * GetVerboseL4() const
tools::rroot::file * GetRFile(const G4String &fileName, G4bool isPerThread) const
G4RootRFileManager(const G4AnalysisManagerState &state)
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
virtual ~G4RootRFileManager()
std::map< G4String, tools::rroot::file * > fRFiles
G4String GetFullFileName(const G4String &baseFileName="", G4bool isPerThread=true) const
const G4AnalysisVerbose * GetVerboseL1() const