31#ifndef G4TNtupleManager_h
32#define G4TNtupleManager_h 1
42template <
typename NT,
typename FT>
55 const std::vector<G4NtupleBooking*>& ntupleBookings);
111 virtual void CreateTNtupleFromBooking(
114 virtual void FinishTNtuple(
123 G4bool warn =
true)
const;
124 NT* GetNtupleInFunction(
G4int id,
126 G4bool warn =
true)
const;
129 template <
typename T>
133 static constexpr std::string_view fkClass {
"G4TNtupleManager<NT,FT>" };
136#include "G4TNtupleManager.icc"
G4double(*)(G4double) function
G4bool FillNtupleSColumn(G4int id, const G4String &value) final
G4bool FillNtupleFColumn(G4int id, G4float value) final
G4bool FillNtupleDColumn(G4int id, G4double value) final
G4bool FillNtupleIColumn(G4int id, G4int value) final
G4bool AddNtupleRow() final
G4bool GetActivation(G4int ntupleId) const final
G4bool FillNtupleFColumn(G4int ntupleId, G4int columnId, G4float value) final
G4bool FillNtupleSColumn(G4int ntupleId, G4int columnId, const G4String &value) final
std::vector< NT * >::const_iterator BeginConstNtuple() const
G4bool Delete(G4int id) override
G4int CreateNtuple(G4NtupleBooking *ntupleBooking) override
~G4TNtupleManager() override
G4bool FillNtupleDColumn(G4int ntupleId, G4int columnId, G4double value) final
G4TNtupleManager()=delete
G4TNtupleManager(const G4AnalysisManagerState &state)
std::vector< G4TNtupleDescription< NT, FT > * > fNtupleDescriptionVector
std::vector< NT * > fNtupleVector
G4bool AddNtupleRow(G4int ntupleId) override
void SetNewCycle(G4bool value) override
NT * GetNtuple(G4int ntupleId) const
std::vector< NT * >::const_iterator EndConstNtuple() const
G4bool FillNtupleIColumn(G4int ntupleId, G4int columnId, G4int value) final
G4bool GetNewCycle() const override
std::vector< NT * >::iterator EndNtuple()
const std::vector< G4NtupleBooking * > * fNtupleBookingVector
void SetActivation(G4int ntupleId, G4bool activation) final
std::vector< NT * >::iterator BeginNtuple()
virtual void CreateNtuplesFromBooking(const std::vector< G4NtupleBooking * > &ntupleBookings)
void SetActivation(G4bool activation) final