Geant4
10.02.p02
|
#include <G4H3ToolsManager.hh>
Public Member Functions | |
G4H3ToolsManager (const G4AnalysisManagerState &state) | |
virtual | ~G4H3ToolsManager () |
G4int | AddH3 (const G4String &name, tools::histo::h3d *h3d) |
void | AddH3Vector (const std::vector< tools::histo::h3d * > &h3Vector) |
tools::histo::h3d * | GetH3 (G4int id, G4bool warn=true, G4bool onlyIfActive=true) const |
std::vector< tools::histo::h3d * > ::iterator | BeginH3 () |
std::vector< tools::histo::h3d * > ::iterator | EndH3 () |
std::vector< tools::histo::h3d * > ::const_iterator | BeginConstH3 () const |
std::vector< tools::histo::h3d * > ::const_iterator | EndConstH3 () const |
const std::vector < tools::histo::h3d * > & | GetH3Vector () const |
const std::vector < G4HnInformation * > & | GetHnVector () const |
Public Member Functions inherited from G4VH3Manager | |
G4VH3Manager () | |
virtual | ~G4VH3Manager () |
G4VH3Manager (const G4VH3Manager &rhs)=delete | |
G4VH3Manager & | operator= (const G4VH3Manager &rhs)=delete |
Public Member Functions inherited from G4THnManager< tools::histo::h3d > | |
G4THnManager (const G4AnalysisManagerState &state, const G4String &hnType) | |
virtual | ~G4THnManager () |
G4bool | Reset () |
G4bool | IsEmpty () const |
Protected Member Functions | |
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 |
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 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 | 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 | ScaleH3 (G4int id, G4double factor) final |
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 G4double | GetH3Xmin (G4int id) const final |
virtual G4double | GetH3Xmax (G4int id) const final |
virtual G4double | GetH3XWidth (G4int id) const final |
virtual G4int | GetH3Nybins (G4int id) const final |
virtual G4double | GetH3Ymin (G4int id) const final |
virtual G4double | GetH3Ymax (G4int id) const final |
virtual G4double | GetH3YWidth (G4int id) const final |
virtual G4int | GetH3Nzbins (G4int id) const final |
virtual G4double | GetH3Zmin (G4int id) const final |
virtual G4double | GetH3Zmax (G4int id) const final |
virtual G4double | GetH3ZWidth (G4int id) const 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 G4String | GetH3Title (G4int id) const final |
virtual G4String | GetH3XAxisTitle (G4int id) const final |
virtual G4String | GetH3YAxisTitle (G4int id) const final |
virtual G4String | GetH3ZAxisTitle (G4int id) const final |
virtual G4bool | WriteOnAscii (std::ofstream &output) final |
virtual std::shared_ptr < G4HnManager > | GetHnManager () final |
Protected Member Functions inherited from G4THnManager< tools::histo::h3d > | |
void | AddTVector (const std::vector< tools::histo::h3d * > &tVector) |
std::vector< tools::histo::h3d * > ::iterator | BeginT () |
std::vector< tools::histo::h3d * > ::iterator | EndT () |
std::vector< tools::histo::h3d * > ::const_iterator | BeginConstT () const |
std::vector< tools::histo::h3d * > ::const_iterator | EndConstT () const |
tools::histo::h3d * | GetTInFunction (G4int id, G4String functionName, G4bool warn=true, G4bool onlyIfActive=true) const |
G4int | RegisterT (tools::histo::h3d *t, const G4String &name) |
G4int | GetTId (const G4String &name, G4bool warn=true) const |
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 const G4int | kDimension = 3 |
Additional Inherited Members | |
Protected Attributes inherited from G4THnManager< tools::histo::h3d > | |
const G4AnalysisManagerState & | fState |
std::vector< tools::histo::h3d * > | fTVector |
std::map< G4String, G4int > | fNameIdMap |
std::shared_ptr< G4HnManager > | fHnManager |
Definition at line 53 of file G4H3ToolsManager.hh.
|
explicit |
Definition at line 45 of file G4H3ToolsManager.cc.
|
virtual |
Definition at line 51 of file G4H3ToolsManager.cc.
Definition at line 724 of file G4H3ToolsManager.cc.
References AddH3Information(), G4THnManager< tools::histo::h3d >::fState, G4AnalysisManagerState::GetVerboseL2(), G4AnalysisManagerState::GetVerboseL4(), kLinear, G4AnalysisVerbose::Message(), and G4THnManager< tools::histo::h3d >::RegisterT().
Referenced by G4CsvAnalysisReader::ReadH3Impl(), G4XmlAnalysisReader::ReadH3Impl(), and G4RootAnalysisReader::ReadH3Impl().
|
private |
Definition at line 276 of file G4H3ToolsManager.cc.
References G4HnInformation::AddDimension(), and G4THnManager< tools::histo::h3d >::fHnManager.
Referenced by AddH3(), and CreateH3().
void G4H3ToolsManager::AddH3Vector | ( | const std::vector< tools::histo::h3d * > & | h3Vector | ) |
Definition at line 748 of file G4H3ToolsManager.cc.
References G4THnManager< tools::histo::h3d >::AddTVector().
Referenced by G4XmlAnalysisManager::WriteH3(), G4CsvAnalysisManager::WriteH3(), and G4RootAnalysisManager::WriteH3().
|
inline |
Definition at line 207 of file G4H3ToolsManager.hh.
References G4THnManager< tools::histo::h3d >::BeginConstT().
|
inline |
Definition at line 200 of file G4H3ToolsManager.hh.
References G4THnManager< tools::histo::h3d >::BeginT().
|
finalprotectedvirtual |
Implements G4VH3Manager.
Definition at line 298 of file G4H3ToolsManager.cc.
References AddH3Information(), G4THnManager< tools::histo::h3d >::fState, G4Analysis::GetBinScheme(), G4AnalysisManagerState::GetVerboseL2(), G4AnalysisManagerState::GetVerboseL4(), G4AnalysisVerbose::Message(), and G4THnManager< tools::histo::h3d >::RegisterT().
|
finalprotectedvirtual |
Implements G4VH3Manager.
Definition at line 346 of file G4H3ToolsManager.cc.
References AddH3Information(), G4THnManager< tools::histo::h3d >::fState, G4AnalysisManagerState::GetVerboseL2(), G4AnalysisManagerState::GetVerboseL4(), kUser, G4AnalysisVerbose::Message(), and G4THnManager< tools::histo::h3d >::RegisterT().
|
inline |
Definition at line 211 of file G4H3ToolsManager.hh.
References G4THnManager< tools::histo::h3d >::EndConstT().
|
inline |
Definition at line 203 of file G4H3ToolsManager.hh.
References G4THnManager< tools::histo::h3d >::EndT().
|
finalprotectedvirtual |
Implements G4VH3Manager.
Definition at line 478 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(), G4AnalysisManagerState::GetVerboseL4(), G4Analysis::kX, G4Analysis::kY, G4Analysis::kZ, and G4AnalysisVerbose::Message().
tools::histo::h3d * G4H3ToolsManager::GetH3 | ( | G4int | id, |
G4bool | warn = true , |
||
G4bool | onlyIfActive = true |
||
) | const |
Definition at line 755 of file G4H3ToolsManager.cc.
References G4THnManager< tools::histo::h3d >::GetTInFunction().
|
finalprotectedvirtual |
Implements G4VH3Manager.
Definition at line 517 of file G4H3ToolsManager.cc.
References G4THnManager< tools::histo::h3d >::GetTId().
Implements G4VH3Manager.
Definition at line 523 of file G4H3ToolsManager.cc.
References G4Analysis::GetNbins(), G4THnManager< tools::histo::h3d >::GetTInFunction(), and G4Analysis::kX.
Implements G4VH3Manager.
Definition at line 561 of file G4H3ToolsManager.cc.
References G4Analysis::GetNbins(), G4THnManager< tools::histo::h3d >::GetTInFunction(), and G4Analysis::kY.
Implements G4VH3Manager.
Definition at line 599 of file G4H3ToolsManager.cc.
References G4Analysis::GetNbins(), G4THnManager< tools::histo::h3d >::GetTInFunction(), and G4Analysis::kZ.
Implements G4VH3Manager.
Definition at line 673 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(), G4XmlAnalysisManager::WriteH3(), G4CsvAnalysisManager::WriteH3(), and G4RootAnalysisManager::WriteH3().
Implements G4VH3Manager.
Definition at line 682 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 543 of file G4H3ToolsManager.cc.
References G4Analysis::GetMax(), G4THnManager< tools::histo::h3d >::GetTInFunction(), and G4Analysis::kX.
Implements G4VH3Manager.
Definition at line 532 of file G4H3ToolsManager.cc.
References G4Analysis::GetMin(), G4THnManager< tools::histo::h3d >::GetTInFunction(), and G4Analysis::kX.
Implements G4VH3Manager.
Definition at line 552 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 691 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 581 of file G4H3ToolsManager.cc.
References G4Analysis::GetMax(), G4THnManager< tools::histo::h3d >::GetTInFunction(), and G4Analysis::kY.
Implements G4VH3Manager.
Definition at line 570 of file G4H3ToolsManager.cc.
References G4Analysis::GetMin(), G4THnManager< tools::histo::h3d >::GetTInFunction(), and G4Analysis::kY.
Implements G4VH3Manager.
Definition at line 590 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 700 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 619 of file G4H3ToolsManager.cc.
References G4Analysis::GetMax(), G4THnManager< tools::histo::h3d >::GetTInFunction(), and G4Analysis::kZ.
Implements G4VH3Manager.
Definition at line 608 of file G4H3ToolsManager.cc.
References G4Analysis::GetMin(), G4THnManager< tools::histo::h3d >::GetTInFunction(), and G4Analysis::kZ.
Implements G4VH3Manager.
Definition at line 628 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(), G4XmlAnalysisManager::WriteH3(), G4CsvAnalysisManager::WriteH3(), and G4RootAnalysisManager::WriteH3().
Implements G4VH3Manager.
Definition at line 469 of file G4H3ToolsManager.cc.
References G4THnManager< tools::histo::h3d >::GetTInFunction().
|
finalprotectedvirtual |
Implements G4VH3Manager.
Definition at line 385 of file G4H3ToolsManager.cc.
References G4THnManager< tools::histo::h3d >::fHnManager, G4THnManager< tools::histo::h3d >::fState, G4Analysis::GetBinScheme(), G4THnManager< tools::histo::h3d >::GetTInFunction(), G4AnalysisManagerState::GetVerboseL4(), and G4AnalysisVerbose::Message().
|
finalprotectedvirtual |
Implements G4VH3Manager.
Definition at line 431 of file G4H3ToolsManager.cc.
References G4THnManager< tools::histo::h3d >::fHnManager, G4THnManager< tools::histo::h3d >::fState, G4THnManager< tools::histo::h3d >::GetTInFunction(), G4AnalysisManagerState::GetVerboseL4(), kUser, and G4AnalysisVerbose::Message().
Implements G4VH3Manager.
Definition at line 637 of file G4H3ToolsManager.cc.
References G4THnManager< tools::histo::h3d >::GetTInFunction(), and G4Analysis::SetTitle().
Implements G4VH3Manager.
Definition at line 646 of file G4H3ToolsManager.cc.
References G4THnManager< tools::histo::h3d >::GetTInFunction(), G4Analysis::kX, and G4Analysis::SetAxisTitle().
Implements G4VH3Manager.
Definition at line 655 of file G4H3ToolsManager.cc.
References G4THnManager< tools::histo::h3d >::GetTInFunction(), G4Analysis::kY, and G4Analysis::SetAxisTitle().
Implements G4VH3Manager.
Definition at line 664 of file G4H3ToolsManager.cc.
References G4THnManager< tools::histo::h3d >::GetTInFunction(), G4Analysis::kZ, and G4Analysis::SetAxisTitle().
|
finalprotectedvirtual |
Implements G4VH3Manager.
Definition at line 709 of file G4H3ToolsManager.cc.
References G4THnManager< tools::histo::h3d >::fHnManager.
|
staticprivate |
Definition at line 196 of file G4H3ToolsManager.hh.