32#ifndef G4RootNtupleFileManager_h
33#define G4RootNtupleFileManager_h 1
59 G4int nofReducedNtupleFiles = 0)
override;
73 void SetFileManager(std::shared_ptr<G4RootFileManager> fileManager);
82 void SetNtupleMergingMode(
G4bool mergeNtuples,
G4int nofNtupleFiles);
83 G4int GetNtupleFileNumber();
88 G4int fNofNtupleFiles;
92 std::shared_ptr<G4RootNtupleManager> fNtupleManager;
93 std::shared_ptr<G4RootPNtupleManager> fSlaveNtupleManager;
95 std::shared_ptr<G4RootFileManager> fFileManager;
99 std::shared_ptr<G4RootFileManager> fileManager)
100{ fFileManager = fileManager; }
103{
return fNtupleMergeMode; }
109{
return fNtupleManager; }
virtual void SetNtupleMerging(G4bool mergeNtuples, G4int nofReducedNtupleFiles=0) override
virtual void SetNtupleRowWise(G4bool rowWise, G4bool rowMode=true) override
virtual void SetBasketSize(unsigned int basketSize) override
friend class G4RootMpiNtupleFileManager
virtual std::shared_ptr< G4VNtupleManager > CreateNtupleManager() override
virtual G4bool ActionAtCloseFile(G4bool reset) override
virtual G4bool ActionAtWrite() override
virtual G4bool IsNtupleMergingSupported() const override
G4NtupleMergeMode GetMergeMode() const
virtual void SetBasketEntries(unsigned int basketEntries) override
void SetFileManager(std::shared_ptr< G4RootFileManager > fileManager)
std::shared_ptr< G4RootNtupleManager > GetNtupleManager() const
virtual G4bool Reset() override
virtual G4bool ActionAtOpenFile(const G4String &fileName) override
virtual ~G4RootNtupleFileManager()