Geant4.10
|
#include <G4H1ToolsManager.hh>
Public Member Functions | |
G4H1ToolsManager (const G4AnalysisManagerState &state) | |
virtual | ~G4H1ToolsManager () |
void | AddH1Vector (const std::vector< tools::histo::h1d * > &h1Vector) |
G4bool | Reset () |
G4bool | IsEmpty () const |
tools::histo::h1d * | GetH1 (G4int id, G4bool warn=true, G4bool onlyIfActive=true) const |
const std::vector < tools::histo::h1d * > & | GetH1Vector () const |
const std::vector < G4HnInformation * > & | GetHnVector () const |
![]() | |
G4BaseAnalysisManager (const G4AnalysisManagerState &state) | |
virtual | ~G4BaseAnalysisManager () |
G4bool | SetFirstId (G4int firstId) |
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") |
virtual G4int | CreateH1 (const G4String &name, const G4String &title, const std::vector< G4double > &edges, const G4String &unitName="none", const G4String &fcnName="none") |
virtual G4bool | SetH1 (G4int id, G4int nbins, G4double xmin, G4double xmax, const G4String &unitName="none", const G4String &fcnName="none", const G4String &binSchemeName="linear") |
virtual G4bool | SetH1 (G4int id, const std::vector< G4double > &edges, const G4String &unitName="none", const G4String &fcnName="none") |
virtual G4bool | ScaleH1 (G4int id, G4double factor) |
virtual G4bool | FillH1 (G4int id, G4double value, G4double weight=1.0) |
virtual G4int | GetH1Id (const G4String &name, G4bool warn=true) const |
virtual G4int | GetH1Nbins (G4int id) const |
virtual G4double | GetH1Xmin (G4int id) const |
virtual G4double | GetH1Xmax (G4int id) const |
virtual G4double | GetH1Width (G4int id) const |
virtual G4bool | SetH1Title (G4int id, const G4String &title) |
virtual G4bool | SetH1XAxisTitle (G4int id, const G4String &title) |
virtual G4bool | SetH1YAxisTitle (G4int id, const G4String &title) |
virtual G4String | GetH1Title (G4int id) const |
virtual G4String | GetH1XAxisTitle (G4int id) const |
virtual G4String | GetH1YAxisTitle (G4int id) const |
virtual G4bool | WriteOnAscii (std::ofstream &output) |
![]() | |
G4VH1Manager (const G4AnalysisManagerState &state) | |
virtual | ~G4VH1Manager () |
![]() | |
void | ExceptionForHistograms (const G4String &functionName) const |
Additional Inherited Members | |
![]() | |
G4HnManager * | fHnManager |
![]() | |
const G4AnalysisManagerState & | fState |
G4int | fFirstId |
G4bool | fLockFirstId |
Definition at line 51 of file G4H1ToolsManager.hh.
G4H1ToolsManager::G4H1ToolsManager | ( | const G4AnalysisManagerState & | state | ) |
Definition at line 46 of file G4H1ToolsManager.cc.
|
virtual |
Definition at line 54 of file G4H1ToolsManager.cc.
void G4H1ToolsManager::AddH1Vector | ( | const std::vector< tools::histo::h1d * > & | h1Vector | ) |
Definition at line 577 of file G4H1ToolsManager.cc.
References G4BaseAnalysisManager::fState, G4AnalysisManagerState::GetVerboseL1(), G4AnalysisManagerState::GetVerboseL4(), and G4AnalysisVerbose::Message().
|
protectedvirtual |
Implements G4VH1Manager.
Definition at line 244 of file G4H1ToolsManager.cc.
References G4BaseAnalysisManager::fState, G4Analysis::GetBinScheme(), G4AnalysisManagerState::GetVerboseL2(), G4AnalysisManagerState::GetVerboseL4(), and G4AnalysisVerbose::Message().
|
protectedvirtual |
Implements G4VH1Manager.
Definition at line 274 of file G4H1ToolsManager.cc.
References G4BaseAnalysisManager::fState, G4AnalysisManagerState::GetVerboseL2(), G4AnalysisManagerState::GetVerboseL4(), kUserBinScheme, and G4AnalysisVerbose::Message().
|
protectedvirtual |
Implements G4VH1Manager.
Definition at line 373 of file G4H1ToolsManager.cc.
References G4VH1Manager::fHnManager, G4BaseAnalysisManager::fState, G4HnInformation::fXFcn, G4HnInformation::fXUnit, G4HnManager::GetActivation(), G4HnManager::GetHnInformation(), G4AnalysisManagerState::GetIsActivation(), G4AnalysisManagerState::GetVerboseL4(), and G4AnalysisVerbose::Message().
tools::histo::h1d * G4H1ToolsManager::GetH1 | ( | G4int | id, |
G4bool | warn = true , |
||
G4bool | onlyIfActive = true |
||
) | const |
Definition at line 618 of file G4H1ToolsManager.cc.
|
protectedvirtual |
Implements G4VH1Manager.
Definition at line 396 of file G4H1ToolsManager.cc.
References G4Exception(), and JustWarning.
Implements G4VH1Manager.
Definition at line 412 of file G4H1ToolsManager.cc.
Implements G4VH1Manager.
Definition at line 492 of file G4H1ToolsManager.cc.
|
inline |
Definition at line 153 of file G4H1ToolsManager.hh.
Implements G4VH1Manager.
Definition at line 443 of file G4H1ToolsManager.cc.
References G4VH1Manager::fHnManager, G4HnInformation::fXFcn, G4HnInformation::fXUnit, G4Exception(), G4HnManager::GetHnInformation(), and JustWarning.
Implements G4VH1Manager.
Definition at line 502 of file G4H1ToolsManager.cc.
References G4Exception(), JustWarning, and title().
Implements G4VH1Manager.
Definition at line 433 of file G4H1ToolsManager.cc.
References G4VH1Manager::fHnManager, G4HnInformation::fXFcn, G4HnInformation::fXUnit, and G4HnManager::GetHnInformation().
Implements G4VH1Manager.
Definition at line 421 of file G4H1ToolsManager.cc.
References G4VH1Manager::fHnManager, G4HnInformation::fXFcn, G4HnInformation::fXUnit, and G4HnManager::GetHnInformation().
Implements G4VH1Manager.
Definition at line 521 of file G4H1ToolsManager.cc.
References G4Exception(), JustWarning, and title().
|
inline |
Definition at line 156 of file G4H1ToolsManager.hh.
References G4VH1Manager::fHnManager, and G4HnManager::GetHnVector().
G4bool G4H1ToolsManager::IsEmpty | ( | ) | const |
Definition at line 612 of file G4H1ToolsManager.cc.
Referenced by G4XmlAnalysisManager::CloseFileImpl(), G4RootAnalysisManager::CloseFileImpl(), G4XmlAnalysisManager::WriteImpl(), and G4RootAnalysisManager::WriteImpl().
G4bool G4H1ToolsManager::Reset | ( | ) |
Definition at line 596 of file G4H1ToolsManager.cc.
Implements G4VH1Manager.
Definition at line 364 of file G4H1ToolsManager.cc.
|
protectedvirtual |
Implements G4VH1Manager.
Definition at line 302 of file G4H1ToolsManager.cc.
References G4VH1Manager::fHnManager, G4HnInformation::fName, G4BaseAnalysisManager::fState, G4Analysis::GetBinScheme(), G4HnManager::GetHnInformation(), G4AnalysisManagerState::GetVerboseL4(), G4AnalysisVerbose::Message(), and G4HnManager::SetActivation().
|
protectedvirtual |
Implements G4VH1Manager.
Definition at line 333 of file G4H1ToolsManager.cc.
References G4VH1Manager::fHnManager, G4HnInformation::fName, G4BaseAnalysisManager::fState, G4HnManager::GetHnInformation(), G4AnalysisManagerState::GetVerboseL4(), kUserBinScheme, G4AnalysisVerbose::Message(), and G4HnManager::SetActivation().
Implements G4VH1Manager.
Definition at line 463 of file G4H1ToolsManager.cc.
Implements G4VH1Manager.
Definition at line 472 of file G4H1ToolsManager.cc.
Implements G4VH1Manager.
Definition at line 482 of file G4H1ToolsManager.cc.
|
protectedvirtual |
Implements G4VH1Manager.
Definition at line 540 of file G4H1ToolsManager.cc.
References G4HnInformation::fAscii, G4BaseAnalysisManager::fFirstId, G4VH1Manager::fHnManager, G4HnInformation::fName, G4BaseAnalysisManager::fState, G4endl, G4HnManager::GetHnInformation(), G4AnalysisManagerState::GetVerboseL3(), and G4AnalysisVerbose::Message().