Geant4  10.01.p02
G4CsvRFileManager Class Reference

#include <G4CsvRFileManager.hh>

+ Inheritance diagram for G4CsvRFileManager:
+ Collaboration diagram for G4CsvRFileManager:

Public Member Functions

 G4CsvRFileManager (const G4AnalysisManagerState &state)
 
 ~G4CsvRFileManager ()
 
virtual G4bool OpenRFile (const G4String &fileName)
 
std::ifstream * GetRFile (const G4String &fileName) const
 
- Public Member Functions inherited from G4BaseFileManager
 G4BaseFileManager (const G4AnalysisManagerState &state)
 
virtual ~G4BaseFileManager ()
 
virtual G4bool SetFileName (const G4String &fileName)
 
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
 

Private Attributes

std::map< G4String,
std::ifstream * > 
fRFiles
 

Additional Inherited Members

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

Detailed Description

Definition at line 43 of file G4CsvRFileManager.hh.

Constructor & Destructor Documentation

G4CsvRFileManager::G4CsvRFileManager ( const G4AnalysisManagerState state)

Definition at line 34 of file G4CsvRFileManager.cc.

G4CsvRFileManager::~G4CsvRFileManager ( )

Definition at line 41 of file G4CsvRFileManager.cc.

References fRFiles.

Member Function Documentation

std::ifstream * G4CsvRFileManager::GetRFile ( const G4String fileName) const

Definition at line 91 of file G4CsvRFileManager.cc.

References fRFiles.

Referenced by G4CsvAnalysisReader::ReadNtupleImpl().

+ Here is the caller graph for this function:

G4bool G4CsvRFileManager::OpenRFile ( const G4String fileName)
virtual

Definition at line 53 of file G4CsvRFileManager.cc.

References fRFiles, G4BaseFileManager::fState, G4Exception(), G4AnalysisManagerState::GetVerboseL1(), G4AnalysisManagerState::GetVerboseL4(), JustWarning, and G4AnalysisVerbose::Message().

Referenced by G4CsvAnalysisReader::ReadNtupleImpl().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

std::map<G4String, std::ifstream*> G4CsvRFileManager::fRFiles
private

Definition at line 57 of file G4CsvRFileManager.hh.

Referenced by GetRFile(), OpenRFile(), and ~G4CsvRFileManager().


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