Geant4
10.00.p03
|
#include <G4VFileManager.hh>
Public Member Functions | |
G4VFileManager (const G4AnalysisManagerState &state) | |
virtual | ~G4VFileManager () |
virtual G4bool | OpenFile (const G4String &fileName)=0 |
virtual G4bool | WriteFile ()=0 |
virtual G4bool | CloseFile ()=0 |
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 |
Definition at line 38 of file G4VFileManager.hh.
G4VFileManager::G4VFileManager | ( | const G4AnalysisManagerState & | state | ) |
Definition at line 36 of file G4VFileManager.cc.
|
virtual |
Definition at line 48 of file G4VFileManager.cc.
|
pure virtual |
Implemented in G4RootFileManager, G4CsvFileManager, and G4XmlFileManager.
|
inline |
Definition at line 75 of file G4VFileManager.hh.
References fFileName.
Referenced by G4XmlNtupleManager::CreateNtuple(), G4CsvNtupleManager::CreateNtuple(), G4VAnalysisManager::GetFileName(), G4VAnalysisManager::OpenFile(), G4XmlAnalysisManager::WriteImpl(), and G4RootAnalysisManager::WriteImpl().
G4String G4VFileManager::GetFileType | ( | ) | const |
Definition at line 147 of file G4VFileManager.cc.
References fState, G4AnalysisManagerState::GetType(), and G4String::toLower().
Referenced by GetFullFileName(), and GetNtupleFileName().
G4String G4VFileManager::GetFullFileName | ( | ) | const |
Definition at line 105 of file G4VFileManager.cc.
References G4String::append(), fFileName, fState, G4Threading::G4GetThreadId(), GetFileType(), G4AnalysisManagerState::GetIsMaster(), and name.
Referenced by G4XmlAnalysisManager::CloseFileImpl(), G4RootAnalysisManager::CloseFileImpl(), G4XmlFileManager::CloseHnFile(), G4XmlFileManager::CreateHnFile(), G4RootFileManager::OpenFile(), G4XmlAnalysisManager::OpenFileImpl(), G4RootAnalysisManager::OpenFileImpl(), G4RootFileManager::WriteFile(), and G4XmlAnalysisManager::WriteImpl().
|
inline |
Definition at line 79 of file G4VFileManager.hh.
References fHistoDirectoryName.
Referenced by G4VAnalysisManager::GetHistoDirectoryName(), G4XmlAnalysisManager::WriteH1(), and G4XmlAnalysisManager::WriteH2().
|
inline |
Definition at line 83 of file G4VFileManager.hh.
References fNtupleDirectoryName.
Referenced by G4XmlNtupleManager::FinishNtuple(), and G4VAnalysisManager::GetNtupleDirectoryName().
Definition at line 125 of file G4VFileManager.cc.
References G4String::append(), fFileName, fState, G4Threading::G4GetThreadId(), GetFileType(), G4AnalysisManagerState::GetIsMaster(), and name.
Referenced by G4CsvFileManager::CloseNtupleFile(), G4XmlFileManager::CloseNtupleFile(), G4CsvFileManager::CreateNtupleFile(), and G4XmlFileManager::CreateNtupleFile().
Implemented in G4RootFileManager, G4CsvFileManager, and G4XmlFileManager.
Definition at line 57 of file G4VFileManager.cc.
References fFileName, fLockFileName, G4Exception(), and JustWarning.
Referenced by G4XmlAnalysisManager::OpenFileImpl(), G4RootAnalysisManager::OpenFileImpl(), and G4VAnalysisManager::SetFileName().
Definition at line 73 of file G4VFileManager.cc.
References fHistoDirectoryName, fLockHistoDirectoryName, G4Exception(), and JustWarning.
Referenced by G4VAnalysisManager::SetHistoDirectoryName().
Definition at line 89 of file G4VFileManager.cc.
References fLockNtupleDirectoryName, fNtupleDirectoryName, G4Exception(), and JustWarning.
Referenced by G4VAnalysisManager::SetNtupleDirectoryName().
|
pure virtual |
Implemented in G4RootFileManager, G4CsvFileManager, and G4XmlFileManager.
|
protected |
Definition at line 65 of file G4VFileManager.hh.
Referenced by GetFileName(), GetFullFileName(), GetNtupleFileName(), G4XmlFileManager::OpenFile(), G4CsvFileManager::OpenFile(), G4RootFileManager::OpenFile(), and SetFileName().
|
protected |
Definition at line 66 of file G4VFileManager.hh.
Referenced by G4RootFileManager::CreateHistoDirectory(), GetHistoDirectoryName(), and SetHistoDirectoryName().
|
protected |
Definition at line 68 of file G4VFileManager.hh.
Referenced by G4XmlFileManager::CloseFile(), G4CsvFileManager::CloseFile(), G4RootFileManager::CloseFile(), G4XmlFileManager::OpenFile(), G4CsvFileManager::OpenFile(), G4RootFileManager::OpenFile(), and SetFileName().
|
protected |
Definition at line 69 of file G4VFileManager.hh.
Referenced by G4XmlFileManager::LockHistoDirectoryName(), G4RootFileManager::OpenFile(), and SetHistoDirectoryName().
|
protected |
Definition at line 70 of file G4VFileManager.hh.
Referenced by G4XmlFileManager::LockNtupleDirectoryName(), G4CsvFileManager::OpenFile(), G4RootFileManager::OpenFile(), and SetNtupleDirectoryName().
|
protected |
Definition at line 67 of file G4VFileManager.hh.
Referenced by G4RootFileManager::CreateNtupleDirectory(), GetNtupleDirectoryName(), and SetNtupleDirectoryName().
|
protected |
Definition at line 64 of file G4VFileManager.hh.
Referenced by G4XmlFileManager::CloseHnFile(), G4CsvFileManager::CloseNtupleFile(), G4XmlFileManager::CloseNtupleFile(), G4RootFileManager::CreateHistoDirectory(), G4XmlFileManager::CreateHnFile(), G4RootFileManager::CreateNtupleDirectory(), G4CsvFileManager::CreateNtupleFile(), G4XmlFileManager::CreateNtupleFile(), GetFileType(), GetFullFileName(), GetNtupleFileName(), and G4RootFileManager::WriteFile().