32 #ifndef G4RootMainNtupleManager_h
33 #define G4RootMainNtupleManager_h 1
73 void SetNtupleFile(std::shared_ptr<tools::wroot::file> rfile);
80 {
return fNtupleBuilder->GetNtupleDescriptionVector(); }
88 std::shared_ptr<tools::wroot::file> fNtupleFile;
89 tools::wroot::directory* fNtupleDirectory;
94 { fNtupleFile = rfile; }
97 { fNtupleDirectory = directory; }
100 {
return fNtupleFile; }
103 {
return fNtupleDirectory; }
tools::wroot::ntuple NtupleType
std::shared_ptr< tools::wroot::file > GetNtupleFile() const
void CreateNtuple(const tools::ntuple_booking &ntupleBooking, G4bool warn=true)
void SetNtupleDirectory(tools::wroot::directory *directory)
const std::vector< tools::wroot::ntuple * > & GetNtupleVector()
~G4RootMainNtupleManager()
unsigned int GetBasketSize() const
void SetNtupleFile(std::shared_ptr< tools::wroot::file > rfile)
const std::vector< NtupleDescriptionType * > & GetNtupleDescriptionVector()
G4bool Reset(G4bool deleteNtuple)
tools::wroot::directory * GetNtupleDirectory() const
std::vector< tools::wroot::ntuple * > fNtupleVector
G4RootMainNtupleManager(G4RootNtupleManager *ntupleBuilder, const G4AnalysisManagerState &state)
void CreateNtuplesFromBooking()