ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4CsvRFileManager Class Reference

#include <geant4/tree/geant4-10.6-release/source/analysis/csv/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 GetNtupleFileName (G4int ntupleFileNumber) const
 
G4String GetPlotFileName () 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 42 of file G4CsvRFileManager.hh.

View newest version in sPHENIX GitHub at line 42 of file G4CsvRFileManager.hh

Constructor & Destructor Documentation

G4CsvRFileManager::G4CsvRFileManager ( const G4AnalysisManagerState state)
explicit

Definition at line 33 of file G4CsvRFileManager.cc.

View newest version in sPHENIX GitHub at line 33 of file G4CsvRFileManager.cc

G4CsvRFileManager::~G4CsvRFileManager ( )

Definition at line 40 of file G4CsvRFileManager.cc.

View newest version in sPHENIX GitHub at line 40 of file G4CsvRFileManager.cc

References fRFiles.

Member Function Documentation

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

Definition at line 90 of file G4CsvRFileManager.cc.

View newest version in sPHENIX GitHub at line 90 of file G4CsvRFileManager.cc

References fRFiles, and it.

Referenced by G4CsvAnalysisReader::ReadNtupleImpl().

+ Here is the caller graph for this function:

G4bool G4CsvRFileManager::OpenRFile ( const G4String fileName)
virtual

Definition at line 52 of file G4CsvRFileManager.cc.

View newest version in sPHENIX GitHub at line 52 of file G4CsvRFileManager.cc

References fRFiles, G4BaseFileManager::fState, G4Exception(), G4AnalysisManagerState::GetVerboseL1(), G4AnalysisManagerState::GetVerboseL4(), it, 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 56 of file G4CsvRFileManager.hh.

View newest version in sPHENIX GitHub at line 56 of file G4CsvRFileManager.hh

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


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