Geant4
10.01.p02
|
#include <G4BaseFileManager.hh>
Public Member Functions | |
G4BaseFileManager (const G4AnalysisManagerState &state) | |
virtual | ~G4BaseFileManager () |
virtual G4bool | SetFileName (const G4String &fileName) |
G4String | GetFileName () const |
G4String | GetFullFileName (const G4String &baseFileName="", G4bool isPerThread=true) const |
G4String | GetHnFileName (const G4String &hnType, const G4String &hnName) const |
G4String | GetNtupleFileName (const G4String &ntupleName) const |
G4String | GetFileType () const |
Protected Member Functions | |
G4String | TakeOffExtension (G4String &name) const |
Protected Attributes | |
const G4AnalysisManagerState & | fState |
G4String | fFileName |
Definition at line 38 of file G4BaseFileManager.hh.
G4BaseFileManager::G4BaseFileManager | ( | const G4AnalysisManagerState & | state | ) |
Definition at line 35 of file G4BaseFileManager.cc.
|
virtual |
Definition at line 42 of file G4BaseFileManager.cc.
|
inline |
Definition at line 87 of file G4BaseFileManager.hh.
References fFileName.
Referenced by G4XmlNtupleManager::CreateNtuple(), G4CsvNtupleManager::CreateNtuple(), G4VAnalysisReader::GetFileName(), G4VAnalysisManager::GetFileName(), G4VAnalysisReader::GetNtuple(), G4VAnalysisManager::OpenFile(), G4VAnalysisReader::ReadH1(), G4VAnalysisReader::ReadH2(), G4VAnalysisReader::ReadH3(), G4VAnalysisReader::ReadP1(), G4VAnalysisReader::ReadP2(), G4RootAnalysisManager::WriteImpl(), and G4XmlAnalysisManager::WriteImpl().
G4String G4BaseFileManager::GetFileType | ( | ) | const |
Definition at line 141 of file G4BaseFileManager.cc.
References fState, G4AnalysisManagerState::GetType(), and G4String::toLower().
Referenced by TakeOffExtension().
G4String G4BaseFileManager::GetFullFileName | ( | const G4String & | baseFileName = "" , |
G4bool | isPerThread = true |
||
) | const |
Definition at line 70 of file G4BaseFileManager.cc.
References G4String::append(), fFileName, fState, G4Threading::G4GetThreadId(), G4AnalysisManagerState::GetIsMaster(), name, and TakeOffExtension().
Referenced by G4RootAnalysisManager::CloseFileImpl(), G4XmlAnalysisManager::CloseFileImpl(), G4XmlFileManager::CloseHnFile(), G4XmlFileManager::CreateHnFile(), G4CsvAnalysisReader::GetHnFileName(), G4XmlRFileManager::GetRFile(), G4RootRFileManager::GetRFile(), G4RootFileManager::OpenFile(), G4XmlAnalysisManager::OpenFileImpl(), G4RootAnalysisManager::OpenFileImpl(), G4XmlRFileManager::OpenRFile(), G4RootRFileManager::OpenRFile(), G4RootFileManager::WriteFile(), and G4XmlAnalysisManager::WriteImpl().
G4String G4BaseFileManager::GetHnFileName | ( | const G4String & | hnType, |
const G4String & | hnName | ||
) | const |
Definition at line 120 of file G4BaseFileManager.cc.
References G4String::append(), fFileName, name, and TakeOffExtension().
Referenced by G4CsvAnalysisReader::GetHnFileName(), G4CsvAnalysisManager::WriteH1(), G4CsvAnalysisManager::WriteH2(), G4CsvAnalysisManager::WriteH3(), G4CsvAnalysisManager::WriteP1(), and G4CsvAnalysisManager::WriteP2().
Definition at line 94 of file G4BaseFileManager.cc.
References G4String::append(), fFileName, fState, G4Threading::G4GetThreadId(), G4AnalysisManagerState::GetIsMaster(), name, and TakeOffExtension().
Referenced by G4CsvFileManager::CloseNtupleFile(), G4XmlFileManager::CloseNtupleFile(), G4CsvFileManager::CreateNtupleFile(), G4XmlFileManager::CreateNtupleFile(), G4CsvAnalysisReader::ReadNtupleImpl(), and G4XmlAnalysisReader::ReadNtupleImpl().
Reimplemented in G4VFileManager.
Definition at line 82 of file G4BaseFileManager.hh.
References fFileName.
Referenced by G4VFileManager::SetFileName(), and G4VAnalysisReader::SetFileName().
Definition at line 51 of file G4BaseFileManager.cc.
References G4String::append(), and GetFileType().
Referenced by GetFullFileName(), GetHnFileName(), and GetNtupleFileName().
|
protected |
Definition at line 79 of file G4BaseFileManager.hh.
Referenced by GetFileName(), GetFullFileName(), GetHnFileName(), GetNtupleFileName(), G4CsvFileManager::OpenFile(), G4XmlFileManager::OpenFile(), G4RootFileManager::OpenFile(), and SetFileName().
|
protected |
Definition at line 78 of file G4BaseFileManager.hh.
Referenced by G4XmlFileManager::CloseHnFile(), G4CsvFileManager::CloseNtupleFile(), G4XmlFileManager::CloseNtupleFile(), G4RootFileManager::CreateHistoDirectory(), G4XmlFileManager::CreateHnFile(), G4RootFileManager::CreateNtupleDirectory(), G4CsvFileManager::CreateNtupleFile(), G4XmlFileManager::CreateNtupleFile(), G4RootFileManager::CreateProfileDirectory(), GetFileType(), GetFullFileName(), GetNtupleFileName(), G4CsvRFileManager::OpenRFile(), G4XmlRFileManager::OpenRFile(), G4RootRFileManager::OpenRFile(), and G4RootFileManager::WriteFile().