Geant4-11
|
#include <G4CsvRNtupleManager.hh>
Public Member Functions | |
G4CsvRNtupleManager ()=delete | |
G4CsvRNtupleManager (const G4AnalysisManagerState &state) | |
G4int | GetFirstId () const |
G4bool | SetFirstId (G4int firstId) |
void | SetLockFirstId (G4bool lockFirstId) |
virtual | ~G4CsvRNtupleManager ()=default |
Protected Member Functions | |
virtual G4int | GetNofNtuples () const final |
tools::rcsv::ntuple * | GetNtuple () const |
tools::rcsv::ntuple * | GetNtuple (G4int ntupleId) const |
G4TRNtupleDescription< tools::rcsv::ntuple > * | GetNtupleDescriptionInFunction (G4int id, std::string_view function, G4bool warn=true) const |
virtual G4bool | GetNtupleRow () final |
virtual G4bool | GetNtupleRow (G4int ntupleId) final |
virtual G4bool | GetNtupleRow (G4int ntupleId)=0 |
G4bool | IsEmpty () const |
G4bool | IsVerbose (G4int verboseLevel) const |
void | Message (G4int level, const G4String &action, const G4String &objectType, const G4String &objectName="", G4bool success=true) const |
G4bool | Reset () |
G4int | SetNtuple (G4TRNtupleDescription< tools::rcsv::ntuple > *rntupleDescription) |
virtual G4bool | SetNtupleDColumn (const G4String &columnName, G4double &value) final |
virtual G4bool | SetNtupleDColumn (const G4String &columnName, std::vector< G4double > &vector) final |
virtual G4bool | SetNtupleDColumn (G4int ntupleId, const G4String &columnName, G4double &value) final |
virtual G4bool | SetNtupleDColumn (G4int ntupleId, const G4String &columnName, G4double &value)=0 |
virtual G4bool | SetNtupleDColumn (G4int ntupleId, const G4String &columnName, std::vector< G4double > &vector) override |
virtual G4bool | SetNtupleDColumn (G4int ntupleId, const G4String &columnName, std::vector< G4double > &vector)=0 |
virtual G4bool | SetNtupleFColumn (const G4String &columnName, G4float &value) final |
virtual G4bool | SetNtupleFColumn (const G4String &columnName, std::vector< G4float > &vector) final |
virtual G4bool | SetNtupleFColumn (G4int ntupleId, const G4String &columnName, G4float &value) final |
virtual G4bool | SetNtupleFColumn (G4int ntupleId, const G4String &columnName, G4float &value)=0 |
virtual G4bool | SetNtupleFColumn (G4int ntupleId, const G4String &columnName, std::vector< G4float > &vector) override |
virtual G4bool | SetNtupleFColumn (G4int ntupleId, const G4String &columnName, std::vector< G4float > &vector)=0 |
virtual G4bool | SetNtupleIColumn (const G4String &columnName, G4int &value) final |
virtual G4bool | SetNtupleIColumn (const G4String &columnName, std::vector< G4int > &vector) final |
virtual G4bool | SetNtupleIColumn (G4int ntupleId, const G4String &columnName, G4int &value) final |
virtual G4bool | SetNtupleIColumn (G4int ntupleId, const G4String &columnName, G4int &value)=0 |
virtual G4bool | SetNtupleIColumn (G4int ntupleId, const G4String &columnName, std::vector< G4int > &vector) override |
virtual G4bool | SetNtupleIColumn (G4int ntupleId, const G4String &columnName, std::vector< G4int > &vector)=0 |
virtual G4bool | SetNtupleSColumn (const G4String &columnName, G4String &value) final |
virtual G4bool | SetNtupleSColumn (const G4String &columnName, std::vector< std::string > &vector) final |
virtual G4bool | SetNtupleSColumn (G4int ntupleId, const G4String &columnName, G4String &value) final |
virtual G4bool | SetNtupleSColumn (G4int ntupleId, const G4String &columnName, G4String &value)=0 |
virtual G4bool | SetNtupleSColumn (G4int ntupleId, const G4String &columnName, std::vector< std::string > &vector) override |
virtual G4bool | SetNtupleSColumn (G4int ntupleId, const G4String &columnName, std::vector< std::string > &vector)=0 |
Protected Attributes | |
G4int | fFirstId { 0 } |
G4bool | fLockFirstId { false } |
const G4AnalysisManagerState & | fState |
Private Member Functions | |
G4int | GetCurrentNtupleId () const |
virtual G4bool | GetTNtupleRow (G4TRNtupleDescription< tools::rcsv::ntuple > *ntupleDescription) final |
virtual G4int | ReadNtupleImpl (const G4String &ntupleName, const G4String &fileName, const G4String &dirName, G4bool isUserFileName) final |
void | SetFileManager (std::shared_ptr< G4CsvRFileManager > fileManager) |
G4bool | SetNtupleTColumn (G4int ntupleId, const G4String &name, std::vector< T > &vector) |
G4bool | SetNtupleTColumn (G4int ntupleId, const G4String &name, T &value) |
Private Attributes | |
std::shared_ptr< G4CsvRFileManager > | fFileManager { nullptr } |
std::vector< G4TRNtupleDescription< tools::rcsv::ntuple > * > | fNtupleDescriptionVector |
Static Private Attributes | |
static constexpr std::string_view | fkClass { "G4CsvRNtupleManager" } |
Friends | |
class | G4CsvAnalysisReader |
Definition at line 44 of file G4CsvRNtupleManager.hh.
|
explicit |
Definition at line 37 of file G4CsvRNtupleManager.cc.
|
delete |
|
virtualdefault |
|
privateinherited |
Definition at line 40 of file G4BaseRNtupleManager.cc.
References G4BaseAnalysisManager::fFirstId, and G4BaseRNtupleManager::GetNofNtuples().
Referenced by G4TRNtupleManager< NT >::GetNtupleRow(), G4TRNtupleManager< tools::rcsv::ntuple >::GetNtupleRow(), G4BaseRNtupleManager::SetNtupleFColumn(), G4BaseRNtupleManager::SetNtupleIColumn(), and G4BaseRNtupleManager::SetNtupleSColumn().
|
inlineinherited |
Definition at line 94 of file G4BaseAnalysisManager.hh.
References G4BaseAnalysisManager::fFirstId.
|
finalprotectedvirtualinherited |
Implements G4BaseRNtupleManager.
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
finalprotectedvirtualinherited |
Reimplemented from G4BaseRNtupleManager.
Definition at line 88 of file G4BaseRNtupleManager.cc.
|
finalprotectedvirtualinherited |
Implements G4BaseRNtupleManager.
Implements G4BaseRNtupleManager.
|
finalprivatevirtual |
Implements G4TRNtupleManager< tools::rcsv::ntuple >.
Definition at line 80 of file G4CsvRNtupleManager.cc.
References G4TRNtupleDescription< NT >::fIsInitialized, fkClass, G4TRNtupleDescription< NT >::fNtuple, G4TRNtupleDescription< NT >::fNtupleBinding, G4cout, G4INCL::Random::isInitialized(), and G4Analysis::Warn().
|
protectedinherited |
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(), ReadNtupleImpl(), G4Hdf5RNtupleManager::ReadNtupleImpl(), G4RootRNtupleManager::ReadNtupleImpl(), G4XmlRNtupleManager::ReadNtupleImpl(), G4XmlRNtupleManager::SetNtupleDColumn(), G4XmlRNtupleManager::SetNtupleFColumn(), G4XmlRNtupleManager::SetNtupleIColumn(), and G4XmlRNtupleManager::SetNtupleSColumn().
|
finalprivatevirtual |
Implements G4VRNtupleManager.
Definition at line 46 of file G4CsvRNtupleManager.cc.
References fFileManager, G4Analysis::kInvalidId, G4Analysis::kVL2, G4Analysis::kVL4, G4BaseAnalysisManager::Message(), and G4TRNtupleManager< tools::rcsv::ntuple >::SetNtuple().
|
protectedinherited |
|
inlineprivate |
Definition at line 70 of file G4CsvRNtupleManager.hh.
References fFileManager.
Definition at line 46 of file G4BaseAnalysisManager.cc.
References G4BaseAnalysisManager::fFirstId, G4BaseAnalysisManager::fkClass, G4BaseAnalysisManager::fLockFirstId, and G4Analysis::Warn().
|
inlineinherited |
Definition at line 90 of file G4BaseAnalysisManager.hh.
References G4BaseAnalysisManager::fLockFirstId.
Referenced by G4HnManager::ClearData().
|
protectedinherited |
|
finalprotectedvirtualinherited |
Reimplemented from G4BaseRNtupleManager.
Definition at line 65 of file G4BaseRNtupleManager.cc.
|
finalprotectedvirtualinherited |
Reimplemented from G4BaseRNtupleManager.
Definition at line 65 of file G4BaseRNtupleManager.cc.
|
finalprotectedvirtualinherited |
Implements G4BaseRNtupleManager.
|
protectedvirtualinherited |
Implements G4BaseRNtupleManager.
|
overrideprotectedvirtualinherited |
Implements G4BaseRNtupleManager.
|
protectedvirtualinherited |
Implements G4BaseRNtupleManager.
|
finalprotectedvirtualinherited |
Reimplemented from G4BaseRNtupleManager.
Definition at line 64 of file G4BaseRNtupleManager.cc.
|
finalprotectedvirtualinherited |
Reimplemented from G4BaseRNtupleManager.
Definition at line 64 of file G4BaseRNtupleManager.cc.
|
finalprotectedvirtualinherited |
Implements G4BaseRNtupleManager.
|
protectedvirtualinherited |
Implements G4BaseRNtupleManager.
|
overrideprotectedvirtualinherited |
Implements G4BaseRNtupleManager.
|
protectedvirtualinherited |
Implements G4BaseRNtupleManager.
|
finalprotectedvirtualinherited |
Reimplemented from G4BaseRNtupleManager.
Definition at line 63 of file G4BaseRNtupleManager.cc.
|
finalprotectedvirtualinherited |
Reimplemented from G4BaseRNtupleManager.
Definition at line 63 of file G4BaseRNtupleManager.cc.
|
finalprotectedvirtualinherited |
Implements G4BaseRNtupleManager.
|
protectedvirtualinherited |
Implements G4BaseRNtupleManager.
|
overrideprotectedvirtualinherited |
Implements G4BaseRNtupleManager.
|
protectedvirtualinherited |
Implements G4BaseRNtupleManager.
|
finalprotectedvirtualinherited |
Reimplemented from G4BaseRNtupleManager.
Definition at line 66 of file G4BaseRNtupleManager.cc.
|
finalprotectedvirtualinherited |
Reimplemented from G4BaseRNtupleManager.
Definition at line 66 of file G4BaseRNtupleManager.cc.
|
finalprotectedvirtualinherited |
Implements G4BaseRNtupleManager.
|
protectedvirtualinherited |
Implements G4BaseRNtupleManager.
|
overrideprotectedvirtualinherited |
Implements G4BaseRNtupleManager.
|
protectedvirtualinherited |
Implements G4BaseRNtupleManager.
|
privateinherited |
|
privateinherited |
|
friend |
Definition at line 46 of file G4CsvRNtupleManager.hh.
|
private |
Definition at line 66 of file G4CsvRNtupleManager.hh.
Referenced by ReadNtupleImpl(), and SetFileManager().
|
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().
|
staticconstexprprivate |
Definition at line 63 of file G4CsvRNtupleManager.hh.
Referenced by GetTNtupleRow().
|
protectedinherited |
Definition at line 71 of file G4BaseAnalysisManager.hh.
Referenced by G4NtupleBookingManager::CreateNtuple(), G4BaseAnalysisManager::SetFirstId(), and G4BaseAnalysisManager::SetLockFirstId().
|
privateinherited |
Definition at line 118 of file G4TRNtupleManager.hh.
|
protectedinherited |
Definition at line 69 of file G4BaseAnalysisManager.hh.
Referenced by G4RootPNtupleManager::AddNtupleRow(), G4RootNtupleManager::G4RootNtupleManager(), G4BaseAnalysisManager::IsVerbose(), and G4BaseAnalysisManager::Message().