33 #ifndef G4RootNtupleManager_h
34 #define G4RootNtupleManager_h 1
39 #include "tools/wroot/ntuple"
108 tools::wroot::ntuple::column<int>*
109 GetNtupleIColumn(
G4int ntupleId,
G4int columnId)
const;
110 tools::wroot::ntuple::column<float>*
111 GetNtupleFColumn(
G4int ntupleId,
G4int columnId)
const;
112 tools::wroot::ntuple::column<double>*
113 GetNtupleDColumn(
G4int ntupleId,
G4int columnId)
const;
118 G4bool onlyIfActive =
true)
const;
122 tools::wroot::directory* fNtupleDirectory;
123 std::vector<G4RootNtupleDescription*> fNtupleVector;
129 tools::wroot::directory* directory) {
130 fNtupleDirectory = directory;
134 {
return fNtupleVector.size(); }
virtual G4bool FillNtupleFColumn(G4int columnId, G4float value)
virtual G4int CreateNtupleFColumn(const G4String &name)
virtual G4int CreateNtupleDColumn(const G4String &name)
virtual G4bool FillNtupleIColumn(G4int columnId, G4int value)
void CreateNtuplesFromBooking()
virtual ~G4RootNtupleManager()
virtual void FinishNtuple()
tools::wroot::ntuple * GetNtuple() const
virtual G4int CreateNtupleIColumn(const G4String &name)
subroutine title(NA, NB, NCA, NCB)
virtual G4int GetNofNtuples() const
virtual G4bool AddNtupleRow()
const XML_Char int const XML_Char * value
virtual G4int CreateNtuple(const G4String &name, const G4String &title)
G4RootNtupleManager(const G4AnalysisManagerState &state)
virtual G4bool FillNtupleDColumn(G4int columnId, G4double value)
void SetNtupleDirectory(tools::wroot::directory *directory)