Geant4-11
|
#include <G4VRFileManager.hh>
Public Member Functions | |
void | AddFileName (const G4String &fileName) |
virtual void | CloseFiles ()=0 |
G4VRFileManager ()=delete | |
G4VRFileManager (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 |
template<typename HT > | |
std::shared_ptr< G4VTHnRFileManager< HT > > | GetHnRFileManager () const |
G4String | GetNtupleFileName (const G4String &ntupleName) const |
G4String | GetNtupleFileName (G4int ntupleFileNumber) const |
G4String | GetPlotFileName () const |
virtual G4bool | SetFileName (const G4String &fileName) |
virtual | ~G4VRFileManager ()=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 |
std::shared_ptr< G4VTHnRFileManager< tools::histo::h1d > > | fH1RFileManager { nullptr } |
std::shared_ptr< G4VTHnRFileManager< tools::histo::h2d > > | fH2RFileManager { nullptr } |
std::shared_ptr< G4VTHnRFileManager< tools::histo::h3d > > | fH3RFileManager { nullptr } |
std::shared_ptr< G4VTHnRFileManager< tools::histo::p1d > > | fP1RFileManager { nullptr } |
std::shared_ptr< G4VTHnRFileManager< tools::histo::p2d > > | fP2RFileManager { nullptr } |
const G4AnalysisManagerState & | fState |
Static Protected Attributes | |
static constexpr std::string_view | fkClass { "G4VRFileManager" } |
Definition at line 50 of file G4VRFileManager.hh.
|
inlineexplicit |
Definition at line 53 of file G4VRFileManager.hh.
|
delete |
|
virtualdefault |
|
inherited |
Definition at line 44 of file G4BaseFileManager.cc.
References G4BaseFileManager::fFileNames, and G4InuclParticleNames::name().
|
pure virtual |
Implemented in G4CsvRFileManager, G4Hdf5RFileManager, G4RootRFileManager, and G4XmlRFileManager.
|
inlineinherited |
Definition at line 105 of file G4BaseFileManager.hh.
References G4BaseFileManager::fFileName.
|
inlineinherited |
Definition at line 109 of file G4BaseFileManager.hh.
References G4BaseFileManager::fFileNames.
Referenced by G4GenericFileManager::OpenFiles().
|
virtualinherited |
Reimplemented in G4CsvFileManager, G4CsvRFileManager, G4GenericFileManager, G4Hdf5FileManager, G4Hdf5RFileManager, G4RootFileManager, G4RootRFileManager, G4XmlFileManager, and G4XmlRFileManager.
Definition at line 57 of file G4BaseFileManager.cc.
References G4BaseFileManager::fState, G4AnalysisManagerState::GetType(), and G4StrUtil::to_lower_copy().
Referenced by G4BaseFileManager::GetHnFileName(), G4BaseFileManager::GetNtupleFileName(), and G4VFileManager::SetFileName().
|
inherited |
Definition at line 63 of file G4BaseFileManager.cc.
References G4BaseFileManager::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().
|
inherited |
Definition at line 91 of file G4BaseFileManager.cc.
References G4BaseFileManager::fFileName, G4BaseFileManager::GetFileType(), and G4Analysis::GetHnFileName().
std::shared_ptr< G4VTHnRFileManager< HT > > G4VRFileManager::GetHnRFileManager | ( | ) | const |
Definition at line 98 of file G4BaseFileManager.cc.
References G4BaseFileManager::fFileName, G4BaseFileManager::GetFileType(), and G4Analysis::GetNtupleFileName().
Definition at line 104 of file G4BaseFileManager.cc.
References G4BaseFileManager::fFileName, G4BaseFileManager::GetFileType(), and G4Analysis::GetNtupleFileName().
|
inherited |
Definition at line 110 of file G4BaseFileManager.cc.
References G4BaseFileManager::fFileName, and G4Analysis::GetPlotFileName().
|
inlineprotectedinherited |
Definition at line 113 of file G4BaseFileManager.hh.
References geant4_check_module_cycles::action, G4BaseFileManager::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 G4BaseFileManager::fFileName.
Referenced by G4VFileManager::SetFileName().
|
protectedinherited |
Definition at line 95 of file G4BaseFileManager.hh.
Referenced by G4BaseFileManager::GetFileName(), G4BaseFileManager::GetFullFileName(), G4BaseFileManager::GetHnFileName(), G4BaseFileManager::GetNtupleFileName(), G4RootFileManager::GetNtupleFileName(), G4BaseFileManager::GetPlotFileName(), G4CsvFileManager::OpenFile(), G4Hdf5FileManager::OpenFile(), G4RootFileManager::OpenFile(), G4XmlFileManager::OpenFile(), and G4BaseFileManager::SetFileName().
|
protectedinherited |
Definition at line 96 of file G4BaseFileManager.hh.
Referenced by G4BaseFileManager::AddFileName(), and G4BaseFileManager::GetFileNames().
|
protected |
Definition at line 71 of file G4VRFileManager.hh.
Referenced by G4CsvRFileManager::G4CsvRFileManager(), G4Hdf5RFileManager::G4Hdf5RFileManager(), G4RootRFileManager::G4RootRFileManager(), and G4XmlRFileManager::G4XmlRFileManager().
|
protected |
Definition at line 72 of file G4VRFileManager.hh.
Referenced by G4CsvRFileManager::G4CsvRFileManager(), G4Hdf5RFileManager::G4Hdf5RFileManager(), G4RootRFileManager::G4RootRFileManager(), and G4XmlRFileManager::G4XmlRFileManager().
|
protected |
Definition at line 73 of file G4VRFileManager.hh.
Referenced by G4CsvRFileManager::G4CsvRFileManager(), G4Hdf5RFileManager::G4Hdf5RFileManager(), G4RootRFileManager::G4RootRFileManager(), and G4XmlRFileManager::G4XmlRFileManager().
|
staticconstexprprotected |
Definition at line 67 of file G4VRFileManager.hh.
|
protected |
Definition at line 74 of file G4VRFileManager.hh.
Referenced by G4CsvRFileManager::G4CsvRFileManager(), G4Hdf5RFileManager::G4Hdf5RFileManager(), G4RootRFileManager::G4RootRFileManager(), and G4XmlRFileManager::G4XmlRFileManager().
|
protected |
Definition at line 75 of file G4VRFileManager.hh.
Referenced by G4CsvRFileManager::G4CsvRFileManager(), G4Hdf5RFileManager::G4Hdf5RFileManager(), G4RootRFileManager::G4RootRFileManager(), and G4XmlRFileManager::G4XmlRFileManager().
|
protectedinherited |
Definition at line 94 of file G4BaseFileManager.hh.
Referenced by G4RootFileManager::CreateFileImpl(), G4GenericFileManager::CreateFileManager(), G4GenericFileManager::CreateNtupleFileManager(), G4BaseFileManager::GetFileType(), G4BaseFileManager::Message(), and G4XmlFileManager::OpenFile().