32 #ifndef G4CsvNtupleManager_h
33 #define G4CsvNtupleManager_h 1
38 #include "tools/wcsv_ntuple"
54 using NtupleType = tools::wcsv::ntuple;
60 void SetFileManager(std::shared_ptr<G4CsvFileManager> fileManager);
63 const std::vector<NtupleDescriptionType*>& GetNtupleDescriptionVector()
const;
70 virtual void CreateTNtuple(
73 virtual void CreateTNtupleFromBooking(
76 virtual void FinishTNtuple(
79 G4bool WriteHeader(NtupleType* ntuple)
const;
82 std::shared_ptr<G4CsvFileManager> fFileManager;
90 G4CsvNtupleManager::SetFileManager(std::shared_ptr<G4CsvFileManager> fileManager)
91 { fFileManager = fileManager; }
93 inline const std::vector<G4TNtupleDescription<tools::wcsv::ntuple>*>&
94 G4CsvNtupleManager::GetNtupleDescriptionVector()
const
97 inline void G4CsvNtupleManager::SetIsCommentedHeader(
G4bool isCommentedHeader)
98 { fIsCommentedHeader = isCommentedHeader; }
100 inline void G4CsvNtupleManager::SetIsHippoHeader(
G4bool isHippoHeader)
101 { fIsHippoHeader = isHippoHeader; }
G4CsvNtupleManager(const G4AnalysisManagerState &state)
std::vector< G4TNtupleDescription< tools::wcsv::ntuple > * > fNtupleDescriptionVector
void SetIsCommentedHeader(G4bool isCommentedHeader)
void SetFileManager(std::shared_ptr< G4VFileManager > fileManager)
void SetIsHippoHeader(G4bool isHippoHeader)