Geant4
10.00.p01
|
#include <G4RootFileManager.hh>
Public Member Functions | |
G4RootFileManager (const G4AnalysisManagerState &state) | |
virtual | ~G4RootFileManager () |
virtual G4bool | OpenFile (const G4String &fileName) |
virtual G4bool | WriteFile () |
virtual G4bool | CloseFile () |
G4bool | CreateHistoDirectory () |
G4bool | CreateNtupleDirectory () |
tools::wroot::file * | GetFile () const |
tools::wroot::directory * | GetHistoDirectory () const |
tools::wroot::directory * | GetNtupleDirectory () const |
Public Member Functions inherited from G4VFileManager | |
G4VFileManager (const G4AnalysisManagerState &state) | |
virtual | ~G4VFileManager () |
G4bool | SetFileName (const G4String &fileName) |
G4bool | SetHistoDirectoryName (const G4String &dirName) |
G4bool | SetNtupleDirectoryName (const G4String &dirName) |
G4String | GetFileName () const |
G4String | GetFullFileName () const |
G4String | GetNtupleFileName (const G4String &ntupleName) const |
G4String | GetHistoDirectoryName () const |
G4String | GetNtupleDirectoryName () const |
G4String | GetFileType () const |
Private Attributes | |
tools::wroot::file * | fFile |
tools::wroot::directory * | fHistoDirectory |
tools::wroot::directory * | fNtupleDirectory |
Additional Inherited Members | |
Protected Attributes inherited from G4VFileManager | |
const G4AnalysisManagerState & | fState |
G4String | fFileName |
G4String | fHistoDirectoryName |
G4String | fNtupleDirectoryName |
G4bool | fLockFileName |
G4bool | fLockHistoDirectoryName |
G4bool | fLockNtupleDirectoryName |
Definition at line 45 of file G4RootFileManager.hh.
G4RootFileManager::G4RootFileManager | ( | const G4AnalysisManagerState & | state | ) |
Definition at line 40 of file G4RootFileManager.cc.
|
virtual |
Definition at line 49 of file G4RootFileManager.cc.
References fFile.
|
virtual |
Implements G4VFileManager.
Definition at line 110 of file G4RootFileManager.cc.
References fFile, and G4VFileManager::fLockFileName.
Referenced by G4RootAnalysisManager::CloseFileImpl().
G4bool G4RootFileManager::CreateHistoDirectory | ( | ) |
Definition at line 120 of file G4RootFileManager.cc.
References fFile, fHistoDirectory, G4VFileManager::fHistoDirectoryName, G4VFileManager::fState, G4Exception(), G4AnalysisManagerState::GetVerboseL2(), G4AnalysisManagerState::GetVerboseL4(), JustWarning, and G4AnalysisVerbose::Message().
Referenced by OpenFile().
G4bool G4RootFileManager::CreateNtupleDirectory | ( | ) |
Definition at line 154 of file G4RootFileManager.cc.
References fFile, fNtupleDirectory, G4VFileManager::fNtupleDirectoryName, G4VFileManager::fState, G4Exception(), G4AnalysisManagerState::GetVerboseL2(), G4AnalysisManagerState::GetVerboseL4(), JustWarning, and G4AnalysisVerbose::Message().
Referenced by OpenFile().
|
inline |
Definition at line 74 of file G4RootFileManager.hh.
References fFile.
|
inline |
Definition at line 77 of file G4RootFileManager.hh.
References fHistoDirectory.
Referenced by G4RootAnalysisManager::WriteH1(), and G4RootAnalysisManager::WriteH2().
|
inline |
Definition at line 80 of file G4RootFileManager.hh.
References fNtupleDirectory.
Referenced by G4RootAnalysisManager::OpenFileImpl().
Implements G4VFileManager.
Definition at line 58 of file G4RootFileManager.cc.
References CreateHistoDirectory(), CreateNtupleDirectory(), fFile, G4VFileManager::fFileName, G4VFileManager::fLockFileName, G4VFileManager::fLockHistoDirectoryName, G4VFileManager::fLockNtupleDirectoryName, G4Exception(), G4VFileManager::GetFullFileName(), JustWarning, and name.
Referenced by G4RootAnalysisManager::OpenFileImpl().
|
virtual |
Implements G4VFileManager.
Definition at line 91 of file G4RootFileManager.cc.
References fFile, G4VFileManager::fState, G4VFileManager::GetFullFileName(), G4AnalysisManagerState::GetVerboseL1(), G4AnalysisManagerState::GetVerboseL4(), G4AnalysisVerbose::Message(), and n.
Referenced by G4RootAnalysisManager::WriteImpl().
|
private |
Definition at line 67 of file G4RootFileManager.hh.
Referenced by CloseFile(), CreateHistoDirectory(), CreateNtupleDirectory(), GetFile(), OpenFile(), WriteFile(), and ~G4RootFileManager().
|
private |
Definition at line 68 of file G4RootFileManager.hh.
Referenced by CreateHistoDirectory(), and GetHistoDirectory().
|
private |
Definition at line 69 of file G4RootFileManager.hh.
Referenced by CreateNtupleDirectory(), and GetNtupleDirectory().