Geant4 10.7.0
Toolkit for the simulation of the passage of particles through matter
|
#include <G4P1ToolsManager.hh>
Public Member Functions | |
G4P1ToolsManager (const G4AnalysisManagerState &state) | |
virtual | ~G4P1ToolsManager () |
G4int | AddP1 (const G4String &name, tools::histo::p1d *p1d) |
void | AddP1Vector (const std::vector< tools::histo::p1d * > &p1Vector) |
tools::histo::p1d * | GetP1 (G4int id, G4bool warn=true, G4bool onlyIfActive=true) const |
std::vector< tools::histo::p1d * >::iterator | BeginP1 () |
std::vector< tools::histo::p1d * >::iterator | EndP1 () |
std::vector< tools::histo::p1d * >::const_iterator | BeginConstP1 () const |
std::vector< tools::histo::p1d * >::const_iterator | EndConstP1 () const |
const std::vector< tools::histo::p1d * > & | GetP1Vector () const |
const std::vector< G4HnInformation * > & | GetHnVector () const |
Public Member Functions inherited from G4VP1Manager | |
G4VP1Manager () | |
virtual | ~G4VP1Manager () |
G4VP1Manager (const G4VP1Manager &rhs)=delete | |
G4VP1Manager & | operator= (const G4VP1Manager &rhs)=delete |
Public Member Functions inherited from G4THnManager< tools::histo::p1d > | |
G4THnManager (const G4AnalysisManagerState &state, const G4String &hnType) | |
virtual | ~G4THnManager () |
G4bool | Reset () |
G4bool | IsEmpty () const |
void | AddTVector (const std::vector< tools::histo::p1d * > &tVector) |
void | Merge (G4Mutex &mergeMutex, G4THnManager< tools::histo::p1d > *masterInstance) |
Protected Member Functions | |
virtual G4int | CreateP1 (const G4String &name, const G4String &title, G4int nbins, G4double xmin, G4double xmax, G4double ymin=0, G4double ymax=0, const G4String &xunitName="none", const G4String &yunitName="none", const G4String &xfcnName="none", const G4String &yfcnName="none", const G4String &xbinScheme="linear") final |
virtual G4int | CreateP1 (const G4String &name, const G4String &title, const std::vector< G4double > &edges, G4double ymin=0, G4double ymax=0, const G4String &xunitName="none", const G4String &yunitName="none", const G4String &xfcnName="none", const G4String &yfcnName="none") final |
virtual G4bool | SetP1 (G4int id, G4int nbins, G4double xmin, G4double xmax, G4double ymin=0, G4double ymax=0, const G4String &xunitName="none", const G4String &yunitName="none", const G4String &xfcnName="none", const G4String &yfcnName="none", const G4String &xbinScheme="linear") final |
virtual G4bool | SetP1 (G4int id, const std::vector< G4double > &edges, G4double ymin=0, G4double ymax=0, const G4String &xunitName="none", const G4String &yunitName="none", const G4String &xfcnName="none", const G4String &yfcnName="none") final |
virtual G4bool | ScaleP1 (G4int id, G4double factor) final |
virtual G4bool | FillP1 (G4int id, G4double xvalue, G4double yvalue, G4double weight=1.0) final |
virtual G4int | GetP1Id (const G4String &name, G4bool warn=true) const final |
virtual G4int | GetP1Nbins (G4int id) const final |
virtual G4double | GetP1Xmin (G4int id) const final |
virtual G4double | GetP1Xmax (G4int id) const final |
virtual G4double | GetP1XWidth (G4int id) const final |
virtual G4double | GetP1Ymin (G4int id) const final |
virtual G4double | GetP1Ymax (G4int id) const final |
virtual G4bool | SetP1Title (G4int id, const G4String &title) final |
virtual G4bool | SetP1XAxisTitle (G4int id, const G4String &title) final |
virtual G4bool | SetP1YAxisTitle (G4int id, const G4String &title) final |
virtual G4String | GetP1Title (G4int id) const final |
virtual G4String | GetP1XAxisTitle (G4int id) const final |
virtual G4String | GetP1YAxisTitle (G4int id) const final |
virtual std::shared_ptr< G4HnManager > | GetHnManager () final |
virtual G4int | CreateP1 (const G4String &name, const G4String &title, G4int nbins, G4double xmin, G4double xmax, G4double ymin=0, G4double ymax=0, const G4String &xunitName="none", const G4String &yunitName="none", const G4String &xfcnName="none", const G4String &yfcnName="none", const G4String &xbinScheme="linear")=0 |
virtual G4int | CreateP1 (const G4String &name, const G4String &title, const std::vector< G4double > &edges, G4double ymin=0, G4double ymax=0, const G4String &xunitName="none", const G4String &yunitName="none", const G4String &xfcnName="none", const G4String &yfcnName="none")=0 |
virtual G4bool | SetP1 (G4int id, G4int nbins, G4double xmin, G4double xmax, G4double ymin=0, G4double ymax=0, const G4String &xunitName="none", const G4String &yunitName="none", const G4String &xfcnName="none", const G4String &yfcnName="none", const G4String &xbinScheme="linear")=0 |
virtual G4bool | SetP1 (G4int id, const std::vector< G4double > &edges, G4double ymin=0, G4double ymax=0, const G4String &xunitName="none", const G4String &yunitName="none", const G4String &xfcnName="none", const G4String &yfcnName="none")=0 |
virtual G4bool | ScaleP1 (G4int id, G4double factor)=0 |
virtual G4bool | FillP1 (G4int id, G4double xvalue, G4double yvalue, G4double weight=1.0)=0 |
virtual G4int | GetP1Id (const G4String &name, G4bool warn=true) const =0 |
virtual G4int | GetP1Nbins (G4int id) const =0 |
virtual G4double | GetP1Xmin (G4int id) const =0 |
virtual G4double | GetP1Xmax (G4int id) const =0 |
virtual G4double | GetP1XWidth (G4int id) const =0 |
virtual G4double | GetP1Ymin (G4int id) const =0 |
virtual G4double | GetP1Ymax (G4int id) const =0 |
virtual G4bool | SetP1Title (G4int id, const G4String &title)=0 |
virtual G4bool | SetP1XAxisTitle (G4int id, const G4String &title)=0 |
virtual G4bool | SetP1YAxisTitle (G4int id, const G4String &title)=0 |
virtual G4String | GetP1Title (G4int id) const =0 |
virtual G4String | GetP1XAxisTitle (G4int id) const =0 |
virtual G4String | GetP1YAxisTitle (G4int id) const =0 |
virtual std::shared_ptr< G4HnManager > | GetHnManager ()=0 |
Protected Member Functions inherited from G4THnManager< tools::histo::p1d > | |
std::vector< tools::histo::p1d * >::iterator | BeginT () |
std::vector< tools::histo::p1d * >::iterator | EndT () |
std::vector< tools::histo::p1d * >::const_iterator | BeginConstT () const |
std::vector< tools::histo::p1d * >::const_iterator | EndConstT () const |
tools::histo::p1d * | GetTInFunction (G4int id, G4String functionName, G4bool warn=true, G4bool onlyIfActive=true) const |
G4int | RegisterT (tools::histo::p1d *t, const G4String &name) |
G4int | GetTId (const G4String &name, G4bool warn=true) const |
Additional Inherited Members | |
Protected Attributes inherited from G4THnManager< tools::histo::p1d > | |
const G4AnalysisManagerState & | fState |
std::vector< tools::histo::p1d * > | fTVector |
std::map< G4String, G4int > | fNameIdMap |
std::shared_ptr< G4HnManager > | fHnManager |
Definition at line 52 of file G4P1ToolsManager.hh.
|
explicit |
Definition at line 48 of file G4P1ToolsManager.cc.
|
virtual |
Definition at line 54 of file G4P1ToolsManager.cc.
Definition at line 557 of file G4P1ToolsManager.cc.
Referenced by G4XmlAnalysisReader::ReadP1Impl(), G4CsvAnalysisReader::ReadP1Impl(), G4Hdf5AnalysisReader::ReadP1Impl(), and G4RootAnalysisReader::ReadP1Impl().
void G4P1ToolsManager::AddP1Vector | ( | const std::vector< tools::histo::p1d * > & | p1Vector | ) |
Definition at line 580 of file G4P1ToolsManager.cc.
|
inline |
Definition at line 178 of file G4P1ToolsManager.hh.
|
inline |
Definition at line 171 of file G4P1ToolsManager.hh.
|
finalprotectedvirtual |
Implements G4VP1Manager.
Definition at line 288 of file G4P1ToolsManager.cc.
|
finalprotectedvirtual |
Implements G4VP1Manager.
Definition at line 253 of file G4P1ToolsManager.cc.
|
inline |
Definition at line 182 of file G4P1ToolsManager.hh.
|
inline |
Definition at line 174 of file G4P1ToolsManager.hh.
|
finalprotectedvirtual |
Implements G4VP1Manager.
Definition at line 399 of file G4P1ToolsManager.cc.
|
inlinefinalprotectedvirtual |
|
inline |
Definition at line 188 of file G4P1ToolsManager.hh.
Referenced by G4ToolsAnalysisManager::MergeImpl(), G4ToolsAnalysisManager::PlotImpl(), and G4GenericAnalysisManager::WriteImpl().
tools::histo::p1d * G4P1ToolsManager::GetP1 | ( | G4int | id, |
G4bool | warn = true , |
||
G4bool | onlyIfActive = true |
||
) | const |
Definition at line 587 of file G4P1ToolsManager.cc.
|
finalprotectedvirtual |
Implements G4VP1Manager.
Definition at line 434 of file G4P1ToolsManager.cc.
Implements G4VP1Manager.
Definition at line 440 of file G4P1ToolsManager.cc.
Implements G4VP1Manager.
Definition at line 525 of file G4P1ToolsManager.cc.
|
inline |
Definition at line 185 of file G4P1ToolsManager.hh.
Referenced by G4ToolsAnalysisManager::MergeImpl(), G4ToolsAnalysisManager::PlotImpl(), and G4GenericAnalysisManager::WriteImpl().
Implements G4VP1Manager.
Definition at line 535 of file G4P1ToolsManager.cc.
Implements G4VP1Manager.
Definition at line 460 of file G4P1ToolsManager.cc.
Implements G4VP1Manager.
Definition at line 449 of file G4P1ToolsManager.cc.
Implements G4VP1Manager.
Definition at line 469 of file G4P1ToolsManager.cc.
Implements G4VP1Manager.
Definition at line 544 of file G4P1ToolsManager.cc.
Implements G4VP1Manager.
Definition at line 489 of file G4P1ToolsManager.cc.
Implements G4VP1Manager.
Definition at line 478 of file G4P1ToolsManager.cc.
Implements G4VP1Manager.
Definition at line 390 of file G4P1ToolsManager.cc.
|
finalprotectedvirtual |
Implements G4VP1Manager.
Definition at line 356 of file G4P1ToolsManager.cc.
|
finalprotectedvirtual |
Implements G4VP1Manager.
Definition at line 320 of file G4P1ToolsManager.cc.
Implements G4VP1Manager.
Definition at line 498 of file G4P1ToolsManager.cc.
Implements G4VP1Manager.
Definition at line 507 of file G4P1ToolsManager.cc.
Implements G4VP1Manager.
Definition at line 516 of file G4P1ToolsManager.cc.