51 fNtupleManager = std::make_shared<G4CsvNtupleManager>(
fState);
52 fNtupleManager->SetFileManager(fFileManager);
54 return fNtupleManager;
64 fNtupleManager->CreateNtuplesFromBooking(
75 auto ntupleVector = fNtupleManager->GetNtupleDescriptionVector();
77 for (
auto ntupleDescription : ntupleVector ) {
78 if (ntupleDescription->GetNtuple() !=
nullptr) {
80 result &= fFileManager->NotifyNtupleFile(ntupleDescription);
93 auto ntupleVector = fNtupleManager->GetNtupleDescriptionVector();
94 for (
auto ntupleDescription : ntupleVector) {
95 result &= fFileManager->CloseNtupleFile(ntupleDescription);
104 return fNtupleManager->Reset();
G4bool ActionAtWrite() override
G4bool ActionAtOpenFile(const G4String &fileName) override
std::shared_ptr< G4VNtupleManager > CreateNtupleManager() override
G4bool ActionAtCloseFile() override
G4CsvNtupleFileManager()=delete
std::shared_ptr< G4NtupleBookingManager > fBookingManager
const G4AnalysisManagerState & fState