Geant4-11
|
#include <G4HnManager.hh>
Protected Member Functions | |
G4bool | IsVerbose (G4int verboseLevel) const |
void | Message (G4int level, const G4String &action, const G4String &objectType, const G4String &objectName="", G4bool success=true) const |
Protected Attributes | |
G4int | fFirstId { 0 } |
G4bool | fLockFirstId { false } |
const G4AnalysisManagerState & | fState |
Private Member Functions | |
void | SetActivation (G4HnInformation *info, G4bool activation) |
void | SetFileName (G4HnInformation *info, const G4String &fileName) |
void | SetPlotting (G4HnInformation *info, G4bool plotting) |
Private Attributes | |
std::shared_ptr< G4VFileManager > | fFileManager { nullptr } |
G4String | fHnType |
std::vector< G4HnInformation * > | fHnVector |
G4int | fNofActiveObjects { 0 } |
G4int | fNofAsciiObjects { 0 } |
G4int | fNofFileNameObjects { 0 } |
G4int | fNofPlottingObjects { 0 } |
Static Private Attributes | |
static constexpr std::string_view | fkClass { "G4HnManager" } |
Definition at line 45 of file G4HnManager.hh.
G4HnManager::G4HnManager | ( | const G4String & | hnType, |
const G4AnalysisManagerState & | state | ||
) |
Definition at line 37 of file G4HnManager.cc.
|
delete |
|
virtual |
G4HnInformation * G4HnManager::AddHnInformation | ( | const G4String & | name, |
G4int | nofDimensions | ||
) |
Definition at line 114 of file G4HnManager.cc.
References fHnVector, fNofActiveObjects, and G4InuclParticleNames::name().
void G4HnManager::ClearData | ( | ) |
Definition at line 124 of file G4HnManager.cc.
References fHnVector, and G4BaseAnalysisManager::SetLockFirstId().
Definition at line 371 of file G4HnManager.cc.
References GetHnInformation().
Definition at line 381 of file G4HnManager.cc.
References GetHnInformation().
Definition at line 401 of file G4HnManager.cc.
References GetHnInformation().
|
inlineinherited |
Definition at line 94 of file G4BaseAnalysisManager.hh.
References G4BaseAnalysisManager::fFirstId.
G4HnDimensionInformation * G4HnManager::GetHnDimensionInformation | ( | G4int | id, |
G4int | dimension, | ||
std::string_view | functionName, | ||
G4bool | warn = true |
||
) | const |
Definition at line 149 of file G4HnManager.cc.
References GetHnInformation().
Referenced by GetXUnit(), GetYUnit(), and GetZUnit().
G4HnInformation * G4HnManager::GetHnInformation | ( | G4int | id, |
std::string_view | functionName, | ||
G4bool | warn = true |
||
) | const |
Definition at line 134 of file G4HnManager.cc.
References G4BaseAnalysisManager::fFirstId, fHnType, fHnVector, fkClass, and G4Analysis::Warn().
Referenced by GetActivation(), GetAscii(), GetFileName(), GetHnDimensionInformation(), GetName(), GetPlotting(), GetXAxisIsLog(), GetYAxisIsLog(), GetZAxisIsLog(), SetActivation(), SetAscii(), SetFileName(), SetPlotting(), SetXAxisIsLog(), SetYAxisIsLog(), and SetZAxisIsLog().
|
inline |
Definition at line 147 of file G4HnManager.hh.
References fHnType.
Referenced by G4HnMessenger::G4HnMessenger().
|
inline |
Definition at line 301 of file G4HnManager.cc.
References GetHnInformation().
|
inline |
Definition at line 144 of file G4HnManager.hh.
References fHnVector.
Definition at line 391 of file G4HnManager.cc.
References GetHnInformation().
Definition at line 341 of file G4HnManager.cc.
References GetHnInformation(), and G4Analysis::kX.
Definition at line 311 of file G4HnManager.cc.
References GetHnDimensionInformation(), and G4Analysis::kX.
Definition at line 351 of file G4HnManager.cc.
References GetHnInformation(), and G4Analysis::kY.
Definition at line 321 of file G4HnManager.cc.
References GetHnDimensionInformation(), and G4Analysis::kY.
Definition at line 361 of file G4HnManager.cc.
References GetHnInformation(), and G4Analysis::kZ.
Definition at line 331 of file G4HnManager.cc.
References GetHnDimensionInformation(), and G4Analysis::kZ.
G4bool G4HnManager::IsActive | ( | ) | const |
Definition at line 160 of file G4HnManager.cc.
References fNofActiveObjects.
G4bool G4HnManager::IsAscii | ( | ) | const |
G4bool G4HnManager::IsFileName | ( | ) | const |
G4bool G4HnManager::IsPlotting | ( | ) | const |
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().
void G4HnManager::SetActivation | ( | G4bool | activation | ) |
Definition at line 196 of file G4HnManager.cc.
References fHnVector, and SetActivation().
Referenced by SetActivation(), and G4HnMessenger::SetNewValue().
|
private |
Definition at line 56 of file G4HnManager.cc.
References fNofActiveObjects, G4HnInformation::GetActivation(), and G4HnInformation::SetActivation().
Definition at line 184 of file G4HnManager.cc.
References GetHnInformation(), and SetActivation().
Definition at line 210 of file G4HnManager.cc.
References fNofAsciiObjects, and GetHnInformation().
Referenced by G4HnMessenger::SetNewValue().
|
inline |
Definition at line 153 of file G4HnManager.hh.
References fFileManager.
void G4HnManager::SetFileName | ( | const G4String & | fileName | ) |
Definition at line 258 of file G4HnManager.cc.
References fHnVector, and SetFileName().
|
private |
Definition at line 86 of file G4HnManager.cc.
References fFileManager, fkClass, fNofFileNameObjects, G4HnInformation::GetFileName(), G4HnInformation::GetName(), G4HnInformation::SetFileName(), and G4Analysis::Warn().
Definition at line 248 of file G4HnManager.cc.
References GetHnInformation(), and SetFileName().
Referenced by SetFileName(), and G4HnMessenger::SetNewValue().
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 ClearData().
void G4HnManager::SetPlotting | ( | G4bool | plotting | ) |
Definition at line 238 of file G4HnManager.cc.
References fHnVector, and SetPlotting().
|
private |
Definition at line 72 of file G4HnManager.cc.
References fNofPlottingObjects, G4HnInformation::GetPlotting(), and G4HnInformation::SetPlotting().
Definition at line 228 of file G4HnManager.cc.
References GetHnInformation(), and SetPlotting().
Referenced by G4HnMessenger::SetNewValue(), and SetPlotting().
Definition at line 268 of file G4HnManager.cc.
References GetHnInformation(), and G4Analysis::kX.
Definition at line 279 of file G4HnManager.cc.
References GetHnInformation(), and G4Analysis::kY.
Definition at line 290 of file G4HnManager.cc.
References GetHnInformation(), and G4Analysis::kZ.
|
private |
Definition at line 141 of file G4HnManager.hh.
Referenced by SetFileManager(), and SetFileName().
|
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(), GetHnInformation(), G4RootPNtupleManager::GetMainNtupleInFunction(), G4NtupleBookingManager::GetNtupleBookingInFunction(), G4RootPNtupleManager::GetNtupleDescriptionInFunction(), G4BaseRNtupleManager::GetNtupleRow(), and G4BaseAnalysisManager::SetFirstId().
|
private |
Definition at line 133 of file G4HnManager.hh.
Referenced by GetHnInformation(), and GetHnType().
|
private |
Definition at line 140 of file G4HnManager.hh.
Referenced by AddHnInformation(), ClearData(), GetHnInformation(), GetHnVector(), GetNofHns(), SetActivation(), SetFileName(), SetPlotting(), and ~G4HnManager().
|
staticconstexprprivate |
Definition at line 130 of file G4HnManager.hh.
Referenced by GetHnInformation(), and SetFileName().
|
protectedinherited |
Definition at line 71 of file G4BaseAnalysisManager.hh.
Referenced by G4NtupleBookingManager::CreateNtuple(), G4BaseAnalysisManager::SetFirstId(), and G4BaseAnalysisManager::SetLockFirstId().
|
private |
Definition at line 134 of file G4HnManager.hh.
Referenced by AddHnInformation(), IsActive(), and SetActivation().
|
private |
Definition at line 135 of file G4HnManager.hh.
Referenced by IsAscii(), and SetAscii().
|
private |
Definition at line 137 of file G4HnManager.hh.
Referenced by IsFileName(), and SetFileName().
|
private |
Definition at line 136 of file G4HnManager.hh.
Referenced by IsPlotting(), and SetPlotting().
|
protectedinherited |
Definition at line 69 of file G4BaseAnalysisManager.hh.
Referenced by G4RootPNtupleManager::AddNtupleRow(), G4RootNtupleManager::G4RootNtupleManager(), G4BaseAnalysisManager::IsVerbose(), and G4BaseAnalysisManager::Message().