Geant4-11
|
#include <G4NtupleBookingManager.hh>
Public Member Functions | |
G4NtupleBookingManager ()=delete | |
G4NtupleBookingManager (const G4AnalysisManagerState &state) | |
G4String | GetFileType () const |
G4int | GetFirstId () const |
const std::vector< G4NtupleBooking * > & | GetNtupleBookingVector () const |
G4bool | IsEmpty () const |
void | SetFileType (const G4String &fileType) |
G4bool | SetFirstId (G4int firstId) |
void | SetLockFirstId (G4bool lockFirstId) |
~G4NtupleBookingManager () | |
Protected Member Functions | |
void | ClearData () |
G4int | CreateNtuple (const G4String &name, const G4String &title) |
G4int | CreateNtupleDColumn (const G4String &name, std::vector< double > *vector) |
G4int | CreateNtupleDColumn (G4int ntupleId, const G4String &name, std::vector< double > *vector) |
G4int | CreateNtupleFColumn (const G4String &name, std::vector< float > *vector) |
G4int | CreateNtupleFColumn (G4int ntupleId, const G4String &name, std::vector< float > *vector) |
G4int | CreateNtupleIColumn (const G4String &name, std::vector< int > *vector) |
G4int | CreateNtupleIColumn (G4int ntupleId, const G4String &name, std::vector< int > *vector) |
G4int | CreateNtupleSColumn (const G4String &name, std::vector< std::string > *vector) |
G4int | CreateNtupleSColumn (G4int ntupleId, const G4String &name, std::vector< std::string > *vector) |
G4NtupleBooking * | FinishNtuple () |
G4NtupleBooking * | FinishNtuple (G4int ntupleId) |
G4bool | GetActivation (G4int ntupleId) const |
G4String | GetFileName (G4int id) const |
G4int | GetFirstNtupleColumnId () const |
G4int | GetNofNtupleBookings () const |
G4bool | IsVerbose (G4int verboseLevel) const |
void | Message (G4int level, const G4String &action, const G4String &objectType, const G4String &objectName="", G4bool success=true) const |
void | SetActivation (G4bool activation) |
void | SetActivation (G4int ntupleId, G4bool activation) |
void | SetFileName (const G4String &fileName) |
void | SetFileName (G4int id, const G4String &fileName) |
G4bool | SetFirstNtupleColumnId (G4int firstId) |
Protected Attributes | |
G4int | fFirstId { 0 } |
G4bool | fLockFirstId { false } |
std::vector< G4NtupleBooking * > | fNtupleBookingVector |
const G4AnalysisManagerState & | fState |
Private Member Functions | |
template<typename T > | |
G4int | CreateNtupleTColumn (G4int ntupleId, const G4String &name, std::vector< T > *vector) |
G4int | GetCurrentNtupleId () const |
G4NtupleBooking * | GetNtupleBookingInFunction (G4int id, std::string_view function, G4bool warn=true) const |
Private Attributes | |
G4String | fFileType |
G4int | fFirstNtupleColumnId { 0 } |
G4bool | fLockFirstNtupleColumnId { false } |
Static Private Attributes | |
static constexpr std::string_view | fkClass { "G4NtupleBookingManager" } |
Friends | |
class | G4VAnalysisManager |
Definition at line 54 of file G4NtupleBookingManager.hh.
|
explicit |
Definition at line 41 of file G4NtupleBookingManager.cc.
|
delete |
G4NtupleBookingManager::~G4NtupleBookingManager | ( | ) |
Definition at line 47 of file G4NtupleBookingManager.cc.
References fNtupleBookingVector.
|
protected |
Definition at line 276 of file G4NtupleBookingManager.cc.
References fLockFirstNtupleColumnId, fNtupleBookingVector, G4Analysis::kVL2, and G4BaseAnalysisManager::Message().
|
protected |
Definition at line 82 of file G4NtupleBookingManager.cc.
References G4BaseAnalysisManager::fFirstId, G4BaseAnalysisManager::fLockFirstId, fNtupleBookingVector, G4Analysis::kVL2, G4Analysis::kVL4, G4BaseAnalysisManager::Message(), and G4InuclParticleNames::name().
|
protected |
Definition at line 121 of file G4NtupleBookingManager.cc.
References CreateNtupleDColumn(), GetCurrentNtupleId(), and G4InuclParticleNames::name().
Referenced by CreateNtupleDColumn().
|
protected |
Definition at line 155 of file G4NtupleBookingManager.cc.
References G4InuclParticleNames::name().
|
protected |
Definition at line 114 of file G4NtupleBookingManager.cc.
References CreateNtupleFColumn(), GetCurrentNtupleId(), and G4InuclParticleNames::name().
Referenced by CreateNtupleFColumn().
|
protected |
Definition at line 148 of file G4NtupleBookingManager.cc.
References G4InuclParticleNames::name().
|
protected |
Definition at line 107 of file G4NtupleBookingManager.cc.
References CreateNtupleIColumn(), GetCurrentNtupleId(), and G4InuclParticleNames::name().
Referenced by CreateNtupleIColumn().
|
protected |
Definition at line 141 of file G4NtupleBookingManager.cc.
References G4InuclParticleNames::name().
|
protected |
Definition at line 128 of file G4NtupleBookingManager.cc.
References CreateNtupleSColumn(), GetCurrentNtupleId(), and G4InuclParticleNames::name().
Referenced by CreateNtupleSColumn().
|
protected |
Definition at line 162 of file G4NtupleBookingManager.cc.
References G4InuclParticleNames::name().
|
private |
|
protected |
Definition at line 135 of file G4NtupleBookingManager.cc.
References FinishNtuple(), and GetCurrentNtupleId().
Referenced by FinishNtuple().
|
protected |
Definition at line 169 of file G4NtupleBookingManager.cc.
References GetNtupleBookingInFunction().
Definition at line 210 of file G4NtupleBookingManager.cc.
References GetNtupleBookingInFunction().
|
private |
Referenced by CreateNtupleDColumn(), CreateNtupleFColumn(), CreateNtupleIColumn(), CreateNtupleSColumn(), and FinishNtuple().
Definition at line 265 of file G4NtupleBookingManager.cc.
References GetNtupleBookingInFunction().
G4String G4NtupleBookingManager::GetFileType | ( | ) | const |
|
inlineinherited |
Definition at line 94 of file G4BaseAnalysisManager.hh.
References G4BaseAnalysisManager::fFirstId.
|
protected |
|
protected |
|
private |
Definition at line 56 of file G4NtupleBookingManager.cc.
References G4BaseAnalysisManager::fFirstId, fkClass, fNtupleBookingVector, and G4Analysis::Warn().
Referenced by FinishNtuple(), GetActivation(), GetFileName(), SetActivation(), and SetFileName().
const std::vector< G4NtupleBooking * > & G4NtupleBookingManager::GetNtupleBookingVector | ( | ) | const |
G4bool G4NtupleBookingManager::IsEmpty | ( | ) | const |
Definition at line 76 of file G4NtupleBookingManager.cc.
References fNtupleBookingVector.
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(), ClearData(), G4RootMainNtupleManager::ClearData(), CreateNtuple(), G4RootMainNtupleManager::CreateNtuple(), G4RootPNtupleManager::CreateNtupleFromMain(), G4RootPNtupleManager::Merge(), G4CsvRNtupleManager::ReadNtupleImpl(), G4Hdf5RNtupleManager::ReadNtupleImpl(), G4RootRNtupleManager::ReadNtupleImpl(), G4XmlRNtupleManager::ReadNtupleImpl(), G4XmlRNtupleManager::SetNtupleDColumn(), G4XmlRNtupleManager::SetNtupleFColumn(), G4XmlRNtupleManager::SetNtupleIColumn(), and G4XmlRNtupleManager::SetNtupleSColumn().
|
protected |
Definition at line 190 of file G4NtupleBookingManager.cc.
References fNtupleBookingVector.
Definition at line 199 of file G4NtupleBookingManager.cc.
References GetNtupleBookingInFunction().
|
protected |
Definition at line 221 of file G4NtupleBookingManager.cc.
References fNtupleBookingVector.
Definition at line 230 of file G4NtupleBookingManager.cc.
References fFileType, fkClass, G4Analysis::GetExtension(), GetNtupleBookingInFunction(), G4Analysis::GetOutput(), kNone, and G4Analysis::Warn().
void G4NtupleBookingManager::SetFileType | ( | const G4String & | fileType | ) |
Definition at line 292 of file G4NtupleBookingManager.cc.
References fFileType, fkClass, fNtupleBookingVector, G4Analysis::GetBaseName(), G4Analysis::GetExtension(), and G4Analysis::Warn().
Definition at line 46 of file G4BaseAnalysisManager.cc.
References G4BaseAnalysisManager::fFirstId, G4BaseAnalysisManager::fkClass, G4BaseAnalysisManager::fLockFirstId, and G4Analysis::Warn().
Definition at line 177 of file G4NtupleBookingManager.cc.
References fFirstNtupleColumnId, fkClass, fLockFirstNtupleColumnId, and G4Analysis::Warn().
|
inlineinherited |
Definition at line 90 of file G4BaseAnalysisManager.hh.
References G4BaseAnalysisManager::fLockFirstId.
Referenced by G4HnManager::ClearData().
|
friend |
Definition at line 58 of file G4NtupleBookingManager.hh.
|
private |
Definition at line 144 of file G4NtupleBookingManager.hh.
Referenced by SetFileName(), and SetFileType().
|
protectedinherited |
Definition at line 70 of file G4BaseAnalysisManager.hh.
Referenced by G4BaseNtupleManager::AddNtupleRow(), CreateNtuple(), G4BaseNtupleManager::FillNtupleDColumn(), G4BaseNtupleManager::FillNtupleFColumn(), G4BaseNtupleManager::FillNtupleIColumn(), G4BaseRNtupleManager::GetCurrentNtupleId(), G4BaseAnalysisManager::GetFirstId(), G4HnManager::GetHnInformation(), G4RootPNtupleManager::GetMainNtupleInFunction(), GetNtupleBookingInFunction(), G4RootPNtupleManager::GetNtupleDescriptionInFunction(), G4BaseRNtupleManager::GetNtupleRow(), and G4BaseAnalysisManager::SetFirstId().
|
private |
Definition at line 145 of file G4NtupleBookingManager.hh.
Referenced by SetFirstNtupleColumnId().
|
staticconstexprprivate |
Definition at line 141 of file G4NtupleBookingManager.hh.
Referenced by GetNtupleBookingInFunction(), SetFileName(), SetFileType(), and SetFirstNtupleColumnId().
|
protectedinherited |
Definition at line 71 of file G4BaseAnalysisManager.hh.
Referenced by CreateNtuple(), G4BaseAnalysisManager::SetFirstId(), and G4BaseAnalysisManager::SetLockFirstId().
|
private |
Definition at line 146 of file G4NtupleBookingManager.hh.
Referenced by ClearData(), and SetFirstNtupleColumnId().
|
protected |
Definition at line 126 of file G4NtupleBookingManager.hh.
Referenced by ClearData(), CreateNtuple(), GetNtupleBookingInFunction(), IsEmpty(), SetActivation(), SetFileName(), SetFileType(), and ~G4NtupleBookingManager().
|
protectedinherited |
Definition at line 69 of file G4BaseAnalysisManager.hh.
Referenced by G4RootPNtupleManager::AddNtupleRow(), G4RootNtupleManager::G4RootNtupleManager(), G4BaseAnalysisManager::IsVerbose(), and G4BaseAnalysisManager::Message().