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

#include <geant4/tree/geant4-10.6-release/source/analysis/hdf5/include/G4Hdf5RFileManager.hh>

+ Inheritance diagram for G4Hdf5RFileManager:
+ Collaboration diagram for G4Hdf5RFileManager:

Public Member Functions

 G4Hdf5RFileManager (const G4AnalysisManagerState &state)
 
virtual ~G4Hdf5RFileManager ()
 
hid_t GetRFile (const G4String &fileName, G4bool isPerThread) const
 
hid_t GetHistoRDirectory (const G4String &fileName, const G4String &dirName, G4bool isPerThread)
 
hid_t GetNtupleRDirectory (const G4String &fileName, const G4String &dirName, G4bool isPerThread)
 
- 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 Member Functions

hid_t OpenRFile (const G4String &fileName, G4bool isPerThread)
 
hid_t OpenDirectory (hid_t file, const G4String &directoryName)
 
hid_t GetRDirectory (const G4String &directoryType, const G4String &fileName, const G4String &dirName, G4bool isPerThread)
 

Private Attributes

std::map< G4String, hid_t > fRFiles
 

Static Private Attributes

static const G4String fgkDefaultDirectoryName = "default"
 

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 41 of file G4Hdf5RFileManager.hh.

View newest version in sPHENIX GitHub at line 41 of file G4Hdf5RFileManager.hh

Constructor & Destructor Documentation

G4Hdf5RFileManager::G4Hdf5RFileManager ( const G4AnalysisManagerState state)
explicit

Definition at line 45 of file G4Hdf5RFileManager.cc.

View newest version in sPHENIX GitHub at line 45 of file G4Hdf5RFileManager.cc

G4Hdf5RFileManager::~G4Hdf5RFileManager ( )
virtual

Definition at line 52 of file G4Hdf5RFileManager.cc.

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

Member Function Documentation

hid_t G4Hdf5RFileManager::GetHistoRDirectory ( const G4String fileName,
const G4String dirName,
G4bool  isPerThread 
)

Definition at line 187 of file G4Hdf5RFileManager.cc.

View newest version in sPHENIX GitHub at line 187 of file G4Hdf5RFileManager.cc

References GetRDirectory().

+ Here is the call graph for this function:

hid_t G4Hdf5RFileManager::GetNtupleRDirectory ( const G4String fileName,
const G4String dirName,
G4bool  isPerThread 
)

Definition at line 194 of file G4Hdf5RFileManager.cc.

View newest version in sPHENIX GitHub at line 194 of file G4Hdf5RFileManager.cc

References GetRDirectory().

Referenced by G4Hdf5AnalysisReader::ReadNtupleImpl().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

hid_t G4Hdf5RFileManager::GetRDirectory ( const G4String directoryType,
const G4String fileName,
const G4String dirName,
G4bool  isPerThread 
)
private

Definition at line 132 of file G4Hdf5RFileManager.cc.

View newest version in sPHENIX GitHub at line 132 of file G4Hdf5RFileManager.cc

References fgkDefaultDirectoryName, GetRFile(), G4Analysis::kInvalidId, OpenDirectory(), OpenRFile(), and propagation_timing::rfile.

Referenced by GetHistoRDirectory(), and GetNtupleRDirectory().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

hid_t G4Hdf5RFileManager::GetRFile ( const G4String fileName,
G4bool  isPerThread 
) const

Definition at line 171 of file G4Hdf5RFileManager.cc.

View newest version in sPHENIX GitHub at line 171 of file G4Hdf5RFileManager.cc

References fRFiles, G4BaseFileManager::GetFullFileName(), it, and G4Analysis::kInvalidId.

Referenced by GetRDirectory().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

hid_t G4Hdf5RFileManager::OpenDirectory ( hid_t  file,
const G4String directoryName 
)
private

Definition at line 104 of file G4Hdf5RFileManager.cc.

View newest version in sPHENIX GitHub at line 104 of file G4Hdf5RFileManager.cc

References G4BaseFileManager::fState, G4Exception(), G4AnalysisManagerState::GetVerboseL2(), G4AnalysisManagerState::GetVerboseL4(), JustWarning, G4Analysis::kInvalidId, and G4AnalysisVerbose::Message().

Referenced by GetRDirectory().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

hid_t G4Hdf5RFileManager::OpenRFile ( const G4String fileName,
G4bool  isPerThread 
)
private

Definition at line 61 of file G4Hdf5RFileManager.cc.

View newest version in sPHENIX GitHub at line 61 of file G4Hdf5RFileManager.cc

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

Referenced by GetRDirectory().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

const G4String G4Hdf5RFileManager::fgkDefaultDirectoryName = "default"
staticprivate

Definition at line 56 of file G4Hdf5RFileManager.hh.

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

Referenced by GetRDirectory().

std::map<G4String, hid_t> G4Hdf5RFileManager::fRFiles
private

Definition at line 66 of file G4Hdf5RFileManager.hh.

View newest version in sPHENIX GitHub at line 66 of file G4Hdf5RFileManager.hh

Referenced by GetRFile(), and OpenRFile().


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