37using std::make_shared;
55 for (
auto ntupleDescription : ntupleVector) {
56 result &=
fFileManager->CloseNtupleFile(ntupleDescription);
91 for (
auto ntuple : ntupleVector ) {
92 if ( ntuple->fNtuple ) ntuple->fNtuple->write_trailer();
110 Warn(
"Resetting data failed",
fkClass,
"ActionAtCloseFile");
std::shared_ptr< G4NtupleBookingManager > fBookingManager
const G4AnalysisManagerState & fState
virtual G4bool ActionAtOpenFile(const G4String &fileName) override
std::shared_ptr< G4XmlFileManager > fFileManager
static constexpr std::string_view fkClass
virtual G4bool Reset() override
std::shared_ptr< G4XmlNtupleManager > fNtupleManager
virtual G4bool ActionAtWrite() override
virtual std::shared_ptr< G4VNtupleManager > CreateNtupleManager() override
G4bool CloseNtupleFiles()
G4XmlNtupleFileManager()=delete
virtual G4bool ActionAtCloseFile(G4bool reset) override
void Warn(const G4String &message, const std::string_view inClass, const std::string_view inFunction)