Geant4-11
|
#include <G4TNtupleManager.hh>
Public Member Functions | |
G4TNtupleManager ()=delete | |
G4TNtupleManager (const G4AnalysisManagerState &state) | |
G4int | GetFirstId () const |
G4bool | SetFirstId (G4int firstId) |
void | SetLockFirstId (G4bool lockFirstId) |
~G4TNtupleManager () | |
Protected Member Functions | |
virtual G4bool | AddNtupleRow () final |
virtual G4bool | AddNtupleRow (G4int ntupleId) override |
virtual G4bool | AddNtupleRow (G4int ntupleId)=0 |
std::vector< NT * >::const_iterator | BeginConstNtuple () const |
std::vector< NT * >::iterator | BeginNtuple () |
virtual void | Clear () override |
virtual G4int | CreateNtuple (G4NtupleBooking *ntupleBooking) override |
virtual void | CreateNtuplesFromBooking (const std::vector< G4NtupleBooking * > &ntupleBookings) |
std::vector< NT * >::const_iterator | EndConstNtuple () const |
std::vector< NT * >::iterator | EndNtuple () |
virtual G4bool | FillNtupleDColumn (G4int id, G4double value) final |
virtual G4bool | FillNtupleDColumn (G4int ntupleId, G4int columnId, G4double value) final |
virtual G4bool | FillNtupleDColumn (G4int ntupleId, G4int columnId, G4double value)=0 |
virtual G4bool | FillNtupleFColumn (G4int id, G4float value) final |
virtual G4bool | FillNtupleFColumn (G4int ntupleId, G4int columnId, G4float value) final |
virtual G4bool | FillNtupleFColumn (G4int ntupleId, G4int columnId, G4float value)=0 |
virtual G4bool | FillNtupleIColumn (G4int id, G4int value) final |
virtual G4bool | FillNtupleIColumn (G4int ntupleId, G4int columnId, G4int value) final |
virtual G4bool | FillNtupleIColumn (G4int ntupleId, G4int columnId, G4int value)=0 |
virtual G4bool | FillNtupleSColumn (G4int id, const G4String &value) final |
virtual G4bool | FillNtupleSColumn (G4int ntupleId, G4int columnId, const G4String &value) final |
virtual G4bool | FillNtupleSColumn (G4int ntupleId, G4int columnId, const G4String &value)=0 |
virtual G4bool | GetActivation (G4int ntupleId) const final |
virtual G4int | GetNofNtuples () const final |
NT * | GetNtuple () const |
NT * | GetNtuple (G4int ntupleId) const |
G4bool | IsVerbose (G4int verboseLevel) const |
void | Message (G4int level, const G4String &action, const G4String &objectType, const G4String &objectName="", G4bool success=true) const |
virtual G4bool | Reset () |
virtual void | SetActivation (G4bool activation) final |
virtual void | SetActivation (G4int ntupleId, G4bool activation) final |
virtual G4bool | SetFirstNtupleColumnId (G4int firstId) final |
Protected Attributes | |
G4int | fFirstId { 0 } |
G4int | fFirstNtupleColumnId { 0 } |
G4bool | fLockFirstId { false } |
std::vector< G4TNtupleDescription< NT, FT > * > | fNtupleDescriptionVector |
std::vector< NT * > | fNtupleVector |
const G4AnalysisManagerState & | fState |
Private Member Functions | |
virtual void | CreateTNtupleFromBooking (G4TNtupleDescription< NT, FT > *ntupleDescription)=0 |
template<typename T > | |
G4bool | FillNtupleTColumn (G4int ntupleId, G4int columnId, const T &value) |
virtual void | FinishTNtuple (G4TNtupleDescription< NT, FT > *ntupleDescription, G4bool fromBooking)=0 |
G4TNtupleDescription< NT, FT > * | GetNtupleDescriptionInFunction (G4int id, std::string_view function, G4bool warn=true) const |
NT * | GetNtupleInFunction (G4int id, std::string_view function, G4bool warn=true) const |
Static Private Attributes | |
static constexpr std::string_view | fkClass { "G4TNtupleManager<NT,FT>" } |
Definition at line 43 of file G4TNtupleManager.hh.
|
explicit |
|
delete |
G4TNtupleManager< NT, FT >::~G4TNtupleManager | ( | ) |
|
finalprotectedvirtual |
Reimplemented from G4BaseNtupleManager.
Definition at line 59 of file G4BaseNtupleManager.cc.
|
overrideprotectedvirtual |
Implements G4BaseNtupleManager.
|
protectedvirtual |
Implements G4BaseNtupleManager.
|
protected |
|
protected |
|
overrideprotectedvirtual |
Implements G4VNtupleManager.
Reimplemented in G4RootNtupleManager.
Referenced by G4RootNtupleManager::Clear().
|
overrideprotectedvirtual |
Implements G4BaseNtupleManager.
|
protectedvirtual |
|
privatepure virtual |
|
protected |
|
protected |
|
finalprotectedvirtual |
Reimplemented from G4BaseNtupleManager.
Definition at line 57 of file G4BaseNtupleManager.cc.
|
finalprotectedvirtual |
Implements G4BaseNtupleManager.
|
protectedvirtual |
Implements G4BaseNtupleManager.
|
finalprotectedvirtual |
Reimplemented from G4BaseNtupleManager.
Definition at line 56 of file G4BaseNtupleManager.cc.
|
finalprotectedvirtual |
Implements G4BaseNtupleManager.
|
protectedvirtual |
Implements G4BaseNtupleManager.
|
finalprotectedvirtual |
Reimplemented from G4BaseNtupleManager.
Definition at line 55 of file G4BaseNtupleManager.cc.
|
finalprotectedvirtual |
Implements G4BaseNtupleManager.
|
protectedvirtual |
Implements G4BaseNtupleManager.
|
finalprotectedvirtual |
Reimplemented from G4BaseNtupleManager.
Definition at line 58 of file G4BaseNtupleManager.cc.
|
finalprotectedvirtual |
Implements G4BaseNtupleManager.
|
protectedvirtual |
Implements G4BaseNtupleManager.
|
private |
|
privatepure virtual |
|
finalprotectedvirtual |
Implements G4VNtupleManager.
|
inlineinherited |
Definition at line 94 of file G4BaseAnalysisManager.hh.
References G4BaseAnalysisManager::fFirstId.
|
finalprotectedvirtual |
Implements G4VNtupleManager.
|
protected |
|
protected |
|
private |
|
private |
Definition at line 80 of file G4BaseAnalysisManager.hh.
References G4BaseAnalysisManager::fState, and G4AnalysisManagerState::IsVerbose().
Referenced by G4RootPNtupleManager::AddNtupleRow(), and G4RootPNtupleManager::Merge().
|
inlineprotectedinherited |
Definition at line 83 of file G4BaseAnalysisManager.hh.
References geant4_check_module_cycles::action, G4BaseAnalysisManager::fState, and G4AnalysisManagerState::Message().
Referenced by G4RootPNtupleManager::AddNtupleRow(), G4RootPNtupleManager::Clear(), G4NtupleBookingManager::ClearData(), G4RootMainNtupleManager::ClearData(), G4NtupleBookingManager::CreateNtuple(), G4RootMainNtupleManager::CreateNtuple(), G4RootPNtupleManager::CreateNtupleFromMain(), G4RootPNtupleManager::Merge(), G4CsvRNtupleManager::ReadNtupleImpl(), G4Hdf5RNtupleManager::ReadNtupleImpl(), G4RootRNtupleManager::ReadNtupleImpl(), G4XmlRNtupleManager::ReadNtupleImpl(), G4XmlRNtupleManager::SetNtupleDColumn(), G4XmlRNtupleManager::SetNtupleFColumn(), G4XmlRNtupleManager::SetNtupleIColumn(), and G4XmlRNtupleManager::SetNtupleSColumn().
|
protectedvirtual |
Reimplemented in G4RootNtupleManager.
Referenced by G4RootNtupleManager::Reset().
|
finalprotectedvirtual |
Implements G4VNtupleManager.
|
finalprotectedvirtual |
Implements G4VNtupleManager.
Definition at line 46 of file G4BaseAnalysisManager.cc.
References G4BaseAnalysisManager::fFirstId, G4BaseAnalysisManager::fkClass, G4BaseAnalysisManager::fLockFirstId, and G4Analysis::Warn().
Implements G4VNtupleManager.
Definition at line 67 of file G4BaseNtupleManager.cc.
|
inlineinherited |
Definition at line 90 of file G4BaseAnalysisManager.hh.
References G4BaseAnalysisManager::fLockFirstId.
Referenced by G4HnManager::ClearData().
|
protectedinherited |
Definition at line 70 of file G4BaseAnalysisManager.hh.
Referenced by G4BaseNtupleManager::AddNtupleRow(), G4NtupleBookingManager::CreateNtuple(), G4BaseNtupleManager::FillNtupleDColumn(), G4BaseNtupleManager::FillNtupleFColumn(), G4BaseNtupleManager::FillNtupleIColumn(), G4BaseRNtupleManager::GetCurrentNtupleId(), G4BaseAnalysisManager::GetFirstId(), G4HnManager::GetHnInformation(), G4RootPNtupleManager::GetMainNtupleInFunction(), G4NtupleBookingManager::GetNtupleBookingInFunction(), G4RootPNtupleManager::GetNtupleDescriptionInFunction(), G4BaseRNtupleManager::GetNtupleRow(), and G4BaseAnalysisManager::SetFirstId().
|
protectedinherited |
Definition at line 73 of file G4BaseNtupleManager.hh.
|
staticconstexprprivate |
Definition at line 126 of file G4TNtupleManager.hh.
|
protectedinherited |
Definition at line 71 of file G4BaseAnalysisManager.hh.
Referenced by G4NtupleBookingManager::CreateNtuple(), G4BaseAnalysisManager::SetFirstId(), and G4BaseAnalysisManager::SetLockFirstId().
|
protected |
Definition at line 96 of file G4TNtupleManager.hh.
|
protected |
Definition at line 97 of file G4TNtupleManager.hh.
|
protectedinherited |
Definition at line 69 of file G4BaseAnalysisManager.hh.
Referenced by G4RootPNtupleManager::AddNtupleRow(), G4RootNtupleManager::G4RootNtupleManager(), G4BaseAnalysisManager::IsVerbose(), and G4BaseAnalysisManager::Message().