Geant4 10.7.0
Toolkit for the simulation of the passage of particles through matter
|
#include <G4P2ToolsManager.hh>
Public Member Functions | |
G4P2ToolsManager (const G4AnalysisManagerState &state) | |
virtual | ~G4P2ToolsManager () |
G4int | AddP2 (const G4String &name, tools::histo::p2d *p2d) |
void | AddP2Vector (const std::vector< tools::histo::p2d * > &p2Vector) |
tools::histo::p2d * | GetP2 (G4int id, G4bool warn=true, G4bool onlyIfActive=true) const |
std::vector< tools::histo::p2d * >::iterator | BeginP2 () |
std::vector< tools::histo::p2d * >::iterator | EndP2 () |
std::vector< tools::histo::p2d * >::const_iterator | BeginConstP2 () const |
std::vector< tools::histo::p2d * >::const_iterator | EndConstP2 () const |
const std::vector< tools::histo::p2d * > & | GetP2Vector () const |
const std::vector< G4HnInformation * > & | GetHnVector () const |
![]() | |
G4VP2Manager () | |
virtual | ~G4VP2Manager () |
G4VP2Manager (const G4VP2Manager &rhs)=delete | |
G4VP2Manager & | operator= (const G4VP2Manager &rhs)=delete |
![]() | |
G4THnManager (const G4AnalysisManagerState &state, const G4String &hnType) | |
virtual | ~G4THnManager () |
G4bool | Reset () |
G4bool | IsEmpty () const |
void | AddTVector (const std::vector< tools::histo::p2d * > &tVector) |
void | Merge (G4Mutex &mergeMutex, G4THnManager< tools::histo::p2d > *masterInstance) |
Protected Member Functions | |
virtual G4int | CreateP2 (const G4String &name, const G4String &title, G4int nxbins, G4double xmin, G4double xmax, G4int nybins, G4double ymin, G4double ymax, G4double zmin=0, G4double zmax=0, 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") final |
virtual G4int | CreateP2 (const G4String &name, const G4String &title, const std::vector< G4double > &xedges, const std::vector< G4double > &yedges, G4double zmin=0, G4double zmax=0, 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 | SetP2 (G4int id, G4int nxbins, G4double xmin, G4double xmax, G4int nybins, G4double ymin, G4double ymax, G4double zmin=0, G4double zmax=0, 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") final |
virtual G4bool | SetP2 (G4int id, const std::vector< G4double > &xedges, const std::vector< G4double > &yedges, G4double zmin=0, G4double zmax=0, 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 | ScaleP2 (G4int id, G4double factor) final |
virtual G4bool | FillP2 (G4int id, G4double xvalue, G4double yvalue, G4double zvalue, G4double weight=1.0) final |
virtual G4int | GetP2Id (const G4String &name, G4bool warn=true) const final |
virtual G4int | GetP2Nxbins (G4int id) const final |
virtual G4double | GetP2Xmin (G4int id) const final |
virtual G4double | GetP2Xmax (G4int id) const final |
virtual G4double | GetP2XWidth (G4int id) const final |
virtual G4int | GetP2Nybins (G4int id) const final |
virtual G4double | GetP2Ymin (G4int id) const final |
virtual G4double | GetP2Ymax (G4int id) const final |
virtual G4double | GetP2YWidth (G4int id) const final |
virtual G4double | GetP2Zmin (G4int id) const final |
virtual G4double | GetP2Zmax (G4int id) const final |
virtual G4bool | SetP2Title (G4int id, const G4String &title) final |
virtual G4bool | SetP2XAxisTitle (G4int id, const G4String &title) final |
virtual G4bool | SetP2YAxisTitle (G4int id, const G4String &title) final |
virtual G4bool | SetP2ZAxisTitle (G4int id, const G4String &title) final |
virtual G4String | GetP2Title (G4int id) const final |
virtual G4String | GetP2XAxisTitle (G4int id) const final |
virtual G4String | GetP2YAxisTitle (G4int id) const final |
virtual G4String | GetP2ZAxisTitle (G4int id) const final |
virtual G4bool | WriteOnAscii (std::ofstream &output) final |
virtual std::shared_ptr< G4HnManager > | GetHnManager () final |
virtual G4int | CreateP2 (const G4String &name, const G4String &title, G4int nxbins, G4double xmin, G4double xmax, G4int nybins, G4double ymin, G4double ymax, G4double zmin=0, G4double zmax=0, 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")=0 |
virtual G4int | CreateP2 (const G4String &name, const G4String &title, const std::vector< G4double > &xedges, const std::vector< G4double > &yedges, G4double zmin=0, G4double zmax=0, 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 | SetP2 (G4int id, G4int nxbins, G4double xmin, G4double xmax, G4int nybins, G4double ymin, G4double ymax, G4double zmin=0, G4double zmax=0, 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")=0 |
virtual G4bool | SetP2 (G4int id, const std::vector< G4double > &xedges, const std::vector< G4double > &yedges, G4double zmin=0, G4double zmax=0, 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 | ScaleP2 (G4int id, G4double factor)=0 |
virtual G4bool | FillP2 (G4int id, G4double xvalue, G4double yvalue, G4double zvalue, G4double weight=1.0)=0 |
virtual G4int | GetP2Id (const G4String &name, G4bool warn=true) const =0 |
virtual G4int | GetP2Nxbins (G4int id) const =0 |
virtual G4double | GetP2Xmin (G4int id) const =0 |
virtual G4double | GetP2Xmax (G4int id) const =0 |
virtual G4double | GetP2XWidth (G4int id) const =0 |
virtual G4int | GetP2Nybins (G4int id) const =0 |
virtual G4double | GetP2Ymin (G4int id) const =0 |
virtual G4double | GetP2Ymax (G4int id) const =0 |
virtual G4double | GetP2YWidth (G4int id) const =0 |
virtual G4double | GetP2Zmin (G4int id) const =0 |
virtual G4double | GetP2Zmax (G4int id) const =0 |
virtual G4bool | SetP2Title (G4int id, const G4String &title)=0 |
virtual G4bool | SetP2XAxisTitle (G4int id, const G4String &title)=0 |
virtual G4bool | SetP2YAxisTitle (G4int id, const G4String &title)=0 |
virtual G4bool | SetP2ZAxisTitle (G4int id, const G4String &title)=0 |
virtual G4String | GetP2Title (G4int id) const =0 |
virtual G4String | GetP2XAxisTitle (G4int id) const =0 |
virtual G4String | GetP2YAxisTitle (G4int id) const =0 |
virtual G4String | GetP2ZAxisTitle (G4int id) const =0 |
virtual G4bool | WriteOnAscii (std::ofstream &output)=0 |
virtual std::shared_ptr< G4HnManager > | GetHnManager ()=0 |
![]() | |
std::vector< tools::histo::p2d * >::iterator | BeginT () |
std::vector< tools::histo::p2d * >::iterator | EndT () |
std::vector< tools::histo::p2d * >::const_iterator | BeginConstT () const |
std::vector< tools::histo::p2d * >::const_iterator | EndConstT () const |
tools::histo::p2d * | GetTInFunction (G4int id, G4String functionName, G4bool warn=true, G4bool onlyIfActive=true) const |
G4int | RegisterT (tools::histo::p2d *t, const G4String &name) |
G4int | GetTId (const G4String &name, G4bool warn=true) const |
Additional Inherited Members | |
![]() | |
const G4AnalysisManagerState & | fState |
std::vector< tools::histo::p2d * > | fTVector |
std::map< G4String, G4int > | fNameIdMap |
std::shared_ptr< G4HnManager > | fHnManager |
Definition at line 51 of file G4P2ToolsManager.hh.
|
explicit |
Definition at line 44 of file G4P2ToolsManager.cc.
|
virtual |
Definition at line 50 of file G4P2ToolsManager.cc.
Definition at line 722 of file G4P2ToolsManager.cc.
Referenced by G4XmlAnalysisReader::ReadP2Impl(), G4CsvAnalysisReader::ReadP2Impl(), G4Hdf5AnalysisReader::ReadP2Impl(), and G4RootAnalysisReader::ReadP2Impl().
void G4P2ToolsManager::AddP2Vector | ( | const std::vector< tools::histo::p2d * > & | p2Vector | ) |
Definition at line 746 of file G4P2ToolsManager.cc.
|
inline |
Definition at line 201 of file G4P2ToolsManager.hh.
|
inline |
Definition at line 194 of file G4P2ToolsManager.hh.
|
finalprotectedvirtual |
Implements G4VP2Manager.
Definition at line 362 of file G4P2ToolsManager.cc.
|
finalprotectedvirtual |
Implements G4VP2Manager.
Definition at line 316 of file G4P2ToolsManager.cc.
|
inline |
Definition at line 205 of file G4P2ToolsManager.hh.
|
inline |
Definition at line 197 of file G4P2ToolsManager.hh.
|
finalprotectedvirtual |
Implements G4VP2Manager.
Definition at line 492 of file G4P2ToolsManager.cc.
|
inlinefinalprotectedvirtual |
|
inline |
Definition at line 211 of file G4P2ToolsManager.hh.
Referenced by G4ToolsAnalysisManager::MergeImpl(), and G4GenericAnalysisManager::WriteImpl().
tools::histo::p2d * G4P2ToolsManager::GetP2 | ( | G4int | id, |
G4bool | warn = true , |
||
G4bool | onlyIfActive = true |
||
) | const |
Definition at line 753 of file G4P2ToolsManager.cc.
|
finalprotectedvirtual |
Implements G4VP2Manager.
Definition at line 533 of file G4P2ToolsManager.cc.
Implements G4VP2Manager.
Definition at line 539 of file G4P2ToolsManager.cc.
Implements G4VP2Manager.
Definition at line 577 of file G4P2ToolsManager.cc.
Implements G4VP2Manager.
Definition at line 671 of file G4P2ToolsManager.cc.
|
inline |
Definition at line 208 of file G4P2ToolsManager.hh.
Referenced by G4ToolsAnalysisManager::MergeImpl(), and G4GenericAnalysisManager::WriteImpl().
Implements G4VP2Manager.
Definition at line 680 of file G4P2ToolsManager.cc.
Implements G4VP2Manager.
Definition at line 559 of file G4P2ToolsManager.cc.
Implements G4VP2Manager.
Definition at line 548 of file G4P2ToolsManager.cc.
Implements G4VP2Manager.
Definition at line 568 of file G4P2ToolsManager.cc.
Implements G4VP2Manager.
Definition at line 689 of file G4P2ToolsManager.cc.
Implements G4VP2Manager.
Definition at line 597 of file G4P2ToolsManager.cc.
Implements G4VP2Manager.
Definition at line 586 of file G4P2ToolsManager.cc.
Implements G4VP2Manager.
Definition at line 606 of file G4P2ToolsManager.cc.
Implements G4VP2Manager.
Definition at line 698 of file G4P2ToolsManager.cc.
Implements G4VP2Manager.
Definition at line 626 of file G4P2ToolsManager.cc.
Implements G4VP2Manager.
Definition at line 615 of file G4P2ToolsManager.cc.
Implements G4VP2Manager.
Definition at line 483 of file G4P2ToolsManager.cc.
|
finalprotectedvirtual |
Implements G4VP2Manager.
Definition at line 445 of file G4P2ToolsManager.cc.
|
finalprotectedvirtual |
Implements G4VP2Manager.
Definition at line 401 of file G4P2ToolsManager.cc.
Implements G4VP2Manager.
Definition at line 635 of file G4P2ToolsManager.cc.
Implements G4VP2Manager.
Definition at line 644 of file G4P2ToolsManager.cc.
Implements G4VP2Manager.
Definition at line 653 of file G4P2ToolsManager.cc.
Implements G4VP2Manager.
Definition at line 662 of file G4P2ToolsManager.cc.
|
finalprotectedvirtual |
Implements G4VP2Manager.
Definition at line 707 of file G4P2ToolsManager.cc.