32 #ifndef G4TNtupleManager_h
33 #define G4TNtupleManager_h 1
41 template <
typename TNTUPLE>
66 const G4String& name, std::vector<int>* vector)
final;
68 const G4String& name, std::vector<float>* vector)
final;
70 const G4String& name, std::vector<double>* vector)
final;
102 typename std::vector<TNTUPLE*>::iterator
BeginNtuple();
103 typename std::vector<TNTUPLE*>::iterator
EndNtuple();
105 typename std::vector<TNTUPLE*>::const_iterator
EndConstNtuple()
const;
129 G4bool warn =
true)
const;
132 G4bool warn =
true)
const;
136 template <
typename T>
138 const G4String& name, std::vector<T>* vector);
140 template <
typename T>
144 #include "G4TNtupleManager.icc"
std::vector< G4TNtupleDescription< TNTUPLE > * > fNtupleDescriptionVector
virtual G4bool FillNtupleDColumn(G4int id, G4double value) final
TNTUPLE * GetNtuple() const
G4int CreateNtupleTColumn(G4int ntupleId, const G4String &name, std::vector< T > *vector)
virtual void CreateTNtupleFromBooking(G4TNtupleDescription< TNTUPLE > *ntupleDescription)=0
void CreateNtuplesFromBooking()
virtual G4bool GetActivation(G4int ntupleId) const final
virtual void FinishTNtuple(G4TNtupleDescription< TNTUPLE > *ntupleDescription)=0
std::vector< TNTUPLE * >::const_iterator EndConstNtuple() const
virtual G4int CreateNtupleDColumn(G4int ntupleId, const G4String &name, std::vector< double > *vector) final
virtual G4int CreateNtupleFColumn(G4int ntupleId, const G4String &name, std::vector< float > *vector) final
std::vector< TNTUPLE * >::iterator EndNtuple()
virtual G4bool FillNtupleFColumn(G4int ntupleId, G4int columnId, G4float value) final
virtual G4bool FillNtupleIColumn(G4int ntupleId, G4int columnId, G4int value) final
virtual G4int GetNofNtupleBookings() const override
virtual G4bool FillNtupleIColumn(G4int id, G4int value) final
TNTUPLE * GetNtupleInFunction(G4int id, G4String function, G4bool warn=true) const
const XML_Char int const XML_Char * value
virtual G4int CreateNtupleIColumn(const G4String &name, std::vector< int > *vector) final
G4bool FillNtupleTColumn(G4int ntupleId, G4int columnId, const T &value)
virtual G4bool FillNtupleSColumn(G4int id, const G4String &value) final
virtual G4int CreateNtupleSColumn(G4int ntupleId, const G4String &name) final
virtual G4int CreateNtupleFColumn(const G4String &name, std::vector< float > *vector) final
std::vector< TNTUPLE * >::const_iterator BeginConstNtuple() const
virtual G4int CreateNtuple(const G4String &name, const G4String &title) final
virtual G4bool FillNtupleDColumn(G4int ntupleId, G4int columnId, G4double value) final
std::vector< TNTUPLE * >::iterator BeginNtuple()
G4bool Reset(G4bool deleteNtuple)
virtual void SetActivation(G4bool activation) final
virtual G4bool AddNtupleRow() final
virtual G4int GetNofNtuples() const final
virtual void FinishNtuple() final
G4TNtupleDescription< TNTUPLE > * GetNtupleDescriptionInFunction(G4int id, G4String function, G4bool warn=true) const
virtual G4bool FillNtupleSColumn(G4int ntupleId, G4int columnId, const G4String &value) final
void FinishTNtupleNew(G4TNtupleDescription< TNTUPLE > *ntupleDescription)
virtual G4int CreateNtupleSColumn(const G4String &name)
virtual G4bool FillNtupleFColumn(G4int id, G4float value) final
std::vector< TNTUPLE * > fNtupleVector
virtual G4int CreateNtupleIColumn(G4int ntupleId, const G4String &name, std::vector< int > *vector) final
virtual G4int CreateNtupleDColumn(const G4String &name, std::vector< double > *vector) final
G4TNtupleManager(const G4AnalysisManagerState &state)