Geant4  10.00.p01
G4CsvFileManager Class Reference

#include <G4CsvFileManager.hh>

+ Inheritance diagram for G4CsvFileManager:
+ Collaboration diagram for G4CsvFileManager:

Public Member Functions

 G4CsvFileManager (const G4AnalysisManagerState &state)
 
 ~G4CsvFileManager ()
 
virtual G4bool OpenFile (const G4String &fileName)
 
virtual G4bool WriteFile ()
 
virtual G4bool CloseFile ()
 
G4bool CreateNtupleFile (G4CsvNtupleDescription *ntupleDescription)
 
G4bool CloseNtupleFile (G4CsvNtupleDescription *ntupleDescription)
 
- Public Member Functions inherited from G4VFileManager
 G4VFileManager (const G4AnalysisManagerState &state)
 
virtual ~G4VFileManager ()
 
G4bool SetFileName (const G4String &fileName)
 
G4bool SetHistoDirectoryName (const G4String &dirName)
 
G4bool SetNtupleDirectoryName (const G4String &dirName)
 
G4String GetFileName () const
 
G4String GetFullFileName () const
 
G4String GetNtupleFileName (const G4String &ntupleName) const
 
G4String GetHistoDirectoryName () const
 
G4String GetNtupleDirectoryName () const
 
G4String GetFileType () const
 

Additional Inherited Members

- Protected Attributes inherited from G4VFileManager
const G4AnalysisManagerStatefState
 
G4String fFileName
 
G4String fHistoDirectoryName
 
G4String fNtupleDirectoryName
 
G4bool fLockFileName
 
G4bool fLockHistoDirectoryName
 
G4bool fLockNtupleDirectoryName
 

Detailed Description

Definition at line 42 of file G4CsvFileManager.hh.

Constructor & Destructor Documentation

G4CsvFileManager::G4CsvFileManager ( const G4AnalysisManagerState state)

Definition at line 34 of file G4CsvFileManager.cc.

G4CsvFileManager::~G4CsvFileManager ( )

Definition at line 40 of file G4CsvFileManager.cc.

Member Function Documentation

G4bool G4CsvFileManager::CloseFile ( )
virtual

Implements G4VFileManager.

Definition at line 68 of file G4CsvFileManager.cc.

References G4VFileManager::fLockFileName.

Referenced by G4CsvAnalysisManager::CloseFileImpl().

+ Here is the caller graph for this function:

G4bool G4CsvFileManager::CloseNtupleFile ( G4CsvNtupleDescription ntupleDescription)

Definition at line 108 of file G4CsvFileManager.cc.

References G4CsvNtupleDescription::fFile, G4CsvNtupleDescription::fNtupleBooking, G4VFileManager::fState, G4VFileManager::GetNtupleFileName(), G4AnalysisManagerState::GetVerboseL1(), G4AnalysisManagerState::GetVerboseL4(), and G4AnalysisVerbose::Message().

Referenced by G4CsvAnalysisManager::CloseNtupleFiles().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4bool G4CsvFileManager::CreateNtupleFile ( G4CsvNtupleDescription ntupleDescription)

Definition at line 75 of file G4CsvFileManager.cc.

References G4CsvNtupleDescription::fFile, G4CsvNtupleDescription::fNtupleBooking, G4VFileManager::fState, G4Exception(), G4VFileManager::GetNtupleFileName(), G4AnalysisManagerState::GetVerboseL1(), G4AnalysisManagerState::GetVerboseL4(), JustWarning, and G4AnalysisVerbose::Message().

Referenced by G4CsvNtupleManager::CreateNtuple(), and G4CsvNtupleManager::CreateNtuplesFromBooking().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4bool G4CsvFileManager::OpenFile ( const G4String fileName)
virtual

Implements G4VFileManager.

Definition at line 49 of file G4CsvFileManager.cc.

References G4VFileManager::fFileName, G4VFileManager::fLockFileName, and G4VFileManager::fLockNtupleDirectoryName.

Referenced by G4CsvAnalysisManager::OpenFileImpl().

+ Here is the caller graph for this function:

G4bool G4CsvFileManager::WriteFile ( )
virtual

Implements G4VFileManager.

Definition at line 61 of file G4CsvFileManager.cc.


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