31#ifndef G4TNtupleManager_h
32#define G4TNtupleManager_h 1
42template <
typename NT,
typename FT>
55 const std::vector<G4NtupleBooking*>& ntupleBookings);
116 G4bool warn = true) const;
119 G4bool warn = true) const;
122 template <typename T>
126 static constexpr
std::string_view
fkClass {
"G4TNtupleManager<NT,FT>" };
G4double(* function)(G4double)
virtual G4bool FillNtupleSColumn(G4int id, const G4String &value) final
virtual G4bool FillNtupleFColumn(G4int id, G4float value) final
virtual G4bool FillNtupleDColumn(G4int id, G4double value) final
virtual G4bool FillNtupleIColumn(G4int id, G4int value) final
virtual G4bool AddNtupleRow() final
virtual G4bool GetActivation(G4int ntupleId) const final
std::vector< NT * >::const_iterator BeginConstNtuple() const
virtual G4bool FillNtupleSColumn(G4int ntupleId, G4int columnId, const G4String &value) final
G4TNtupleManager()=delete
G4TNtupleManager(const G4AnalysisManagerState &state)
G4bool FillNtupleTColumn(G4int ntupleId, G4int columnId, const T &value)
std::vector< G4TNtupleDescription< NT, FT > * > fNtupleDescriptionVector
std::vector< NT * > fNtupleVector
G4TNtupleDescription< NT, FT > * GetNtupleDescriptionInFunction(G4int id, std::string_view function, G4bool warn=true) const
virtual void CreateTNtupleFromBooking(G4TNtupleDescription< NT, FT > *ntupleDescription)=0
static constexpr std::string_view fkClass
NT * GetNtuple(G4int ntupleId) const
std::vector< NT * >::const_iterator EndConstNtuple() const
virtual G4int CreateNtuple(G4NtupleBooking *ntupleBooking) override
std::vector< NT * >::iterator EndNtuple()
virtual G4bool FillNtupleIColumn(G4int ntupleId, G4int columnId, G4int value) final
virtual void SetActivation(G4bool activation) final
virtual void Clear() override
virtual G4bool FillNtupleFColumn(G4int ntupleId, G4int columnId, G4float value) final
NT * GetNtupleInFunction(G4int id, std::string_view function, G4bool warn=true) const
virtual G4bool AddNtupleRow(G4int ntupleId) override
virtual void FinishTNtuple(G4TNtupleDescription< NT, FT > *ntupleDescription, G4bool fromBooking)=0
virtual G4bool FillNtupleDColumn(G4int ntupleId, G4int columnId, G4double value) final
std::vector< NT * >::iterator BeginNtuple()
virtual G4int GetNofNtuples() const final
virtual void CreateNtuplesFromBooking(const std::vector< G4NtupleBooking * > &ntupleBookings)
virtual void SetActivation(G4int ntupleId, G4bool activation) final