67G4Hdf5AnalysisManager::G4Hdf5AnalysisManager()
71#ifndef H5_HAVE_THREADSAFE
72 G4Exception(
"G4Hdf5AnalysisManager::G4Hdf5AnalysisManager",
74 "Your HDF5 lib is not built with H5_HAVE_THREADSAFE.");
79 auto fileManager = std::make_shared<G4Hdf5FileManager>(
fState);
83 fNtupleFileManager = std::make_shared<G4Hdf5NtupleFileManager>(
fState);
85 fNtupleFileManager->SetFileManager(fileManager);
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *description)
#define G4MUTEX_INITIALIZER
~G4Hdf5AnalysisManager() override
G4bool CloseFileImpl(G4bool reset) final
G4bool OpenFileImpl(const G4String &fileName) final
static G4bool IsInstance()
static G4Hdf5AnalysisManager * Instance()
std::shared_ptr< G4NtupleBookingManager > fNtupleBookingManager
G4AnalysisManagerState fState
void SetFileManager(std::shared_ptr< G4VFileManager > fileManager)
void SetNtupleFileManager(std::shared_ptr< G4VNtupleFileManager > ntupleFileManager)