Geant4-11
|
#include <G4BaseFileManager.hh>
Public Member Functions | |
void | AddFileName (const G4String &fileName) |
G4BaseFileManager ()=delete | |
G4BaseFileManager (const G4AnalysisManagerState &state) | |
G4String | GetFileName () const |
const std::vector< G4String > & | GetFileNames () const |
virtual G4String | GetFileType () 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 | GetNtupleFileName (G4int ntupleFileNumber) const |
G4String | GetPlotFileName () const |
virtual G4bool | SetFileName (const G4String &fileName) |
virtual | ~G4BaseFileManager ()=default |
Protected Member Functions | |
void | Message (G4int level, const G4String &action, const G4String &objectType, const G4String &objectName="", G4bool success=true) const |
Protected Attributes | |
G4String | fFileName |
std::vector< G4String > | fFileNames |
const G4AnalysisManagerState & | fState |
Definition at line 39 of file G4BaseFileManager.hh.
|
explicit |
Definition at line 35 of file G4BaseFileManager.cc.
|
delete |
|
virtualdefault |
void G4BaseFileManager::AddFileName | ( | const G4String & | fileName | ) |
Definition at line 44 of file G4BaseFileManager.cc.
References fFileNames, and G4InuclParticleNames::name().
|
inline |
|
inline |
Definition at line 109 of file G4BaseFileManager.hh.
References fFileNames.
Referenced by G4GenericFileManager::OpenFiles().
|
virtual |
Reimplemented in G4CsvFileManager, G4CsvRFileManager, G4GenericFileManager, G4Hdf5FileManager, G4Hdf5RFileManager, G4RootFileManager, G4RootRFileManager, G4XmlFileManager, and G4XmlRFileManager.
Definition at line 57 of file G4BaseFileManager.cc.
References fState, G4AnalysisManagerState::GetType(), and G4StrUtil::to_lower_copy().
Referenced by GetHnFileName(), GetNtupleFileName(), and G4VFileManager::SetFileName().
G4String G4BaseFileManager::GetFullFileName | ( | const G4String & | baseFileName = "" , |
G4bool | isPerThread = true |
||
) | const |
Definition at line 63 of file G4BaseFileManager.cc.
References fFileName, G4Analysis::GetBaseName(), and G4InuclParticleNames::name().
Referenced by G4Hdf5FileManager::GetNtupleFileName(), G4RootFileManager::GetNtupleFileName(), G4XmlRFileManager::GetRFile(), G4Hdf5RFileManager::GetRFile(), G4RootRFileManager::GetRFile(), G4Hdf5FileManager::OpenFile(), G4RootFileManager::OpenFile(), G4XmlFileManager::OpenFile(), G4XmlRFileManager::OpenRFile(), G4Hdf5RFileManager::OpenRFile(), and G4RootRFileManager::OpenRFile().
G4String G4BaseFileManager::GetHnFileName | ( | const G4String & | hnType, |
const G4String & | hnName | ||
) | const |
Definition at line 91 of file G4BaseFileManager.cc.
References fFileName, GetFileType(), and G4Analysis::GetHnFileName().
Definition at line 98 of file G4BaseFileManager.cc.
References fFileName, GetFileType(), and G4Analysis::GetNtupleFileName().
Definition at line 104 of file G4BaseFileManager.cc.
References fFileName, GetFileType(), and G4Analysis::GetNtupleFileName().
G4String G4BaseFileManager::GetPlotFileName | ( | ) | const |
Definition at line 110 of file G4BaseFileManager.cc.
References fFileName, and G4Analysis::GetPlotFileName().
|
inlineprotected |
Definition at line 113 of file G4BaseFileManager.hh.
References geant4_check_module_cycles::action, fState, and G4AnalysisManagerState::Message().
Referenced by G4GenericFileManager::CloseFiles(), G4CsvFileManager::CloseNtupleFile(), G4XmlFileManager::CloseNtupleFile(), G4Hdf5FileManager::CreateDirectory(), G4RootFileManager::CreateDirectory(), G4GenericFileManager::CreateFileManager(), G4CsvFileManager::CreateNtupleFile(), G4XmlFileManager::CreateNtupleFile(), G4GenericFileManager::DeleteEmptyFiles(), G4Hdf5RFileManager::OpenDirectory(), G4GenericFileManager::OpenFile(), G4GenericFileManager::OpenFiles(), G4CsvRFileManager::OpenRFile(), G4XmlRFileManager::OpenRFile(), G4Hdf5RFileManager::OpenRFile(), G4RootRFileManager::OpenRFile(), and G4GenericFileManager::WriteFiles().
Reimplemented in G4VFileManager.
Definition at line 99 of file G4BaseFileManager.hh.
References fFileName.
Referenced by G4VFileManager::SetFileName().
|
protected |
Definition at line 95 of file G4BaseFileManager.hh.
Referenced by GetFileName(), GetFullFileName(), GetHnFileName(), GetNtupleFileName(), G4RootFileManager::GetNtupleFileName(), GetPlotFileName(), G4CsvFileManager::OpenFile(), G4Hdf5FileManager::OpenFile(), G4RootFileManager::OpenFile(), G4XmlFileManager::OpenFile(), and SetFileName().
|
protected |
Definition at line 96 of file G4BaseFileManager.hh.
Referenced by AddFileName(), and GetFileNames().
|
protected |
Definition at line 94 of file G4BaseFileManager.hh.
Referenced by G4RootFileManager::CreateFileImpl(), G4GenericFileManager::CreateFileManager(), G4GenericFileManager::CreateNtupleFileManager(), GetFileType(), Message(), and G4XmlFileManager::OpenFile().