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