Geant4  10.03
G4RootRFileManager Class Reference

#include <G4RootRFileManager.hh>

+ Inheritance diagram for G4RootRFileManager:
+ Collaboration diagram for G4RootRFileManager:

Public Member Functions

 G4RootRFileManager (const G4AnalysisManagerState &state)
 
virtual ~G4RootRFileManager ()
 
virtual G4bool OpenRFile (const G4String &fileName, G4bool isPerThread)
 
tools::rroot::file * GetRFile (const G4String &fileName, G4bool isPerThread) 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,
tools::rroot::file * > 
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 47 of file G4RootRFileManager.hh.

Constructor & Destructor Documentation

G4RootRFileManager::G4RootRFileManager ( const G4AnalysisManagerState state)
explicit

Definition at line 40 of file G4RootRFileManager.cc.

G4RootRFileManager::~G4RootRFileManager ( )
virtual

Definition at line 47 of file G4RootRFileManager.cc.

References fRFiles.

Member Function Documentation

tools::rroot::file * G4RootRFileManager::GetRFile ( const G4String fileName,
G4bool  isPerThread 
) const

Definition at line 104 of file G4RootRFileManager.cc.

References fRFiles, G4BaseFileManager::GetFullFileName(), and G4InuclParticleNames::name().

Referenced by G4RootAnalysisReader::GetBuffer(), and G4RootAnalysisReader::ReadNtupleImpl().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4bool G4RootRFileManager::OpenRFile ( const G4String fileName,
G4bool  isPerThread 
)
virtual

Definition at line 59 of file G4RootRFileManager.cc.

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

Referenced by G4RootAnalysisReader::GetBuffer(), and G4RootAnalysisReader::ReadNtupleImpl().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

std::map<G4String, tools::rroot::file*> G4RootRFileManager::fRFiles
private

Definition at line 63 of file G4RootRFileManager.hh.

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


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