Geant4 11.2.2
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 |
void | SetCompressionLevel (G4int level) |
virtual G4bool | SetFileName (const G4String &fileName) |
virtual G4String | GetFileType () const |
virtual G4bool | HasCycles () const |
void | AddFileName (const G4String &fileName) |
G4int | GetCompressionLevel () const |
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 |
void | ClearData () |
Protected Attributes | |
const G4AnalysisManagerState & | fState |
G4int | fCompressionLevel { 1 } |
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.
|
inlineprotected |
Definition at line 151 of file G4BaseFileManager.hh.
Referenced by G4VTFileManager< FT >::Clear(), and G4GenericFileManager::DeleteEmptyFiles().
|
inline |
Definition at line 133 of file G4BaseFileManager.hh.
Referenced by G4RootFileManager::CreateFileImpl().
|
inline |
Definition at line 136 of file G4BaseFileManager.hh.
|
inline |
Definition at line 140 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 GetFullFileName(), GetHnFileName(), GetNtupleFileName(), GetNtupleFileName(), G4CsvFileManager::GetNtupleFileName(), and G4VFileManager::SetFileName().
G4String G4BaseFileManager::GetFullFileName | ( | const G4String & | baseFileName = "", |
G4bool | isPerThread = true ) const |
Definition at line 63 of file G4BaseFileManager.cc.
Referenced by G4Hdf5RFileManager::GetRFile(), G4RootRFileManager::GetRFile(), G4XmlRFileManager::GetRFile(), G4Hdf5FileManager::OpenFile(), G4RootFileManager::OpenFile(), G4XmlFileManager::OpenFile(), G4RootRFileManager::OpenRFile(), and G4XmlRFileManager::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 129 of file G4BaseFileManager.hh.
Referenced by GetHnFileName(), GetNtupleFileName(), and GetNtupleFileName().
|
inlineprotected |
Definition at line 144 of file G4BaseFileManager.hh.
Referenced by G4GenericFileManager::CloseFiles(), G4GenericFileManager::DeleteEmptyFiles(), G4GenericFileManager::OpenFile(), G4GenericFileManager::OpenFiles(), G4CsvRFileManager::OpenRFile(), G4RootRFileManager::OpenRFile(), G4XmlRFileManager::OpenRFile(), and G4GenericFileManager::WriteFiles().
|
inline |
Definition at line 120 of file G4BaseFileManager.hh.
Reimplemented in G4VFileManager.
Definition at line 123 of file G4BaseFileManager.hh.
Referenced by G4VFileManager::SetFileName().
|
protected |
Definition at line 115 of file G4BaseFileManager.hh.
Referenced by GetCompressionLevel(), and SetCompressionLevel().
|
protected |
Definition at line 116 of file G4BaseFileManager.hh.
Referenced by GetFileName(), GetFullFileName(), GetNtupleFileName(), GetNtupleFileName(), G4CsvFileManager::GetNtupleFileName(), GetPlotFileName(), G4CsvFileManager::OpenFile(), G4Hdf5FileManager::OpenFile(), G4RootFileManager::OpenFile(), G4XmlFileManager::OpenFile(), and SetFileName().
|
protected |
Definition at line 117 of file G4BaseFileManager.hh.
Referenced by AddFileName(), ClearData(), and GetFileNames().
|
protected |
Definition at line 114 of file G4BaseFileManager.hh.
Referenced by G4GenericFileManager::CreateNtupleFileManager(), G4VFileManager::GetCycle(), GetFileType(), GetFullFileName(), Message(), and G4XmlFileManager::OpenFile().