Geant4 10.7.0
Toolkit for the simulation of the passage of particles through matter
|
#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 |
void | AddTVector (const std::vector< tools::histo::h3d * > &tVector) |
void | Merge (G4Mutex &mergeMutex, G4THnManager< tools::histo::h3d > *masterInstance) |
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 |
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")=0 |
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")=0 |
virtual G4bool | SetH3 (G4int id, G4int nxbins, G4double xmin, G4double xmax, G4int nzbins, G4double zmin, G4double zmax, G4int nybins, G4double ymin, G4double ymax, 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")=0 |
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")=0 |
virtual G4bool | ScaleH3 (G4int id, G4double factor)=0 |
virtual G4bool | FillH3 (G4int id, G4double xvalue, G4double yvalue, G4double zvalue, G4double weight=1.0)=0 |
virtual G4int | GetH3Id (const G4String &name, G4bool warn=true) const =0 |
virtual G4int | GetH3Nxbins (G4int id) const =0 |
virtual G4double | GetH3Xmin (G4int id) const =0 |
virtual G4double | GetH3Xmax (G4int id) const =0 |
virtual G4double | GetH3XWidth (G4int id) const =0 |
virtual G4int | GetH3Nybins (G4int id) const =0 |
virtual G4double | GetH3Ymin (G4int id) const =0 |
virtual G4double | GetH3Ymax (G4int id) const =0 |
virtual G4double | GetH3YWidth (G4int id) const =0 |
virtual G4int | GetH3Nzbins (G4int id) const =0 |
virtual G4double | GetH3Zmin (G4int id) const =0 |
virtual G4double | GetH3Zmax (G4int id) const =0 |
virtual G4double | GetH3ZWidth (G4int id) const =0 |
virtual G4bool | SetH3Title (G4int id, const G4String &title)=0 |
virtual G4bool | SetH3XAxisTitle (G4int id, const G4String &title)=0 |
virtual G4bool | SetH3YAxisTitle (G4int id, const G4String &title)=0 |
virtual G4bool | SetH3ZAxisTitle (G4int id, const G4String &title)=0 |
virtual G4String | GetH3Title (G4int id) const =0 |
virtual G4String | GetH3XAxisTitle (G4int id) const =0 |
virtual G4String | GetH3YAxisTitle (G4int id) const =0 |
virtual G4String | GetH3ZAxisTitle (G4int id) const =0 |
virtual G4bool | WriteOnAscii (std::ofstream &output)=0 |
virtual std::shared_ptr< G4HnManager > | GetHnManager ()=0 |
Protected Member Functions inherited from G4THnManager< tools::histo::h3d > | |
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 |
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 52 of file G4H3ToolsManager.hh.
|
explicit |
Definition at line 44 of file G4H3ToolsManager.cc.
|
virtual |
Definition at line 50 of file G4H3ToolsManager.cc.
Definition at line 723 of file G4H3ToolsManager.cc.
Referenced by G4XmlAnalysisReader::ReadH3Impl(), G4CsvAnalysisReader::ReadH3Impl(), G4Hdf5AnalysisReader::ReadH3Impl(), and G4RootAnalysisReader::ReadH3Impl().
void G4H3ToolsManager::AddH3Vector | ( | const std::vector< tools::histo::h3d * > & | h3Vector | ) |
Definition at line 747 of file G4H3ToolsManager.cc.
|
inline |
Definition at line 206 of file G4H3ToolsManager.hh.
|
inline |
Definition at line 199 of file G4H3ToolsManager.hh.
|
finalprotectedvirtual |
Implements G4VH3Manager.
Definition at line 345 of file G4H3ToolsManager.cc.
|
finalprotectedvirtual |
Implements G4VH3Manager.
Definition at line 297 of file G4H3ToolsManager.cc.
|
inline |
Definition at line 210 of file G4H3ToolsManager.hh.
|
inline |
Definition at line 202 of file G4H3ToolsManager.hh.
|
finalprotectedvirtual |
Implements G4VH3Manager.
Definition at line 477 of file G4H3ToolsManager.cc.
tools::histo::h3d * G4H3ToolsManager::GetH3 | ( | G4int | id, |
G4bool | warn = true , |
||
G4bool | onlyIfActive = true |
||
) | const |
Definition at line 754 of file G4H3ToolsManager.cc.
|
finalprotectedvirtual |
Implements G4VH3Manager.
Definition at line 516 of file G4H3ToolsManager.cc.
Implements G4VH3Manager.
Definition at line 522 of file G4H3ToolsManager.cc.
Implements G4VH3Manager.
Definition at line 560 of file G4H3ToolsManager.cc.
Implements G4VH3Manager.
Definition at line 598 of file G4H3ToolsManager.cc.
Implements G4VH3Manager.
Definition at line 672 of file G4H3ToolsManager.cc.
|
inline |
Definition at line 213 of file G4H3ToolsManager.hh.
Referenced by G4ToolsAnalysisManager::MergeImpl(), and G4GenericAnalysisManager::WriteImpl().
Implements G4VH3Manager.
Definition at line 681 of file G4H3ToolsManager.cc.
Implements G4VH3Manager.
Definition at line 542 of file G4H3ToolsManager.cc.
Implements G4VH3Manager.
Definition at line 531 of file G4H3ToolsManager.cc.
Implements G4VH3Manager.
Definition at line 551 of file G4H3ToolsManager.cc.
Implements G4VH3Manager.
Definition at line 690 of file G4H3ToolsManager.cc.
Implements G4VH3Manager.
Definition at line 580 of file G4H3ToolsManager.cc.
Implements G4VH3Manager.
Definition at line 569 of file G4H3ToolsManager.cc.
Implements G4VH3Manager.
Definition at line 589 of file G4H3ToolsManager.cc.
Implements G4VH3Manager.
Definition at line 699 of file G4H3ToolsManager.cc.
Implements G4VH3Manager.
Definition at line 618 of file G4H3ToolsManager.cc.
Implements G4VH3Manager.
Definition at line 607 of file G4H3ToolsManager.cc.
Implements G4VH3Manager.
Definition at line 627 of file G4H3ToolsManager.cc.
|
inlinefinalprotectedvirtual |
|
inline |
Definition at line 216 of file G4H3ToolsManager.hh.
Referenced by G4ToolsAnalysisManager::MergeImpl(), and G4GenericAnalysisManager::WriteImpl().
Implements G4VH3Manager.
Definition at line 468 of file G4H3ToolsManager.cc.
|
finalprotectedvirtual |
Implements G4VH3Manager.
Definition at line 430 of file G4H3ToolsManager.cc.
|
finalprotectedvirtual |
Implements G4VH3Manager.
Definition at line 384 of file G4H3ToolsManager.cc.
Implements G4VH3Manager.
Definition at line 636 of file G4H3ToolsManager.cc.
Implements G4VH3Manager.
Definition at line 645 of file G4H3ToolsManager.cc.
Implements G4VH3Manager.
Definition at line 654 of file G4H3ToolsManager.cc.
Implements G4VH3Manager.
Definition at line 663 of file G4H3ToolsManager.cc.
|
finalprotectedvirtual |
Implements G4VH3Manager.
Definition at line 708 of file G4H3ToolsManager.cc.