31#ifndef G4RootPNtupleDescription_h
32#define G4RootPNtupleDescription_h 1
38#include "tools/ntuple_booking"
39#include "tools/wroot/mt_ntuple_row_wise"
40#include "tools/wroot/mt_ntuple_column_wise"
57 : fDescription(g4NtupleBooking) {}
65 void SetNtuple(tools::wroot::imt_ntuple* intuple);
71 tools::wroot::imt_ntuple*
GetNtuple()
const;
77 tools::wroot::imt_ntuple* fNtuple {
nullptr };
78 tools::wroot::base_pntuple* fBasePNtuple {
nullptr };
79 std::vector<tools::wroot::branch*> fMainBranches;
85 tools::wroot::imt_ntuple* intuple)
89 tools::wroot::base_pntuple* basePNtuple)
90{ fBasePNtuple = basePNtuple; }
100{
return fDescription; }
102inline tools::wroot::imt_ntuple*
106inline tools::wroot::base_pntuple*
108{
return fBasePNtuple; }
110inline std::vector<tools::wroot::branch*>&
112{
return fMainBranches; }
tools::wroot::imt_ntuple * GetNtuple() const
void SetNtuple(tools::wroot::imt_ntuple *intuple)
std::vector< tools::wroot::branch * > & GetMainBranches()
G4RootPNtupleDescription(G4NtupleBooking *g4NtupleBooking)
~G4RootPNtupleDescription()
void SetBasePNtuple(tools::wroot::base_pntuple *basePNtuple)
tools::wroot::base_pntuple * GetBasePNtuple() const
RootNtupleDescription & GetDescription()
G4bool GetIsNtupleOwner() const