32#ifndef G4RootNtupleManager_h
33#define G4RootNtupleManager_h 1
39#include "tools/wroot/ntuple"
55 G4int ntupleId,
G4int columnId,
const std::string& value);
69 const std::shared_ptr<G4NtupleBookingManager>& bookingManger,
83 virtual
void Clear() final;
98 static constexpr
std::string_view
fkClass {
"G4RootNtupleManager" };
std::tuple< std::shared_ptr< tools::wroot::file >, tools::wroot::directory *, tools::wroot::directory * > G4RootFile
friend class G4RootMpiNtupleManager
friend class G4RootMpiNtupleFileManager
std::shared_ptr< G4RootMainNtupleManager > GetMainNtupleManager(G4int index) const
const std::vector< RootNtupleDescription * > & GetNtupleDescriptionVector() const
void SetNtupleRowWise(G4bool rowWise, G4bool rowMode)
virtual G4bool Reset() final
void SetNtupleFile(std::shared_ptr< G4RootFile > file)
virtual void FinishTNtuple(RootNtupleDescription *ntupleDescription, G4bool fromBooking) final
virtual ~G4RootNtupleManager()=default
static constexpr std::string_view fkClass
G4RootNtupleManager()=delete
unsigned int GetBasketSize() const
unsigned int GetBasketEntries() const
std::shared_ptr< G4RootFile > fNtupleFile
virtual void Clear() final
std::vector< std::shared_ptr< G4RootMainNtupleManager > > fMainNtupleManagers
void SetFileManager(const std::shared_ptr< G4RootFileManager > &fileManager)
std::shared_ptr< G4RootFileManager > fFileManager
virtual void CreateTNtupleFromBooking(RootNtupleDescription *ntupleDescription) final
G4bool FillNtupleTColumn(G4int ntupleId, G4int columnId, const T &value)
std::shared_ptr< T > shared_ptr