Geant4  10.01
G4VFileManager Class Referenceabstract

#include <G4VFileManager.hh>

+ Inheritance diagram for G4VFileManager:
+ Collaboration diagram for G4VFileManager:

Public Member Functions

 G4VFileManager (const G4AnalysisManagerState &state)
 
virtual ~G4VFileManager ()
 
virtual G4bool OpenFile (const G4String &fileName)=0
 
virtual G4bool WriteFile ()=0
 
virtual G4bool CloseFile ()=0
 
void LockHistoDirectoryName ()
 
void LockProfileDirectoryName ()
 
void LockNtupleDirectoryName ()
 
virtual G4bool SetFileName (const G4String &fileName)
 
G4bool SetHistoDirectoryName (const G4String &dirName)
 
G4bool SetProfileDirectoryName (const G4String &dirName)
 
G4bool SetNtupleDirectoryName (const G4String &dirName)
 
G4String GetHistoDirectoryName () const
 
G4String GetProfileDirectoryName () const
 
G4String GetNtupleDirectoryName () const
 
- Public Member Functions inherited from G4BaseFileManager
 G4BaseFileManager (const G4AnalysisManagerState &state)
 
virtual ~G4BaseFileManager ()
 
G4String GetFileName () const
 
G4String GetFullFileName (const G4String &baseFileName="", G4bool isPerThread=true) const
 
G4String GetHnFileName (const G4String &hnType, const G4String &hnName) const
 
G4String GetNtupleFileName (const G4String &ntupleName) const
 
G4String GetFileType () const
 

Protected Attributes

G4String fHistoDirectoryName
 
G4String fProfileDirectoryName
 
G4String fNtupleDirectoryName
 
G4bool fLockFileName
 
G4bool fLockHistoDirectoryName
 
G4bool fLockProfileDirectoryName
 
G4bool fLockNtupleDirectoryName
 
- Protected Attributes inherited from G4BaseFileManager
const G4AnalysisManagerStatefState
 
G4String fFileName
 

Additional Inherited Members

- Protected Member Functions inherited from G4BaseFileManager
G4String TakeOffExtension (G4String &name) const
 

Detailed Description

Definition at line 38 of file G4VFileManager.hh.

Constructor & Destructor Documentation

G4VFileManager::G4VFileManager ( const G4AnalysisManagerState state)

Definition at line 36 of file G4VFileManager.cc.

G4VFileManager::~G4VFileManager ( )
virtual

Definition at line 49 of file G4VFileManager.cc.

Member Function Documentation

virtual G4bool G4VFileManager::CloseFile ( )
pure virtual
G4String G4VFileManager::GetHistoDirectoryName ( ) const
inline

Definition at line 88 of file G4VFileManager.hh.

References fHistoDirectoryName.

Referenced by G4VAnalysisManager::GetHistoDirectoryName(), G4XmlAnalysisManager::WriteH1(), G4XmlAnalysisManager::WriteH2(), and G4XmlAnalysisManager::WriteH3().

+ Here is the caller graph for this function:

G4String G4VFileManager::GetNtupleDirectoryName ( ) const
inline

Definition at line 96 of file G4VFileManager.hh.

References fNtupleDirectoryName.

Referenced by G4XmlNtupleManager::FinishNtuple(), and G4VAnalysisManager::GetNtupleDirectoryName().

+ Here is the caller graph for this function:

G4String G4VFileManager::GetProfileDirectoryName ( ) const
inline

Definition at line 92 of file G4VFileManager.hh.

References fProfileDirectoryName.

Referenced by G4XmlAnalysisManager::WriteP1(), and G4XmlAnalysisManager::WriteP2().

+ Here is the caller graph for this function:

void G4VFileManager::LockHistoDirectoryName ( )
inline

Definition at line 78 of file G4VFileManager.hh.

References fLockHistoDirectoryName.

Referenced by G4XmlAnalysisManager::WriteH1(), G4CsvAnalysisManager::WriteH1(), G4XmlAnalysisManager::WriteH2(), G4CsvAnalysisManager::WriteH2(), G4XmlAnalysisManager::WriteH3(), and G4CsvAnalysisManager::WriteH3().

+ Here is the caller graph for this function:

void G4VFileManager::LockNtupleDirectoryName ( )
inline

Definition at line 84 of file G4VFileManager.hh.

References fLockNtupleDirectoryName.

Referenced by G4XmlNtupleManager::FinishNtuple().

+ Here is the caller graph for this function:

void G4VFileManager::LockProfileDirectoryName ( )
inline

Definition at line 81 of file G4VFileManager.hh.

References fLockProfileDirectoryName.

Referenced by G4XmlAnalysisManager::WriteP1(), G4CsvAnalysisManager::WriteP1(), G4XmlAnalysisManager::WriteP2(), and G4CsvAnalysisManager::WriteP2().

+ Here is the caller graph for this function:

virtual G4bool G4VFileManager::OpenFile ( const G4String fileName)
pure virtual
G4bool G4VFileManager::SetFileName ( const G4String fileName)
virtual

Reimplemented from G4BaseFileManager.

Definition at line 58 of file G4VFileManager.cc.

References fLockFileName, G4Exception(), JustWarning, and G4BaseFileManager::SetFileName().

Referenced by G4RootAnalysisManager::OpenFileImpl(), G4XmlAnalysisManager::OpenFileImpl(), G4CsvAnalysisManager::OpenFileImpl(), and G4VAnalysisManager::SetFileName().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4bool G4VFileManager::SetHistoDirectoryName ( const G4String dirName)

Definition at line 73 of file G4VFileManager.cc.

References fHistoDirectoryName, fLockHistoDirectoryName, G4Exception(), and JustWarning.

Referenced by G4VAnalysisManager::SetHistoDirectoryName().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4bool G4VFileManager::SetNtupleDirectoryName ( const G4String dirName)

Definition at line 105 of file G4VFileManager.cc.

References fLockNtupleDirectoryName, fNtupleDirectoryName, G4Exception(), and JustWarning.

Referenced by G4VAnalysisManager::SetNtupleDirectoryName().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4bool G4VFileManager::SetProfileDirectoryName ( const G4String dirName)

Definition at line 89 of file G4VFileManager.cc.

References fLockProfileDirectoryName, fProfileDirectoryName, G4Exception(), and JustWarning.

+ Here is the call graph for this function:

virtual G4bool G4VFileManager::WriteFile ( )
pure virtual

Member Data Documentation

G4String G4VFileManager::fHistoDirectoryName
protected
G4bool G4VFileManager::fLockHistoDirectoryName
protected
G4bool G4VFileManager::fLockNtupleDirectoryName
protected
G4bool G4VFileManager::fLockProfileDirectoryName
protected
G4String G4VFileManager::fNtupleDirectoryName
protected
G4String G4VFileManager::fProfileDirectoryName
protected

The documentation for this class was generated from the following files: