Geant4 10.7.0
Toolkit for the simulation of the passage of particles through matter
|
#include <G4VFileManager.hh>
Public Member Functions | |
G4VFileManager (const G4AnalysisManagerState &state) | |
virtual | ~G4VFileManager () |
virtual G4bool | OpenFile (const G4String &fileName)=0 |
virtual G4bool | CreateFile (const G4String &fileName)=0 |
virtual G4bool | WriteFile (const G4String &fileName)=0 |
virtual G4bool | CloseFile (const G4String &fileName)=0 |
virtual G4bool | SetIsEmpty (const G4String &fileName, G4bool isEmpty)=0 |
virtual G4bool | WriteFiles ()=0 |
virtual G4bool | CloseFiles ()=0 |
virtual G4bool | DeleteEmptyFiles ()=0 |
virtual G4bool | SetFileName (const G4String &fileName) final |
G4bool | SetHistoDirectoryName (const G4String &dirName) |
G4bool | SetNtupleDirectoryName (const G4String &dirName) |
void | LockDirectoryNames () |
G4bool | IsOpenFile () const |
G4String | GetHistoDirectoryName () const |
G4String | GetNtupleDirectoryName () const |
template<typename HT > | |
std::shared_ptr< G4VTHnFileManager< HT > > | GetHnFileManager () const |
Public Member Functions inherited from G4BaseFileManager | |
G4BaseFileManager (const G4AnalysisManagerState &state) | |
virtual | ~G4BaseFileManager () |
virtual G4bool | SetFileName (const G4String &fileName) |
virtual G4String | GetFileType () 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 | GetNtupleFileName (const G4String &ntupleName) const |
G4String | GetNtupleFileName (G4int ntupleFileNumber) const |
G4String | GetPlotFileName () const |
Protected Attributes | |
G4String | fHistoDirectoryName |
G4String | fNtupleDirectoryName |
G4bool | fIsOpenFile |
G4bool | fLockDirectoryNames |
std::shared_ptr< G4VTHnFileManager< tools::histo::h1d > > | fH1FileManager |
std::shared_ptr< G4VTHnFileManager< tools::histo::h2d > > | fH2FileManager |
std::shared_ptr< G4VTHnFileManager< tools::histo::h3d > > | fH3FileManager |
std::shared_ptr< G4VTHnFileManager< tools::histo::p1d > > | fP1FileManager |
std::shared_ptr< G4VTHnFileManager< tools::histo::p2d > > | fP2FileManager |
Protected Attributes inherited from G4BaseFileManager | |
const G4AnalysisManagerState & | fState |
G4String | fFileName |
std::vector< G4String > | fFileNames |
Definition at line 48 of file G4VFileManager.hh.
|
explicit |
Definition at line 36 of file G4VFileManager.cc.
|
virtual |
Definition at line 50 of file G4VFileManager.cc.
|
pure virtual |
|
pure virtual |
|
inline |
Definition at line 106 of file G4VFileManager.hh.
std::shared_ptr< G4VTHnFileManager< HT > > G4VFileManager::GetHnFileManager | ( | ) | const |
|
inline |
Definition at line 109 of file G4VFileManager.hh.
|
inline |
Definition at line 103 of file G4VFileManager.hh.
|
inline |
Definition at line 100 of file G4VFileManager.hh.
Implemented in G4CsvFileManager, G4GenericFileManager, G4Hdf5FileManager, G4RootFileManager, and G4XmlFileManager.
Reimplemented from G4BaseFileManager.
Definition at line 58 of file G4VFileManager.cc.
Referenced by G4GenericFileManager::OpenFile().
Definition at line 79 of file G4VFileManager.cc.
Definition at line 95 of file G4VFileManager.cc.
|
pure virtual |
|
protected |
Definition at line 91 of file G4VFileManager.hh.
Referenced by G4CsvFileManager::G4CsvFileManager(), G4Hdf5FileManager::G4Hdf5FileManager(), G4RootFileManager::G4RootFileManager(), and G4XmlFileManager::G4XmlFileManager().
|
protected |
Definition at line 92 of file G4VFileManager.hh.
Referenced by G4CsvFileManager::G4CsvFileManager(), G4Hdf5FileManager::G4Hdf5FileManager(), G4RootFileManager::G4RootFileManager(), and G4XmlFileManager::G4XmlFileManager().
|
protected |
Definition at line 93 of file G4VFileManager.hh.
Referenced by G4CsvFileManager::G4CsvFileManager(), G4Hdf5FileManager::G4Hdf5FileManager(), G4RootFileManager::G4RootFileManager(), and G4XmlFileManager::G4XmlFileManager().
|
protected |
Definition at line 85 of file G4VFileManager.hh.
Referenced by G4Hdf5FileManager::CreateFileImpl(), G4RootFileManager::CreateFileImpl(), GetHistoDirectoryName(), and SetHistoDirectoryName().
|
protected |
Definition at line 87 of file G4VFileManager.hh.
Referenced by G4VTFileManager< FT >::CloseFiles(), IsOpenFile(), G4CsvFileManager::OpenFile(), G4GenericFileManager::OpenFile(), G4Hdf5FileManager::OpenFile(), G4RootFileManager::OpenFile(), and G4XmlFileManager::OpenFile().
|
protected |
Definition at line 88 of file G4VFileManager.hh.
Referenced by LockDirectoryNames(), G4GenericFileManager::OpenFile(), G4Hdf5FileManager::OpenFile(), G4RootFileManager::OpenFile(), SetHistoDirectoryName(), and SetNtupleDirectoryName().
|
protected |
Definition at line 86 of file G4VFileManager.hh.
Referenced by G4Hdf5FileManager::CreateFileImpl(), G4RootFileManager::CreateFileImpl(), GetNtupleDirectoryName(), and SetNtupleDirectoryName().
|
protected |
Definition at line 94 of file G4VFileManager.hh.
Referenced by G4CsvFileManager::G4CsvFileManager(), G4Hdf5FileManager::G4Hdf5FileManager(), G4RootFileManager::G4RootFileManager(), and G4XmlFileManager::G4XmlFileManager().
|
protected |
Definition at line 95 of file G4VFileManager.hh.
Referenced by G4CsvFileManager::G4CsvFileManager(), G4Hdf5FileManager::G4Hdf5FileManager(), G4RootFileManager::G4RootFileManager(), and G4XmlFileManager::G4XmlFileManager().