31#ifndef G4Hdf5FileManager_h
32#define G4Hdf5FileManager_h 1
38#include "tools/hdf5/ntuple"
87 static constexpr std::string_view
fkClass {
"G4Hdf5FileManager" };
std::tuple< hid_t, hid_t, hid_t > G4Hdf5File
G4String GetNtupleFileName(const G4String &ntupleName) const
G4String GetNtupleFileName(Hdf5NtupleDescription *ntupleDescription)
virtual G4bool CloseFileImpl(std::shared_ptr< G4Hdf5File > file) final
~G4Hdf5FileManager()=default
void SetBasketSize(unsigned int basketSize)
hid_t CreateDirectory(hid_t &file, const G4String &directoryName, const G4String &objectType)
static constexpr std::string_view fkClass
virtual G4String GetFileType() const final
hid_t GetNtupleDirectory() const
virtual G4bool OpenFile(const G4String &fileName) final
G4bool CreateNtupleFile(Hdf5NtupleDescription *ntupleDescription)
static const G4String fgkDefaultDirectoryName
virtual std::shared_ptr< G4Hdf5File > CreateFileImpl(const G4String &fileName) final
hid_t GetHistoDirectory() const
G4bool CloseNtupleFile(Hdf5NtupleDescription *ntupleDescription)
virtual G4bool WriteFileImpl(std::shared_ptr< G4Hdf5File > file) final
unsigned int GetBasketSize() const
G4Hdf5FileManager()=delete
constexpr unsigned int kDefaultBasketSize