33 #include "tools/wroot/file"
34 #include "tools/rroot/file"
35 #include <tools/gzip_buffer>
71 fFile->add_ziper(
'Z',tools::gzip_buffer);
72 fFile->set_compression(9);
74 if ( !
fFile->is_open() ) {
76 description <<
" " <<
"Cannot open file " << fileName;
144 G4Exception(
"G4RootFileManager::CreateHistoDirectory()",
178 G4Exception(
"G4RootFileManager::CreateProfileDirectory()",
212 G4Exception(
"G4RootFileManager::CreateNtupleDirectory()",
void Message(const G4String &action, const G4String &object, const G4String &objectName, G4bool success=true) const
G4bool CreateNtupleDirectory()
virtual G4bool CloseFile()
const G4AnalysisManagerState & fState
G4bool fLockHistoDirectoryName
G4String fNtupleDirectoryName
std::ostringstream G4ExceptionDescription
G4bool CreateHistoDirectory()
tools::wroot::directory * fNtupleDirectory
tools::wroot::file * fFile
G4String fHistoDirectoryName
tools::wroot::directory * fHistoDirectory
virtual G4bool WriteFile()
const G4AnalysisVerbose * GetVerboseL2() const
G4RootFileManager(const G4AnalysisManagerState &state)
G4GLOB_DLL std::ostream G4cout
const G4AnalysisVerbose * GetVerboseL4() const
G4bool CreateProfileDirectory()
virtual ~G4RootFileManager()
tools::wroot::directory * fProfileDirectory
G4String fProfileDirectoryName
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
G4bool fLockNtupleDirectoryName
virtual G4bool OpenFile(const G4String &fileName)
G4bool fLockProfileDirectoryName
G4String GetFullFileName(const G4String &baseFileName="", G4bool isPerThread=true) const
const G4AnalysisVerbose * GetVerboseL1() const