Geant4
10.02.p02
|
#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 |
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 |
Protected Member Functions inherited from G4THnManager< tools::histo::h1d > | |
void | AddTVector (const std::vector< tools::histo::h1d * > &tVector) |
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 |
Private Member Functions | |
void | AddH1Information (const G4String &name, const G4String &unitName, const G4String &fcnName, G4BinScheme binScheme) const |
Static Private Attributes | |
static const G4int | kDimension = 1 |
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 52 of file G4H1ToolsManager.hh.
|
explicit |
Definition at line 49 of file G4H1ToolsManager.cc.
|
virtual |
Definition at line 55 of file G4H1ToolsManager.cc.
Definition at line 493 of file G4H1ToolsManager.cc.
References AddH1Information(), G4THnManager< tools::histo::h1d >::fState, G4AnalysisManagerState::GetVerboseL2(), G4AnalysisManagerState::GetVerboseL4(), kLinear, G4AnalysisVerbose::Message(), and G4THnManager< tools::histo::h1d >::RegisterT().
Referenced by G4CsvAnalysisReader::ReadH1Impl(), G4XmlAnalysisReader::ReadH1Impl(), and G4RootAnalysisReader::ReadH1Impl().
|
private |
Definition at line 186 of file G4H1ToolsManager.cc.
References G4HnInformation::AddDimension(), G4THnManager< tools::histo::h1d >::fHnManager, and kDimension.
Referenced by AddH1(), and CreateH1().
void G4H1ToolsManager::AddH1Vector | ( | const std::vector< tools::histo::h1d * > & | h1Vector | ) |
Definition at line 517 of file G4H1ToolsManager.cc.
References G4THnManager< tools::histo::h1d >::AddTVector().
Referenced by G4XmlAnalysisManager::WriteH1(), G4CsvAnalysisManager::WriteH1(), and G4RootAnalysisManager::WriteH1().
|
inline |
Definition at line 161 of file G4H1ToolsManager.hh.
References G4THnManager< tools::histo::h1d >::BeginConstT().
|
inline |
Definition at line 154 of file G4H1ToolsManager.hh.
References G4THnManager< tools::histo::h1d >::BeginT().
|
finalprotectedvirtual |
Implements G4VH1Manager.
Definition at line 200 of file G4H1ToolsManager.cc.
References AddH1Information(), G4THnManager< tools::histo::h1d >::fState, G4Analysis::GetBinScheme(), G4AnalysisManagerState::GetVerboseL2(), G4AnalysisManagerState::GetVerboseL4(), G4AnalysisVerbose::Message(), and G4THnManager< tools::histo::h1d >::RegisterT().
|
finalprotectedvirtual |
Implements G4VH1Manager.
Definition at line 232 of file G4H1ToolsManager.cc.
References AddH1Information(), G4THnManager< tools::histo::h1d >::fState, G4AnalysisManagerState::GetVerboseL2(), G4AnalysisManagerState::GetVerboseL4(), kUser, G4AnalysisVerbose::Message(), and G4THnManager< tools::histo::h1d >::RegisterT().
|
inline |
Definition at line 165 of file G4H1ToolsManager.hh.
References G4THnManager< tools::histo::h1d >::EndConstT().
|
inline |
Definition at line 157 of file G4H1ToolsManager.hh.
References G4THnManager< tools::histo::h1d >::EndT().
|
finalprotectedvirtual |
Implements G4VH1Manager.
Definition at line 331 of file G4H1ToolsManager.cc.
References G4THnManager< tools::histo::h1d >::fHnManager, G4THnManager< tools::histo::h1d >::fState, G4AnalysisManagerState::GetIsActivation(), G4THnManager< tools::histo::h1d >::GetTInFunction(), G4AnalysisManagerState::GetVerboseL4(), G4Analysis::kX, and G4AnalysisVerbose::Message().
tools::histo::h1d * G4H1ToolsManager::GetH1 | ( | G4int | id, |
G4bool | warn = true , |
||
G4bool | onlyIfActive = true |
||
) | const |
Definition at line 524 of file G4H1ToolsManager.cc.
References G4THnManager< tools::histo::h1d >::GetTInFunction().
|
finalprotectedvirtual |
Implements G4VH1Manager.
Definition at line 357 of file G4H1ToolsManager.cc.
References G4THnManager< tools::histo::h1d >::GetTId().
Implements G4VH1Manager.
Definition at line 363 of file G4H1ToolsManager.cc.
References G4Analysis::GetNbins(), G4THnManager< tools::histo::h1d >::GetTInFunction(), and G4Analysis::kX.
Implements G4VH1Manager.
Definition at line 428 of file G4H1ToolsManager.cc.
References G4THnManager< tools::histo::h1d >::GetTInFunction(), and G4Analysis::GetTitle().
|
inline |
Definition at line 168 of file G4H1ToolsManager.hh.
References G4THnManager< tools::histo::h1d >::fTVector.
Referenced by G4ToolsAnalysisManager::MergeImpl(), G4ToolsAnalysisManager::PlotImpl(), G4XmlAnalysisManager::WriteH1(), G4CsvAnalysisManager::WriteH1(), and G4RootAnalysisManager::WriteH1().
Implements G4VH1Manager.
Definition at line 392 of file G4H1ToolsManager.cc.
References G4THnManager< tools::histo::h1d >::fHnManager, G4THnManager< tools::histo::h1d >::GetTInFunction(), G4Analysis::GetWidth(), and G4Analysis::kX.
Implements G4VH1Manager.
Definition at line 438 of file G4H1ToolsManager.cc.
References G4THnManager< tools::histo::h1d >::fHnManager, G4Analysis::GetAxisTitle(), G4THnManager< tools::histo::h1d >::GetTInFunction(), and G4Analysis::kX.
Implements G4VH1Manager.
Definition at line 383 of file G4H1ToolsManager.cc.
References G4Analysis::GetMax(), G4THnManager< tools::histo::h1d >::GetTInFunction(), and G4Analysis::kX.
Implements G4VH1Manager.
Definition at line 372 of file G4H1ToolsManager.cc.
References G4Analysis::GetMin(), G4THnManager< tools::histo::h1d >::GetTInFunction(), and G4Analysis::kX.
Implements G4VH1Manager.
Definition at line 447 of file G4H1ToolsManager.cc.
References G4THnManager< tools::histo::h1d >::fHnManager, G4Analysis::GetAxisTitle(), G4THnManager< tools::histo::h1d >::GetTInFunction(), and G4Analysis::kY.
|
inlinefinalprotectedvirtual |
Implements G4VH1Manager.
Definition at line 174 of file G4H1ToolsManager.hh.
References G4THnManager< tools::histo::h1d >::fHnManager.
|
inline |
Definition at line 171 of file G4H1ToolsManager.hh.
References G4THnManager< tools::histo::h1d >::fHnManager.
Referenced by G4ToolsAnalysisManager::MergeImpl(), G4ToolsAnalysisManager::PlotImpl(), G4XmlAnalysisManager::WriteH1(), G4CsvAnalysisManager::WriteH1(), and G4RootAnalysisManager::WriteH1().
Implements G4VH1Manager.
Definition at line 322 of file G4H1ToolsManager.cc.
References G4THnManager< tools::histo::h1d >::GetTInFunction().
|
finalprotectedvirtual |
Implements G4VH1Manager.
Definition at line 260 of file G4H1ToolsManager.cc.
References G4THnManager< tools::histo::h1d >::fHnManager, G4THnManager< tools::histo::h1d >::fState, G4Analysis::GetBinScheme(), G4THnManager< tools::histo::h1d >::GetTInFunction(), G4AnalysisManagerState::GetVerboseL4(), and G4AnalysisVerbose::Message().
|
finalprotectedvirtual |
Implements G4VH1Manager.
Definition at line 291 of file G4H1ToolsManager.cc.
References G4THnManager< tools::histo::h1d >::fHnManager, G4THnManager< tools::histo::h1d >::fState, G4THnManager< tools::histo::h1d >::GetTInFunction(), G4AnalysisManagerState::GetVerboseL4(), kUser, and G4AnalysisVerbose::Message().
Implements G4VH1Manager.
Definition at line 401 of file G4H1ToolsManager.cc.
References G4THnManager< tools::histo::h1d >::GetTInFunction(), and G4Analysis::SetTitle().
Implements G4VH1Manager.
Definition at line 410 of file G4H1ToolsManager.cc.
References G4THnManager< tools::histo::h1d >::GetTInFunction(), G4Analysis::kX, and G4Analysis::SetAxisTitle().
Implements G4VH1Manager.
Definition at line 419 of file G4H1ToolsManager.cc.
References G4THnManager< tools::histo::h1d >::GetTInFunction(), G4Analysis::kY, and G4Analysis::SetAxisTitle().
|
finalprotectedvirtual |
Implements G4VH1Manager.
Definition at line 456 of file G4H1ToolsManager.cc.
References G4THnManager< tools::histo::h1d >::fHnManager, G4THnManager< tools::histo::h1d >::fState, G4THnManager< tools::histo::h1d >::fTVector, G4endl, G4AnalysisManagerState::GetVerboseL3(), and G4AnalysisVerbose::Message().
|
staticprivate |
Definition at line 149 of file G4H1ToolsManager.hh.
Referenced by AddH1Information().