54 if ( !
fFileManager->CreateNtupleFile(ntupleDescription) )
return;
58 =
new tools::wcsv::ntuple(
73 if ( ! ntupleDescription->
fNtuple ) {
78 if ( ! ntupleDescription->
fNtuple ) {
79 Warn(
"Creating ntuple has failed.",
fkClass,
"FinishTNtuple");
86 Warn(
"Writing ntuple header has failed.",
fkClass,
"FinishTNtuple");
99 return ntuple->write_commented_header(
G4cout);
104 ntuple->write_hippo_header();
G4GLOB_DLL std::ostream G4cerr
G4GLOB_DLL std::ostream G4cout
virtual void FinishTNtuple(CsvNtupleDescription *ntupleDescription, G4bool fromBooking) final
G4CsvNtupleManager()=delete
G4bool WriteHeader(tools::wcsv::ntuple *ntuple) const
std::shared_ptr< G4CsvFileManager > fFileManager
virtual void CreateTNtupleFromBooking(CsvNtupleDescription *ntupleDescription) final
static constexpr std::string_view fkClass
G4bool fIsCommentedHeader
std::vector< tools::wcsv::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