Geant4-11
|
#include <G4RootRFileManager.hh>
Public Member Functions | |
void | AddFileName (const G4String &fileName) |
virtual void | CloseFiles () final |
G4RootRFileManager ()=delete | |
G4RootRFileManager (const G4AnalysisManagerState &state) | |
G4String | GetFileName () const |
const std::vector< G4String > & | GetFileNames () const |
virtual G4String | GetFileType () const final |
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 |
tools::rroot::file * | GetRFile (const G4String &fileName, G4bool isPerThread) const |
virtual G4bool | OpenRFile (const G4String &fileName, G4bool isPerThread) |
virtual G4bool | SetFileName (const G4String &fileName) |
virtual | ~G4RootRFileManager () |
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 |
Private Attributes | |
std::map< G4String, tools::rroot::file * > | fRFiles |
Static Private Attributes | |
static constexpr std::string_view | fkClass { "G4RootRFileManager" } |
Definition at line 47 of file G4RootRFileManager.hh.
|
explicit |
Definition at line 41 of file G4RootRFileManager.cc.
References G4VRFileManager::fH1RFileManager, G4VRFileManager::fH2RFileManager, G4VRFileManager::fH3RFileManager, G4VRFileManager::fP1RFileManager, and G4VRFileManager::fP2RFileManager.
|
delete |
|
virtual |
Definition at line 53 of file G4RootRFileManager.cc.
References fRFiles.
|
inherited |
Definition at line 44 of file G4BaseFileManager.cc.
References G4BaseFileManager::fFileNames, and G4InuclParticleNames::name().
|
inlinefinalvirtual |
|
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().
|
inlinefinalvirtual |
Reimplemented from G4BaseFileManager.
Definition at line 54 of file G4RootRFileManager.hh.
|
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(), GetRFile(), G4Hdf5FileManager::OpenFile(), G4RootFileManager::OpenFile(), G4XmlFileManager::OpenFile(), G4XmlRFileManager::OpenRFile(), G4Hdf5RFileManager::OpenRFile(), and OpenRFile().
|
inherited |
Definition at line 91 of file G4BaseFileManager.cc.
References G4BaseFileManager::fFileName, G4BaseFileManager::GetFileType(), and G4Analysis::GetHnFileName().
|
inherited |
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().
tools::rroot::file * G4RootRFileManager::GetRFile | ( | const G4String & | fileName, |
G4bool | isPerThread | ||
) | const |
Definition at line 99 of file G4RootRFileManager.cc.
References fRFiles, G4BaseFileManager::GetFullFileName(), and G4InuclParticleNames::name().
|
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(), OpenRFile(), and G4GenericFileManager::WriteFiles().
Definition at line 65 of file G4RootRFileManager.cc.
References geant4_check_module_cycles::file, fkClass, fRFiles, G4cout, G4BaseFileManager::GetFullFileName(), G4Analysis::kVL1, G4Analysis::kVL4, G4BaseFileManager::Message(), G4InuclParticleNames::name(), and G4Analysis::Warn().
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().
|
protectedinherited |
Definition at line 71 of file G4VRFileManager.hh.
Referenced by G4CsvRFileManager::G4CsvRFileManager(), G4Hdf5RFileManager::G4Hdf5RFileManager(), G4RootRFileManager(), and G4XmlRFileManager::G4XmlRFileManager().
|
protectedinherited |
Definition at line 72 of file G4VRFileManager.hh.
Referenced by G4CsvRFileManager::G4CsvRFileManager(), G4Hdf5RFileManager::G4Hdf5RFileManager(), G4RootRFileManager(), and G4XmlRFileManager::G4XmlRFileManager().
|
protectedinherited |
Definition at line 73 of file G4VRFileManager.hh.
Referenced by G4CsvRFileManager::G4CsvRFileManager(), G4Hdf5RFileManager::G4Hdf5RFileManager(), G4RootRFileManager(), and G4XmlRFileManager::G4XmlRFileManager().
|
staticconstexprprivate |
Definition at line 69 of file G4RootRFileManager.hh.
Referenced by OpenRFile().
|
protectedinherited |
Definition at line 74 of file G4VRFileManager.hh.
Referenced by G4CsvRFileManager::G4CsvRFileManager(), G4Hdf5RFileManager::G4Hdf5RFileManager(), G4RootRFileManager(), and G4XmlRFileManager::G4XmlRFileManager().
|
protectedinherited |
Definition at line 75 of file G4VRFileManager.hh.
Referenced by G4CsvRFileManager::G4CsvRFileManager(), G4Hdf5RFileManager::G4Hdf5RFileManager(), G4RootRFileManager(), and G4XmlRFileManager::G4XmlRFileManager().
|
private |
Definition at line 72 of file G4RootRFileManager.hh.
Referenced by GetRFile(), OpenRFile(), and ~G4RootRFileManager().
|
protectedinherited |
Definition at line 94 of file G4BaseFileManager.hh.
Referenced by G4RootFileManager::CreateFileImpl(), G4GenericFileManager::CreateFileManager(), G4GenericFileManager::CreateNtupleFileManager(), G4BaseFileManager::GetFileType(), G4BaseFileManager::Message(), and G4XmlFileManager::OpenFile().