Geant4-11
|
#include <G4H3ToolsManager.hh>
Public Member Functions | |
G4int | AddH3 (const G4String &name, tools::histo::h3d *h3d) |
void | AddH3Vector (const std::vector< tools::histo::h3d * > &h3Vector) |
void | AddTVector (const std::vector< tools::histo::h3d * > &tVector) |
std::vector< tools::histo::h3d * >::const_iterator | BeginConstH3 () const |
std::vector< tools::histo::h3d * >::iterator | BeginH3 () |
void | ClearData () |
std::vector< tools::histo::h3d * >::const_iterator | EndConstH3 () const |
std::vector< tools::histo::h3d * >::iterator | EndH3 () |
G4H3ToolsManager (const G4AnalysisManagerState &state) | |
tools::histo::h3d * | GetH3 (G4int id, G4bool warn=true, G4bool onlyIfActive=true) const |
const std::vector< tools::histo::h3d * > & | GetH3Vector () const |
const std::vector< G4HnInformation * > & | GetHnVector () const |
tools::histo::h3d * | GetT (G4int id) const |
G4bool | IsEmpty () const |
void | Merge (G4Mutex &mergeMutex, G4THnManager< tools::histo::h3d > *masterInstance) |
G4int | RegisterT (tools::histo::h3d *t, const G4String &name) |
G4bool | Reset () |
virtual | ~G4H3ToolsManager ()=default |
Protected Member Functions | |
std::vector< tools::histo::h3d * >::const_iterator | BeginConstT () const |
std::vector< tools::histo::h3d * >::iterator | BeginT () |
virtual G4int | CreateH3 (const G4String &name, const G4String &title, const std::vector< G4double > &xedges, const std::vector< G4double > &yedges, const std::vector< G4double > &zedges, const G4String &xunitName="none", const G4String &yunitName="none", const G4String &zunitName="none", const G4String &xfcnName="none", const G4String &yfcnName="none", const G4String &zfcnName="none") final |
virtual G4int | CreateH3 (const G4String &name, const G4String &title, G4int nxbins, G4double xmin, G4double xmax, G4int nybins, G4double ymin, G4double ymax, G4int nzbins, G4double zmin, G4double zmax, const G4String &xunitName="none", const G4String &yunitName="none", const G4String &zunitName="none", const G4String &xfcnName="none", const G4String &yfcnName="none", const G4String &zfcnName="none", const G4String &xbinScheme="linear", const G4String &ybinScheme="linear", const G4String &zbinScheme="linear") final |
std::vector< tools::histo::h3d * >::const_iterator | EndConstT () const |
std::vector< tools::histo::h3d * >::iterator | EndT () |
virtual G4bool | FillH3 (G4int id, G4double xvalue, G4double yvalue, G4double zvalue, G4double weight=1.0) final |
virtual G4int | GetH3Id (const G4String &name, G4bool warn=true) const final |
virtual G4int | GetH3Nxbins (G4int id) const final |
virtual G4int | GetH3Nybins (G4int id) const final |
virtual G4int | GetH3Nzbins (G4int id) const final |
virtual G4String | GetH3Title (G4int id) const final |
virtual G4String | GetH3XAxisTitle (G4int id) const final |
virtual G4double | GetH3Xmax (G4int id) const final |
virtual G4double | GetH3Xmin (G4int id) const final |
virtual G4double | GetH3XWidth (G4int id) const final |
virtual G4String | GetH3YAxisTitle (G4int id) const final |
virtual G4double | GetH3Ymax (G4int id) const final |
virtual G4double | GetH3Ymin (G4int id) const final |
virtual G4double | GetH3YWidth (G4int id) const final |
virtual G4String | GetH3ZAxisTitle (G4int id) const final |
virtual G4double | GetH3Zmax (G4int id) const final |
virtual G4double | GetH3Zmin (G4int id) const final |
virtual G4double | GetH3ZWidth (G4int id) const final |
virtual std::shared_ptr< G4HnManager > | GetHnManager () final |
G4int | GetTId (const G4String &name, G4bool warn=true) const |
tools::histo::h3d * | GetTInFunction (G4int id, std::string_view functionName, G4bool warn=true, G4bool onlyIfActive=true) 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 | ScaleH3 (G4int id, G4double factor) final |
virtual G4bool | SetH3 (G4int id, const std::vector< G4double > &xedges, const std::vector< G4double > &yedges, const std::vector< G4double > &zedges, const G4String &xunitName="none", const G4String &yunitName="none", const G4String &zunitName="none", const G4String &xfcnName="none", const G4String &yfcnName="none", const G4String &zfcnName="none") final |
virtual G4bool | SetH3 (G4int id, G4int nxbins, G4double xmin, G4double xmax, G4int nybins, G4double ymin, G4double ymax, G4int nzbins, G4double zmin, G4double zmax, const G4String &xunitName="none", const G4String &yunitName="none", const G4String &zunitName="none", const G4String &xfcnName="none", const G4String &yfcnName="none", const G4String &zfcnName="none", const G4String &xbinScheme="linear", const G4String &ybinScheme="linear", const G4String &zbinScheme="linear") final |
virtual G4bool | SetH3Title (G4int id, const G4String &title) final |
virtual G4bool | SetH3XAxisTitle (G4int id, const G4String &title) final |
virtual G4bool | SetH3YAxisTitle (G4int id, const G4String &title) final |
virtual G4bool | SetH3ZAxisTitle (G4int id, const G4String &title) final |
virtual G4bool | WriteOnAscii (std::ofstream &output) final |
Protected Attributes | |
std::shared_ptr< G4HnManager > | fHnManager |
std::map< G4String, G4int > | fNameIdMap |
const G4AnalysisManagerState & | fState |
std::vector< tools::histo::h3d * > | fTVector |
Private Member Functions | |
void | AddH3Information (const G4String &name, const G4String &xunitName, const G4String &yunitName, const G4String &zunitName, const G4String &xfcnName, const G4String &yfcnName, const G4String &zfcnName, G4BinScheme xbinScheme, G4BinScheme ybinScheme, G4BinScheme zbinScheme) const |
Static Private Attributes | |
static constexpr std::string_view | fkClass { "G4H3ToolsManager" } |
static constexpr G4int | fkDimension = 3 |
Definition at line 53 of file G4H3ToolsManager.hh.
|
explicit |
Definition at line 42 of file G4H3ToolsManager.cc.
|
virtualdefault |
Definition at line 724 of file G4H3ToolsManager.cc.
References anonymous_namespace{G4H3ToolsManager.cc}::AddH3Annotation(), AddH3Information(), kLinear, G4Analysis::kVL2, G4Analysis::kVL4, G4THnManager< tools::histo::h3d >::Message(), G4InuclParticleNames::name(), and G4THnManager< tools::histo::h3d >::RegisterT().
|
private |
Definition at line 265 of file G4H3ToolsManager.cc.
References G4THnManager< tools::histo::h3d >::fHnManager, fkDimension, and G4InuclParticleNames::name().
Referenced by AddH3(), and CreateH3().
void G4H3ToolsManager::AddH3Vector | ( | const std::vector< tools::histo::h3d * > & | h3Vector | ) |
Definition at line 743 of file G4H3ToolsManager.cc.
References G4THnManager< tools::histo::h3d >::AddTVector().
|
inherited |
|
inline |
Definition at line 207 of file G4H3ToolsManager.hh.
References G4THnManager< tools::histo::h3d >::BeginConstT().
|
protectedinherited |
|
inline |
Definition at line 200 of file G4H3ToolsManager.hh.
References G4THnManager< tools::histo::h3d >::BeginT().
|
protectedinherited |
|
inherited |
|
finalprotectedvirtual |
Implements G4VH3Manager.
Definition at line 330 of file G4H3ToolsManager.cc.
References anonymous_namespace{G4H3ToolsManager.cc}::AddH3Annotation(), AddH3Information(), anonymous_namespace{G4H3ToolsManager.cc}::CreateToolsH3(), kUser, G4Analysis::kVL2, G4Analysis::kVL4, G4THnManager< tools::histo::h3d >::Message(), G4InuclParticleNames::name(), and G4THnManager< tools::histo::h3d >::RegisterT().
|
finalprotectedvirtual |
Implements G4VH3Manager.
Definition at line 287 of file G4H3ToolsManager.cc.
References anonymous_namespace{G4H3ToolsManager.cc}::AddH3Annotation(), AddH3Information(), anonymous_namespace{G4H3ToolsManager.cc}::CreateToolsH3(), fkClass, G4Analysis::GetBinScheme(), G4Analysis::kVL2, G4Analysis::kVL4, G4THnManager< tools::histo::h3d >::Message(), G4InuclParticleNames::name(), and G4THnManager< tools::histo::h3d >::RegisterT().
|
inline |
Definition at line 211 of file G4H3ToolsManager.hh.
References G4THnManager< tools::histo::h3d >::EndConstT().
|
protectedinherited |
|
inline |
Definition at line 203 of file G4H3ToolsManager.hh.
References G4THnManager< tools::histo::h3d >::EndT().
|
protectedinherited |
|
finalprotectedvirtual |
Implements G4VH3Manager.
Definition at line 453 of file G4H3ToolsManager.cc.
References G4HnDimensionInformation::fFcn, G4THnManager< tools::histo::h3d >::fHnManager, G4THnManager< tools::histo::h3d >::fState, G4HnDimensionInformation::fUnit, G4AnalysisManagerState::GetIsActivation(), G4THnManager< tools::histo::h3d >::GetTInFunction(), G4THnManager< tools::histo::h3d >::IsVerbose(), G4Analysis::kVL4, G4Analysis::kX, G4Analysis::kY, G4Analysis::kZ, and G4THnManager< tools::histo::h3d >::Message().
tools::histo::h3d * G4H3ToolsManager::GetH3 | ( | G4int | id, |
G4bool | warn = true , |
||
G4bool | onlyIfActive = true |
||
) | const |
Definition at line 750 of file G4H3ToolsManager.cc.
References G4THnManager< tools::histo::h3d >::GetTInFunction().
|
finalprotectedvirtual |
Implements G4VH3Manager.
Definition at line 491 of file G4H3ToolsManager.cc.
References G4THnManager< tools::histo::h3d >::GetTId(), and G4InuclParticleNames::name().
Implements G4VH3Manager.
Definition at line 497 of file G4H3ToolsManager.cc.
References G4Analysis::GetNbins(), G4THnManager< tools::histo::h3d >::GetTInFunction(), and G4Analysis::kX.
Implements G4VH3Manager.
Definition at line 535 of file G4H3ToolsManager.cc.
References G4Analysis::GetNbins(), G4THnManager< tools::histo::h3d >::GetTInFunction(), and G4Analysis::kY.
Implements G4VH3Manager.
Definition at line 573 of file G4H3ToolsManager.cc.
References G4Analysis::GetNbins(), G4THnManager< tools::histo::h3d >::GetTInFunction(), and G4Analysis::kZ.
Implements G4VH3Manager.
Definition at line 647 of file G4H3ToolsManager.cc.
References G4THnManager< tools::histo::h3d >::GetTInFunction(), and G4Analysis::GetTitle().
|
inline |
Definition at line 214 of file G4H3ToolsManager.hh.
References G4THnManager< tools::histo::h3d >::fTVector.
Referenced by G4ToolsAnalysisManager::MergeImpl(), and G4ToolsAnalysisManager::WriteImpl().
Implements G4VH3Manager.
Definition at line 656 of file G4H3ToolsManager.cc.
References G4THnManager< tools::histo::h3d >::fHnManager, G4Analysis::GetAxisTitle(), G4THnManager< tools::histo::h3d >::GetTInFunction(), and G4Analysis::kX.
Implements G4VH3Manager.
Definition at line 517 of file G4H3ToolsManager.cc.
References G4Analysis::GetMax(), G4THnManager< tools::histo::h3d >::GetTInFunction(), and G4Analysis::kX.
Implements G4VH3Manager.
Definition at line 506 of file G4H3ToolsManager.cc.
References G4Analysis::GetMin(), G4THnManager< tools::histo::h3d >::GetTInFunction(), and G4Analysis::kX.
Implements G4VH3Manager.
Definition at line 526 of file G4H3ToolsManager.cc.
References G4THnManager< tools::histo::h3d >::fHnManager, G4THnManager< tools::histo::h3d >::GetTInFunction(), G4Analysis::GetWidth(), and G4Analysis::kX.
Implements G4VH3Manager.
Definition at line 665 of file G4H3ToolsManager.cc.
References G4THnManager< tools::histo::h3d >::fHnManager, G4Analysis::GetAxisTitle(), G4THnManager< tools::histo::h3d >::GetTInFunction(), and G4Analysis::kY.
Implements G4VH3Manager.
Definition at line 555 of file G4H3ToolsManager.cc.
References G4Analysis::GetMax(), G4THnManager< tools::histo::h3d >::GetTInFunction(), and G4Analysis::kY.
Implements G4VH3Manager.
Definition at line 544 of file G4H3ToolsManager.cc.
References G4Analysis::GetMin(), G4THnManager< tools::histo::h3d >::GetTInFunction(), and G4Analysis::kY.
Implements G4VH3Manager.
Definition at line 564 of file G4H3ToolsManager.cc.
References G4THnManager< tools::histo::h3d >::fHnManager, G4THnManager< tools::histo::h3d >::GetTInFunction(), G4Analysis::GetWidth(), and G4Analysis::kY.
Implements G4VH3Manager.
Definition at line 674 of file G4H3ToolsManager.cc.
References G4THnManager< tools::histo::h3d >::fHnManager, G4Analysis::GetAxisTitle(), G4THnManager< tools::histo::h3d >::GetTInFunction(), and G4Analysis::kZ.
Implements G4VH3Manager.
Definition at line 593 of file G4H3ToolsManager.cc.
References G4Analysis::GetMax(), G4THnManager< tools::histo::h3d >::GetTInFunction(), and G4Analysis::kZ.
Implements G4VH3Manager.
Definition at line 582 of file G4H3ToolsManager.cc.
References G4Analysis::GetMin(), G4THnManager< tools::histo::h3d >::GetTInFunction(), and G4Analysis::kZ.
Implements G4VH3Manager.
Definition at line 602 of file G4H3ToolsManager.cc.
References G4THnManager< tools::histo::h3d >::fHnManager, G4THnManager< tools::histo::h3d >::GetTInFunction(), G4Analysis::GetWidth(), and G4Analysis::kZ.
|
inlinefinalprotectedvirtual |
Implements G4VH3Manager.
Definition at line 220 of file G4H3ToolsManager.hh.
References G4THnManager< tools::histo::h3d >::fHnManager.
|
inline |
Definition at line 217 of file G4H3ToolsManager.hh.
References G4THnManager< tools::histo::h3d >::fHnManager.
Referenced by G4ToolsAnalysisManager::MergeImpl(), and G4ToolsAnalysisManager::WriteImpl().
|
inherited |
|
protectedinherited |
|
protectedinherited |
|
inherited |
|
protectedinherited |
|
inherited |
|
protectedinherited |
|
inherited |
|
inherited |
Implements G4VH3Manager.
Definition at line 444 of file G4H3ToolsManager.cc.
References G4THnManager< tools::histo::h3d >::GetTInFunction().
|
finalprotectedvirtual |
Implements G4VH3Manager.
Definition at line 408 of file G4H3ToolsManager.cc.
References anonymous_namespace{G4H3ToolsManager.cc}::AddH3Annotation(), anonymous_namespace{G4H3ToolsManager.cc}::ConfigureToolsH3(), G4THnManager< tools::histo::h3d >::fHnManager, G4THnManager< tools::histo::h3d >::GetTInFunction(), kUser, G4Analysis::kVL4, G4THnManager< tools::histo::h3d >::Message(), and anonymous_namespace{G4H3ToolsManager.cc}::UpdateH3Information().
|
finalprotectedvirtual |
Implements G4VH3Manager.
Definition at line 364 of file G4H3ToolsManager.cc.
References anonymous_namespace{G4H3ToolsManager.cc}::AddH3Annotation(), anonymous_namespace{G4H3ToolsManager.cc}::ConfigureToolsH3(), G4THnManager< tools::histo::h3d >::fHnManager, fkClass, G4Analysis::GetBinScheme(), G4THnManager< tools::histo::h3d >::GetTInFunction(), G4Analysis::kVL4, G4THnManager< tools::histo::h3d >::Message(), and anonymous_namespace{G4H3ToolsManager.cc}::UpdateH3Information().
Implements G4VH3Manager.
Definition at line 611 of file G4H3ToolsManager.cc.
References G4THnManager< tools::histo::h3d >::GetTInFunction(), and G4Analysis::SetTitle().
Implements G4VH3Manager.
Definition at line 620 of file G4H3ToolsManager.cc.
References G4THnManager< tools::histo::h3d >::GetTInFunction(), G4Analysis::kX, and G4Analysis::SetAxisTitle().
Implements G4VH3Manager.
Definition at line 629 of file G4H3ToolsManager.cc.
References G4THnManager< tools::histo::h3d >::GetTInFunction(), G4Analysis::kY, and G4Analysis::SetAxisTitle().
Implements G4VH3Manager.
Definition at line 638 of file G4H3ToolsManager.cc.
References G4THnManager< tools::histo::h3d >::GetTInFunction(), G4Analysis::kZ, and G4Analysis::SetAxisTitle().
|
finalprotectedvirtual |
Implements G4VH3Manager.
Definition at line 683 of file G4H3ToolsManager.cc.
References G4THnManager< tools::histo::h3d >::fHnManager, G4THnManager< tools::histo::h3d >::fTVector, G4endl, G4Analysis::kVL3, and G4THnManager< tools::histo::h3d >::Message().
|
protectedinherited |
Definition at line 105 of file G4THnManager.hh.
|
staticconstexprprivate |
Definition at line 195 of file G4H3ToolsManager.hh.
Referenced by CreateH3(), and SetH3().
|
staticconstexprprivate |
Definition at line 196 of file G4H3ToolsManager.hh.
Referenced by AddH3Information().
|
protectedinherited |
Definition at line 104 of file G4THnManager.hh.
|
protectedinherited |
Definition at line 102 of file G4THnManager.hh.
|
protectedinherited |
Definition at line 103 of file G4THnManager.hh.