Geant4 11.1.1
Toolkit for the simulation of the passage of particles through matter
|
#include <G4BaseFileManager.hh>
Public Member Functions | |
G4BaseFileManager (const G4AnalysisManagerState &state) | |
G4BaseFileManager ()=delete | |
virtual | ~G4BaseFileManager ()=default |
virtual G4bool | SetFileName (const G4String &fileName) |
virtual G4String | GetFileType () const |
virtual G4bool | HasCycles () const |
void | AddFileName (const G4String &fileName) |
G4String | GetFileName () const |
G4String | GetFullFileName (const G4String &baseFileName="", G4bool isPerThread=true) const |
const std::vector< G4String > & | GetFileNames () const |
G4String | GetHnFileName (const G4String &hnType, const G4String &hnName) const |
G4String | GetHnFileName (const G4String &fileName, G4int cycle=0) const |
G4String | GetNtupleFileName (const G4String &ntupleName, G4int cycle=0) const |
G4String | GetNtupleFileName (G4int ntupleFileNumber, G4int cycle=0) const |
G4String | GetPlotFileName () const |
Protected Member Functions | |
void | Message (G4int level, const G4String &action, const G4String &objectType, const G4String &objectName="", G4bool success=true) const |
Protected Attributes | |
const G4AnalysisManagerState & | fState |
G4String | fFileName |
std::vector< G4String > | fFileNames |
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.
|
inline |
Definition at line 122 of file G4BaseFileManager.hh.
|
inline |
Definition at line 126 of file G4BaseFileManager.hh.
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.
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.
Referenced by G4XmlRFileManager::GetRFile(), G4Hdf5RFileManager::GetRFile(), G4RootRFileManager::GetRFile(), G4Hdf5FileManager::OpenFile(), G4RootFileManager::OpenFile(), G4XmlFileManager::OpenFile(), G4XmlRFileManager::OpenRFile(), and G4RootRFileManager::OpenRFile().
Definition at line 98 of file G4BaseFileManager.cc.
G4String G4BaseFileManager::GetHnFileName | ( | const G4String & | hnType, |
const G4String & | hnName | ||
) | const |
Definition at line 91 of file G4BaseFileManager.cc.
G4String G4BaseFileManager::GetNtupleFileName | ( | const G4String & | ntupleName, |
G4int | cycle = 0 |
||
) | const |
Definition at line 108 of file G4BaseFileManager.cc.
Definition at line 118 of file G4BaseFileManager.cc.
G4String G4BaseFileManager::GetPlotFileName | ( | ) | const |
Definition at line 128 of file G4BaseFileManager.cc.
|
inlinevirtual |
Reimplemented in G4RootFileManager.
Definition at line 118 of file G4BaseFileManager.hh.
Referenced by GetHnFileName(), and GetNtupleFileName().
|
inlineprotected |
Definition at line 130 of file G4BaseFileManager.hh.
Referenced by G4GenericFileManager::CloseFiles(), G4GenericFileManager::DeleteEmptyFiles(), G4GenericFileManager::OpenFile(), G4GenericFileManager::OpenFiles(), G4CsvRFileManager::OpenRFile(), G4XmlRFileManager::OpenRFile(), G4RootRFileManager::OpenRFile(), and G4GenericFileManager::WriteFiles().
Reimplemented in G4VFileManager.
Definition at line 112 of file G4BaseFileManager.hh.
Referenced by G4VFileManager::SetFileName().
|
protected |
Definition at line 108 of file G4BaseFileManager.hh.
Referenced by GetFileName(), GetFullFileName(), GetHnFileName(), GetNtupleFileName(), GetPlotFileName(), G4CsvFileManager::OpenFile(), G4Hdf5FileManager::OpenFile(), G4RootFileManager::OpenFile(), G4XmlFileManager::OpenFile(), and SetFileName().
|
protected |
Definition at line 109 of file G4BaseFileManager.hh.
Referenced by AddFileName(), and GetFileNames().
|
protected |
Definition at line 107 of file G4BaseFileManager.hh.
Referenced by G4RootFileManager::CreateFileImpl(), G4GenericFileManager::CreateNtupleFileManager(), G4VFileManager::GetCycle(), GetFileType(), GetFullFileName(), Message(), and G4XmlFileManager::OpenFile().