Geant4 10.7.0
Toolkit for the simulation of the passage of particles through matter
|
#include <G4XmlFileManager.hh>
Public Member Functions | |
G4XmlFileManager (const G4AnalysisManagerState &state) | |
~G4XmlFileManager () | |
virtual G4bool | OpenFile (const G4String &fileName) final |
virtual G4String | GetFileType () const final |
G4bool | CreateNtupleFile (XmlNtupleDescription *ntupleDescription) |
G4bool | CloseNtupleFile (XmlNtupleDescription *ntupleDescription) |
G4String | GetNtupleFileName (const G4String &ntupleName) const |
G4String | GetNtupleFileName (G4int ntupleFileNumber) const |
![]() | |
G4VTFileManager (const G4AnalysisManagerState &state) | |
~G4VTFileManager () | |
virtual G4bool | CreateFile (const G4String &fileName) final |
virtual G4bool | WriteFile (const G4String &fileName) final |
virtual G4bool | WriteFile (const G4String &fileName)=0 |
virtual G4bool | CloseFile (const G4String &fileName) final |
virtual G4bool | CloseFile (const G4String &fileName)=0 |
virtual G4bool | SetIsEmpty (const G4String &fileName, G4bool isEmpty) final |
virtual G4bool | WriteFiles () final |
virtual G4bool | CloseFiles () final |
virtual G4bool | DeleteEmptyFiles () final |
std::shared_ptr< std::ofstream > | GetFile () const |
![]() | |
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 |
![]() | |
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 |
![]() | |
G4TFileManager (const G4AnalysisManagerState &state) | |
virtual | ~G4TFileManager () |
std::shared_ptr< FT > | CreateTFile (const G4String &fileName) |
G4bool | WriteTFile (const G4String &fileName) |
G4bool | CloseTFile (const G4String &fileName) |
G4bool | SetIsEmpty (const G4String &fileName, G4bool isEmpty) |
std::shared_ptr< FT > | GetTFile (const G4String &fileName, G4bool warn=true) const |
G4bool | OpenFiles () |
G4bool | WriteFiles () |
G4bool | CloseFiles () |
G4bool | DeleteEmptyFiles () |
Protected Member Functions | |
virtual std::shared_ptr< std::ofstream > | CreateFileImpl (const G4String &fileName) final |
virtual G4bool | WriteFileImpl (std::shared_ptr< std::ofstream > file) final |
virtual G4bool | CloseFileImpl (std::shared_ptr< std::ofstream > file) final |
![]() | |
virtual std::shared_ptr< FT > | CreateFileImpl (const G4String &fileName)=0 |
virtual G4bool | WriteFileImpl (std::shared_ptr< FT > file)=0 |
virtual G4bool | CloseFileImpl (std::shared_ptr< FT > file)=0 |
Additional Inherited Members | |
![]() | |
std::shared_ptr< std::ofstream > | fFile |
![]() | |
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 |
![]() | |
const G4AnalysisManagerState & | fState |
G4String | fFileName |
std::vector< G4String > | fFileNames |
Definition at line 49 of file G4XmlFileManager.hh.
|
explicit |
Definition at line 40 of file G4XmlFileManager.cc.
G4XmlFileManager::~G4XmlFileManager | ( | ) |
Definition at line 52 of file G4XmlFileManager.cc.
|
finalprotectedvirtual |
Definition at line 103 of file G4XmlFileManager.cc.
G4bool G4XmlFileManager::CloseNtupleFile | ( | XmlNtupleDescription * | ntupleDescription | ) |
Definition at line 193 of file G4XmlFileManager.cc.
|
finalprotectedvirtual |
Implements G4TFileManager< FT >.
Definition at line 79 of file G4XmlFileManager.cc.
G4bool G4XmlFileManager::CreateNtupleFile | ( | XmlNtupleDescription * | ntupleDescription | ) |
Definition at line 152 of file G4XmlFileManager.cc.
|
inlinefinalvirtual |
Reimplemented from G4BaseFileManager.
Definition at line 62 of file G4XmlFileManager.hh.
Definition at line 70 of file G4BaseFileManager.cc.
Definition at line 76 of file G4BaseFileManager.cc.
Implements G4VFileManager.
Definition at line 119 of file G4XmlFileManager.cc.
|
finalprotectedvirtual |
Definition at line 96 of file G4XmlFileManager.cc.