Geant4 10.7.0
Toolkit for the simulation of the passage of particles through matter
|
#include <G4H1ToolsManager.hh>
Public Member Functions | |
G4H1ToolsManager (const G4AnalysisManagerState &state) | |
virtual | ~G4H1ToolsManager () |
G4int | AddH1 (const G4String &name, tools::histo::h1d *h1d) |
void | AddH1Vector (const std::vector< tools::histo::h1d * > &h1Vector) |
tools::histo::h1d * | GetH1 (G4int id, G4bool warn=true, G4bool onlyIfActive=true) const |
std::vector< tools::histo::h1d * >::iterator | BeginH1 () |
std::vector< tools::histo::h1d * >::iterator | EndH1 () |
std::vector< tools::histo::h1d * >::const_iterator | BeginConstH1 () const |
std::vector< tools::histo::h1d * >::const_iterator | EndConstH1 () const |
const std::vector< tools::histo::h1d * > & | GetH1Vector () const |
const std::vector< G4HnInformation * > & | GetHnVector () const |
Public Member Functions inherited from G4VH1Manager | |
G4VH1Manager () | |
virtual | ~G4VH1Manager () |
G4VH1Manager (const G4VH1Manager &rhs)=delete | |
G4VH1Manager & | operator= (const G4VH1Manager &rhs)=delete |
Public Member Functions inherited from G4THnManager< tools::histo::h1d > | |
G4THnManager (const G4AnalysisManagerState &state, const G4String &hnType) | |
virtual | ~G4THnManager () |
G4bool | Reset () |
G4bool | IsEmpty () const |
void | AddTVector (const std::vector< tools::histo::h1d * > &tVector) |
void | Merge (G4Mutex &mergeMutex, G4THnManager< tools::histo::h1d > *masterInstance) |
Protected Member Functions | |
virtual G4int | CreateH1 (const G4String &name, const G4String &title, G4int nbins, G4double xmin, G4double xmax, const G4String &unitName="none", const G4String &fcnName="none", const G4String &binScheme="linear") final |
virtual G4int | CreateH1 (const G4String &name, const G4String &title, const std::vector< G4double > &edges, const G4String &unitName="none", const G4String &fcnName="none") final |
virtual G4bool | SetH1 (G4int id, G4int nbins, G4double xmin, G4double xmax, const G4String &unitName="none", const G4String &fcnName="none", const G4String &binSchemeName="linear") final |
virtual G4bool | SetH1 (G4int id, const std::vector< G4double > &edges, const G4String &unitName="none", const G4String &fcnName="none") final |
virtual G4bool | ScaleH1 (G4int id, G4double factor) final |
virtual G4bool | FillH1 (G4int id, G4double value, G4double weight=1.0) final |
virtual G4int | GetH1Id (const G4String &name, G4bool warn=true) const final |
virtual G4int | GetH1Nbins (G4int id) const final |
virtual G4double | GetH1Xmin (G4int id) const final |
virtual G4double | GetH1Xmax (G4int id) const final |
virtual G4double | GetH1Width (G4int id) const final |
virtual G4bool | SetH1Title (G4int id, const G4String &title) final |
virtual G4bool | SetH1XAxisTitle (G4int id, const G4String &title) final |
virtual G4bool | SetH1YAxisTitle (G4int id, const G4String &title) final |
virtual G4String | GetH1Title (G4int id) const final |
virtual G4String | GetH1XAxisTitle (G4int id) const final |
virtual G4String | GetH1YAxisTitle (G4int id) const final |
virtual G4bool | WriteOnAscii (std::ofstream &output) final |
virtual std::shared_ptr< G4HnManager > | GetHnManager () final |
virtual G4int | CreateH1 (const G4String &name, const G4String &title, G4int nbins, G4double xmin, G4double xmax, const G4String &unitName="none", const G4String &fcnName="none", const G4String &binSchemeName="linear")=0 |
virtual G4int | CreateH1 (const G4String &name, const G4String &title, const std::vector< G4double > &edges, const G4String &unitName="none", const G4String &fcnName="none")=0 |
virtual G4bool | SetH1 (G4int id, G4int nbins, G4double xmin, G4double xmax, const G4String &unitName="none", const G4String &fcnName="none", const G4String &binSchemeName="linear")=0 |
virtual G4bool | SetH1 (G4int id, const std::vector< G4double > &edges, const G4String &unitName="none", const G4String &fcnName="none")=0 |
virtual G4bool | ScaleH1 (G4int id, G4double factor)=0 |
virtual G4bool | FillH1 (G4int id, G4double value, G4double weight=1.0)=0 |
virtual G4int | GetH1Id (const G4String &name, G4bool warn=true) const =0 |
virtual G4int | GetH1Nbins (G4int id) const =0 |
virtual G4double | GetH1Xmin (G4int id) const =0 |
virtual G4double | GetH1Xmax (G4int id) const =0 |
virtual G4double | GetH1Width (G4int id) const =0 |
virtual G4bool | SetH1Title (G4int id, const G4String &title)=0 |
virtual G4bool | SetH1XAxisTitle (G4int id, const G4String &title)=0 |
virtual G4bool | SetH1YAxisTitle (G4int id, const G4String &title)=0 |
virtual G4String | GetH1Title (G4int id) const =0 |
virtual G4String | GetH1XAxisTitle (G4int id) const =0 |
virtual G4String | GetH1YAxisTitle (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::h1d > | |
std::vector< tools::histo::h1d * >::iterator | BeginT () |
std::vector< tools::histo::h1d * >::iterator | EndT () |
std::vector< tools::histo::h1d * >::const_iterator | BeginConstT () const |
std::vector< tools::histo::h1d * >::const_iterator | EndConstT () const |
tools::histo::h1d * | GetTInFunction (G4int id, G4String functionName, G4bool warn=true, G4bool onlyIfActive=true) const |
G4int | RegisterT (tools::histo::h1d *t, const G4String &name) |
G4int | GetTId (const G4String &name, G4bool warn=true) const |
Additional Inherited Members | |
Protected Attributes inherited from G4THnManager< tools::histo::h1d > | |
const G4AnalysisManagerState & | fState |
std::vector< tools::histo::h1d * > | fTVector |
std::map< G4String, G4int > | fNameIdMap |
std::shared_ptr< G4HnManager > | fHnManager |
Definition at line 51 of file G4H1ToolsManager.hh.
|
explicit |
Definition at line 48 of file G4H1ToolsManager.cc.
|
virtual |
Definition at line 54 of file G4H1ToolsManager.cc.
Definition at line 492 of file G4H1ToolsManager.cc.
Referenced by G4CsvAnalysisReader::ReadH1Impl(), G4Hdf5AnalysisReader::ReadH1Impl(), G4RootAnalysisReader::ReadH1Impl(), and G4XmlAnalysisReader::ReadH1Impl().
void G4H1ToolsManager::AddH1Vector | ( | const std::vector< tools::histo::h1d * > & | h1Vector | ) |
Definition at line 516 of file G4H1ToolsManager.cc.
|
inline |
Definition at line 160 of file G4H1ToolsManager.hh.
|
inline |
Definition at line 153 of file G4H1ToolsManager.hh.
|
finalprotectedvirtual |
Implements G4VH1Manager.
Definition at line 231 of file G4H1ToolsManager.cc.
|
finalprotectedvirtual |
Implements G4VH1Manager.
Definition at line 199 of file G4H1ToolsManager.cc.
|
inline |
Definition at line 164 of file G4H1ToolsManager.hh.
|
inline |
Definition at line 156 of file G4H1ToolsManager.hh.
|
finalprotectedvirtual |
Implements G4VH1Manager.
Definition at line 330 of file G4H1ToolsManager.cc.
tools::histo::h1d * G4H1ToolsManager::GetH1 | ( | G4int | id, |
G4bool | warn = true , |
||
G4bool | onlyIfActive = true |
||
) | const |
Definition at line 523 of file G4H1ToolsManager.cc.
|
finalprotectedvirtual |
Implements G4VH1Manager.
Definition at line 356 of file G4H1ToolsManager.cc.
Implements G4VH1Manager.
Definition at line 362 of file G4H1ToolsManager.cc.
Implements G4VH1Manager.
Definition at line 427 of file G4H1ToolsManager.cc.
|
inline |
Definition at line 167 of file G4H1ToolsManager.hh.
Referenced by G4ToolsAnalysisManager::MergeImpl(), G4ToolsAnalysisManager::PlotImpl(), and G4GenericAnalysisManager::WriteImpl().
Implements G4VH1Manager.
Definition at line 391 of file G4H1ToolsManager.cc.
Implements G4VH1Manager.
Definition at line 437 of file G4H1ToolsManager.cc.
Implements G4VH1Manager.
Definition at line 382 of file G4H1ToolsManager.cc.
Implements G4VH1Manager.
Definition at line 371 of file G4H1ToolsManager.cc.
Implements G4VH1Manager.
Definition at line 446 of file G4H1ToolsManager.cc.
|
inlinefinalprotectedvirtual |
|
inline |
Definition at line 170 of file G4H1ToolsManager.hh.
Referenced by G4ToolsAnalysisManager::MergeImpl(), G4ToolsAnalysisManager::PlotImpl(), and G4GenericAnalysisManager::WriteImpl().
Implements G4VH1Manager.
Definition at line 321 of file G4H1ToolsManager.cc.
|
finalprotectedvirtual |
Implements G4VH1Manager.
Definition at line 290 of file G4H1ToolsManager.cc.
|
finalprotectedvirtual |
Implements G4VH1Manager.
Definition at line 259 of file G4H1ToolsManager.cc.
Implements G4VH1Manager.
Definition at line 400 of file G4H1ToolsManager.cc.
Implements G4VH1Manager.
Definition at line 409 of file G4H1ToolsManager.cc.
Implements G4VH1Manager.
Definition at line 418 of file G4H1ToolsManager.cc.
|
finalprotectedvirtual |
Implements G4VH1Manager.
Definition at line 455 of file G4H1ToolsManager.cc.