Geant4 10.7.0
Toolkit for the simulation of the passage of particles through matter
|
#include <G4H2ToolsManager.hh>
Public Member Functions | |
G4H2ToolsManager (const G4AnalysisManagerState &state) | |
virtual | ~G4H2ToolsManager () |
G4int | AddH2 (const G4String &name, tools::histo::h2d *h2d) |
void | AddH2Vector (const std::vector< tools::histo::h2d * > &h2Vector) |
tools::histo::h2d * | GetH2 (G4int id, G4bool warn=true, G4bool onlyIfActive=true) const |
std::vector< tools::histo::h2d * >::iterator | BeginH2 () |
std::vector< tools::histo::h2d * >::iterator | EndH2 () |
std::vector< tools::histo::h2d * >::const_iterator | BeginConstH2 () const |
std::vector< tools::histo::h2d * >::const_iterator | EndConstH2 () const |
const std::vector< tools::histo::h2d * > & | GetH2Vector () const |
const std::vector< G4HnInformation * > & | GetHnVector () const |
Public Member Functions inherited from G4VH2Manager | |
G4VH2Manager () | |
virtual | ~G4VH2Manager () |
G4VH2Manager (const G4VH2Manager &rhs)=delete | |
G4VH2Manager & | operator= (const G4VH2Manager &rhs)=delete |
Public Member Functions inherited from G4THnManager< tools::histo::h2d > | |
G4THnManager (const G4AnalysisManagerState &state, const G4String &hnType) | |
virtual | ~G4THnManager () |
G4bool | Reset () |
G4bool | IsEmpty () const |
void | AddTVector (const std::vector< tools::histo::h2d * > &tVector) |
void | Merge (G4Mutex &mergeMutex, G4THnManager< tools::histo::h2d > *masterInstance) |
Protected Member Functions | |
virtual G4int | CreateH2 (const G4String &name, const G4String &title, G4int nxbins, G4double xmin, G4double xmax, G4int nybins, G4double ymin, G4double ymax, const G4String &xunitName="none", const G4String &yunitName="none", const G4String &xfcnName="none", const G4String &yfcnName="none", const G4String &xbinScheme="linear", const G4String &ybinScheme="linear") final |
virtual G4int | CreateH2 (const G4String &name, const G4String &title, const std::vector< G4double > &xedges, const std::vector< G4double > &yedges, const G4String &xunitName="none", const G4String &yunitName="none", const G4String &xfcnName="none", const G4String &yfcnName="none") final |
virtual G4bool | SetH2 (G4int id, G4int nxbins, G4double xmin, G4double xmax, G4int nybins, G4double ymin, G4double ymax, const G4String &xunitName="none", const G4String &yunitName="none", const G4String &xfcnName="none", const G4String &yfcnName="none", const G4String &xbinScheme="linear", const G4String &ybinScheme="linear") final |
virtual G4bool | SetH2 (G4int id, const std::vector< G4double > &xedges, const std::vector< G4double > &yedges, const G4String &xunitName="none", const G4String &yunitName="none", const G4String &xfcnName="none", const G4String &yfcnName="none") final |
virtual G4bool | ScaleH2 (G4int id, G4double factor) final |
virtual G4bool | FillH2 (G4int id, G4double xvalue, G4double yvalue, G4double weight=1.0) final |
virtual G4int | GetH2Id (const G4String &name, G4bool warn=true) const final |
virtual G4int | GetH2Nxbins (G4int id) const final |
virtual G4double | GetH2Xmin (G4int id) const final |
virtual G4double | GetH2Xmax (G4int id) const final |
virtual G4double | GetH2XWidth (G4int id) const final |
virtual G4int | GetH2Nybins (G4int id) const final |
virtual G4double | GetH2Ymin (G4int id) const final |
virtual G4double | GetH2Ymax (G4int id) const final |
virtual G4double | GetH2YWidth (G4int id) const final |
virtual G4bool | SetH2Title (G4int id, const G4String &title) final |
virtual G4bool | SetH2XAxisTitle (G4int id, const G4String &title) final |
virtual G4bool | SetH2YAxisTitle (G4int id, const G4String &title) final |
virtual G4bool | SetH2ZAxisTitle (G4int id, const G4String &title) final |
virtual G4String | GetH2Title (G4int id) const final |
virtual G4String | GetH2XAxisTitle (G4int id) const final |
virtual G4String | GetH2YAxisTitle (G4int id) const final |
virtual G4String | GetH2ZAxisTitle (G4int id) const final |
virtual G4bool | WriteOnAscii (std::ofstream &output) final |
virtual std::shared_ptr< G4HnManager > | GetHnManager () final |
virtual G4int | CreateH2 (const G4String &name, const G4String &title, G4int nxbins, G4double xmin, G4double xmax, G4int nybins, G4double ymin, G4double ymax, const G4String &xunitName="none", const G4String &yunitName="none", const G4String &xfcnName="none", const G4String &yfcnName="none", const G4String &xbinScheme="linear", const G4String &ybinScheme="linear")=0 |
virtual G4int | CreateH2 (const G4String &name, const G4String &title, const std::vector< G4double > &xedges, const std::vector< G4double > &yedges, const G4String &xunitName="none", const G4String &yunitName="none", const G4String &xfcnName="none", const G4String &yfcnName="none")=0 |
virtual G4bool | SetH2 (G4int id, G4int nxbins, G4double xmin, G4double xmax, G4int nybins, G4double ymin, G4double ymax, const G4String &xunitName="none", const G4String &yunitName="none", const G4String &xfcnName="none", const G4String &yfcnName="none", const G4String &xbinScheme="linear", const G4String &ybinScheme="linear")=0 |
virtual G4bool | SetH2 (G4int id, const std::vector< G4double > &xedges, const std::vector< G4double > &yedges, const G4String &xunitName="none", const G4String &yunitName="none", const G4String &xfcnName="none", const G4String &yfcnName="none")=0 |
virtual G4bool | ScaleH2 (G4int id, G4double factor)=0 |
virtual G4bool | FillH2 (G4int id, G4double xvalue, G4double yvalue, G4double weight=1.0)=0 |
virtual G4int | GetH2Id (const G4String &name, G4bool warn=true) const =0 |
virtual G4int | GetH2Nxbins (G4int id) const =0 |
virtual G4double | GetH2Xmin (G4int id) const =0 |
virtual G4double | GetH2Xmax (G4int id) const =0 |
virtual G4double | GetH2XWidth (G4int id) const =0 |
virtual G4int | GetH2Nybins (G4int id) const =0 |
virtual G4double | GetH2Ymin (G4int id) const =0 |
virtual G4double | GetH2Ymax (G4int id) const =0 |
virtual G4double | GetH2YWidth (G4int id) const =0 |
virtual G4bool | SetH2Title (G4int id, const G4String &title)=0 |
virtual G4bool | SetH2XAxisTitle (G4int id, const G4String &title)=0 |
virtual G4bool | SetH2YAxisTitle (G4int id, const G4String &title)=0 |
virtual G4bool | SetH2ZAxisTitle (G4int id, const G4String &title)=0 |
virtual G4String | GetH2Title (G4int id) const =0 |
virtual G4String | GetH2XAxisTitle (G4int id) const =0 |
virtual G4String | GetH2YAxisTitle (G4int id) const =0 |
virtual G4String | GetH2ZAxisTitle (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::h2d > | |
std::vector< tools::histo::h2d * >::iterator | BeginT () |
std::vector< tools::histo::h2d * >::iterator | EndT () |
std::vector< tools::histo::h2d * >::const_iterator | BeginConstT () const |
std::vector< tools::histo::h2d * >::const_iterator | EndConstT () const |
tools::histo::h2d * | GetTInFunction (G4int id, G4String functionName, G4bool warn=true, G4bool onlyIfActive=true) const |
G4int | RegisterT (tools::histo::h2d *t, const G4String &name) |
G4int | GetTId (const G4String &name, G4bool warn=true) const |
Additional Inherited Members | |
Protected Attributes inherited from G4THnManager< tools::histo::h2d > | |
const G4AnalysisManagerState & | fState |
std::vector< tools::histo::h2d * > | fTVector |
std::map< G4String, G4int > | fNameIdMap |
std::shared_ptr< G4HnManager > | fHnManager |
Definition at line 51 of file G4H2ToolsManager.hh.
|
explicit |
Definition at line 44 of file G4H2ToolsManager.cc.
|
virtual |
Definition at line 50 of file G4H2ToolsManager.cc.
Definition at line 604 of file G4H2ToolsManager.cc.
Referenced by G4XmlAnalysisReader::ReadH2Impl(), G4CsvAnalysisReader::ReadH2Impl(), G4Hdf5AnalysisReader::ReadH2Impl(), and G4RootAnalysisReader::ReadH2Impl().
void G4H2ToolsManager::AddH2Vector | ( | const std::vector< tools::histo::h2d * > & | h2Vector | ) |
Definition at line 628 of file G4H2ToolsManager.cc.
|
inline |
Definition at line 184 of file G4H2ToolsManager.hh.
|
inline |
Definition at line 177 of file G4H2ToolsManager.hh.
|
finalprotectedvirtual |
Implements G4VH2Manager.
Definition at line 288 of file G4H2ToolsManager.cc.
|
finalprotectedvirtual |
Implements G4VH2Manager.
Definition at line 249 of file G4H2ToolsManager.cc.
|
inline |
Definition at line 188 of file G4H2ToolsManager.hh.
|
inline |
Definition at line 180 of file G4H2ToolsManager.hh.
|
finalprotectedvirtual |
Implements G4VH2Manager.
Definition at line 401 of file G4H2ToolsManager.cc.
tools::histo::h2d * G4H2ToolsManager::GetH2 | ( | G4int | id, |
G4bool | warn = true , |
||
G4bool | onlyIfActive = true |
||
) | const |
Definition at line 634 of file G4H2ToolsManager.cc.
|
finalprotectedvirtual |
Implements G4VH2Manager.
Definition at line 435 of file G4H2ToolsManager.cc.
Implements G4VH2Manager.
Definition at line 441 of file G4H2ToolsManager.cc.
Implements G4VH2Manager.
Definition at line 479 of file G4H2ToolsManager.cc.
Implements G4VH2Manager.
Definition at line 553 of file G4H2ToolsManager.cc.
|
inline |
Definition at line 191 of file G4H2ToolsManager.hh.
Referenced by G4ToolsAnalysisManager::MergeImpl(), G4ToolsAnalysisManager::PlotImpl(), and G4GenericAnalysisManager::WriteImpl().
Implements G4VH2Manager.
Definition at line 562 of file G4H2ToolsManager.cc.
Implements G4VH2Manager.
Definition at line 461 of file G4H2ToolsManager.cc.
Implements G4VH2Manager.
Definition at line 450 of file G4H2ToolsManager.cc.
Implements G4VH2Manager.
Definition at line 470 of file G4H2ToolsManager.cc.
Implements G4VH2Manager.
Definition at line 571 of file G4H2ToolsManager.cc.
Implements G4VH2Manager.
Definition at line 499 of file G4H2ToolsManager.cc.
Implements G4VH2Manager.
Definition at line 488 of file G4H2ToolsManager.cc.
Implements G4VH2Manager.
Definition at line 508 of file G4H2ToolsManager.cc.
Implements G4VH2Manager.
Definition at line 580 of file G4H2ToolsManager.cc.
|
inlinefinalprotectedvirtual |
|
inline |
Definition at line 194 of file G4H2ToolsManager.hh.
Referenced by G4ToolsAnalysisManager::MergeImpl(), G4ToolsAnalysisManager::PlotImpl(), and G4GenericAnalysisManager::WriteImpl().
Implements G4VH2Manager.
Definition at line 392 of file G4H2ToolsManager.cc.
|
finalprotectedvirtual |
Implements G4VH2Manager.
Definition at line 360 of file G4H2ToolsManager.cc.
|
finalprotectedvirtual |
Implements G4VH2Manager.
Definition at line 322 of file G4H2ToolsManager.cc.
Implements G4VH2Manager.
Definition at line 517 of file G4H2ToolsManager.cc.
Implements G4VH2Manager.
Definition at line 526 of file G4H2ToolsManager.cc.
Implements G4VH2Manager.
Definition at line 535 of file G4H2ToolsManager.cc.
Implements G4VH2Manager.
Definition at line 544 of file G4H2ToolsManager.cc.
|
finalprotectedvirtual |
Implements G4VH2Manager.
Definition at line 589 of file G4H2ToolsManager.cc.