Geant4 10.7.0
Toolkit for the simulation of the passage of particles through matter
|
#include <G4GenericFileManager.hh>
Public Member Functions | |
G4GenericFileManager (const G4AnalysisManagerState &state) | |
virtual | ~G4GenericFileManager () |
virtual G4bool | OpenFile (const G4String &fileName) final |
virtual G4bool | OpenFiles () final |
virtual G4bool | WriteFiles () final |
virtual G4bool | CloseFiles () final |
virtual G4bool | DeleteEmptyFiles () final |
virtual G4bool | CreateFile (const G4String &fileName) final |
virtual G4bool | WriteFile (const G4String &fileName) final |
virtual G4bool | CloseFile (const G4String &fileName) final |
virtual G4bool | SetIsEmpty (const G4String &fileName, G4bool isEmpty) final |
virtual G4String | GetFileType () const final |
void | SetDefaultFileType (const G4String &value) |
G4String | GetDefaultFileType () const |
template<typename T > | |
G4bool | WriteT (const std::vector< T * > &htVector, const std::vector< G4HnInformation * > &hnVector) |
template<typename T > | |
G4bool | WriteTExtra (const G4String &fileName, T *ht, const G4String &htName) |
std::shared_ptr< G4VNtupleFileManager > | CreateNtupleFileManager (G4AnalysisOutput output) |
Public Member Functions inherited from G4VFileManager | |
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 |
Additional Inherited Members | |
Protected Attributes inherited from G4VFileManager | |
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 51 of file G4GenericFileManager.hh.
|
explicit |
Definition at line 68 of file G4GenericFileManager.cc.
|
virtual |
Definition at line 88 of file G4GenericFileManager.cc.
Implements G4VFileManager.
Definition at line 423 of file G4GenericFileManager.cc.
|
finalvirtual |
Implements G4VFileManager.
Definition at line 323 of file G4GenericFileManager.cc.
Implements G4VFileManager.
Definition at line 395 of file G4GenericFileManager.cc.
std::shared_ptr< G4VNtupleFileManager > G4GenericFileManager::CreateNtupleFileManager | ( | G4AnalysisOutput | output | ) |
Definition at line 468 of file G4GenericFileManager.cc.
|
finalvirtual |
Implements G4VFileManager.
Definition at line 359 of file G4GenericFileManager.cc.
G4String G4GenericFileManager::GetDefaultFileType | ( | ) | const |
|
inlinefinalvirtual |
Reimplemented from G4BaseFileManager.
Definition at line 72 of file G4GenericFileManager.hh.
Implements G4VFileManager.
Definition at line 202 of file G4GenericFileManager.cc.
|
finalvirtual |
Definition at line 252 of file G4GenericFileManager.cc.
void G4GenericFileManager::SetDefaultFileType | ( | const G4String & | value | ) |
Definition at line 449 of file G4GenericFileManager.cc.
Implements G4VFileManager.
Definition at line 437 of file G4GenericFileManager.cc.
Implements G4VFileManager.
Definition at line 409 of file G4GenericFileManager.cc.
|
finalvirtual |
Implements G4VFileManager.
Definition at line 287 of file G4GenericFileManager.cc.
G4bool G4GenericFileManager::WriteT | ( | const std::vector< T * > & | htVector, |
const std::vector< G4HnInformation * > & | hnVector | ||
) |
G4bool G4GenericFileManager::WriteTExtra | ( | const G4String & | fileName, |
T * | ht, | ||
const G4String & | htName | ||
) |