33 #include "tools/wroot/file"
34 #include <tools/gzip_buffer>
65 if ( fFile )
delete fFile;
68 fFile->add_ziper(
'Z',tools::gzip_buffer);
69 fFile->set_compression(9);
71 if ( ! fFile->is_open() ) {
73 description <<
" " <<
"Cannot open file " << fileName;
124 fHistoDirectory = &(fFile->dir());
135 if ( ! fHistoDirectory ) {
139 G4Exception(
"G4RootFileManager::CreateHistoDirectory()",
158 fNtupleDirectory = &(fFile->dir());
169 if ( ! fNtupleDirectory ) {
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()
G4double G4NeutronHPJENDLHEData::G4double result
G4String fHistoDirectoryName
const G4AnalysisManagerState & fState
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