35#include "tools/ntuple_booking"
55 auto ntupleFile = ntupleDescription->
fFile;
63 Warn(
"Cannot create ntuple. Ntuple file does not exist.",
69 auto directory = std::get<2>(*ntupleFile);
72 auto compressionLevel = 0;
76 =
new tools::hdf5::ntuple(
78 compressionLevel, basketSize);
88 if ( ntupleDescription->
fFileName.size() ) {
101 if ( ! ntupleDescription->
fNtuple ) {
std::tuple< hid_t, hid_t, hid_t > G4Hdf5File
G4GLOB_DLL std::ostream G4cout
virtual void FinishTNtuple(Hdf5NtupleDescription *ntupleDescription, G4bool fromBooking) final
virtual void CreateTNtupleFromBooking(Hdf5NtupleDescription *ntupleDescription) final
G4Hdf5NtupleManager()=delete
void CreateTNtuple(Hdf5NtupleDescription *ntupleDescription, G4bool warn)
std::shared_ptr< G4Hdf5FileManager > fFileManager
static constexpr std::string_view fkClass
std::vector< tools::hdf5::ntuple * > fNtupleVector
void Warn(const G4String &message, const std::string_view inClass, const std::string_view inFunction)
tools::ntuple_booking fNtupleBooking
std::shared_ptr< FT > fFile