31#ifndef G4CsvFileManager_h
32#define G4CsvFileManager_h 1
38#include "tools/wcsv_ntuple"
83 static constexpr std::string_view fkClass {
"G4CsvFileManager" };
86 G4bool fIsHistoDirectory {
false };
87 G4bool fIsNtupleDirectory {
false };
93{
return fIsHistoDirectory; }
96{
return fIsNtupleDirectory; }
G4String GetNtupleFileName(const G4String &ntupleName, G4int cycle=0) const
G4bool CreateNtupleFile(CsvNtupleDescription *ntupleDescription)
std::shared_ptr< std::ofstream > CreateFileImpl(const G4String &fileName) final
G4bool OpenFile(const G4String &fileName) final
G4bool SetHistoDirectoryName(const G4String &dirName) final
G4String GetFileType() const final
~G4CsvFileManager() override=default
G4CsvFileManager()=delete
G4bool SetNtupleDirectoryName(const G4String &dirName) final
G4bool CloseFileImpl(std::shared_ptr< std::ofstream > file) final
G4bool IsNtupleDirectory() const
G4bool WriteFileImpl(std::shared_ptr< std::ofstream > file) final
G4bool CloseNtupleFile(CsvNtupleDescription *ntupleDescription)
G4bool NotifyNtupleFile(CsvNtupleDescription *ntupleDescription)
G4bool IsHistoDirectory() const
G4bool WriteFile(const G4String &fileName) final
G4bool CloseFile(const G4String &fileName) final