33 #include "tools/wroot/file"
34 #include <tools/gzip_buffer>
67 fFile =
new tools::wroot::file(std::cout, name);
68 fFile->add_ziper(
'Z',tools::gzip_buffer);
69 fFile->set_compression(9);
71 if ( !
fFile->is_open() ) {
73 description <<
" " <<
"Cannot open file " << fileName;
139 G4Exception(
"G4RootFileManager::CreateHistoDirectory()",
173 G4Exception(
"G4RootFileManager::CreateNtupleDirectory()",
void Message(const G4String &action, const G4String &object, const G4String &objectName, G4bool success=true) const
G4bool CreateNtupleDirectory()
virtual G4bool CloseFile()
G4bool fLockHistoDirectoryName
G4String fNtupleDirectoryName
std::ostringstream G4ExceptionDescription
G4String GetFullFileName() const
G4bool CreateHistoDirectory()
tools::wroot::directory * fNtupleDirectory
tools::wroot::file * fFile
G4String fHistoDirectoryName
const G4AnalysisManagerState & fState
tools::wroot::directory * fHistoDirectory
virtual G4bool WriteFile()
const G4AnalysisVerbose * GetVerboseL2() const
G4RootFileManager(const G4AnalysisManagerState &state)
const G4AnalysisVerbose * GetVerboseL4() const
virtual ~G4RootFileManager()
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
G4bool fLockNtupleDirectoryName
virtual G4bool OpenFile(const G4String &fileName)
const G4AnalysisVerbose * GetVerboseL1() const