Geant4
10.01.p03
|
#include <G4HnManager.hh>
Public Member Functions | |
G4HnManager (const G4String &hnType, const G4AnalysisManagerState &state) | |
virtual | ~G4HnManager () |
void | AddH1Information (const G4String &name, const G4String &unitName, const G4String &fcnName, G4double unit, G4Fcn fx, G4BinScheme binScheme) |
void | AddH2Information (const G4String &name, const G4String &xunitName, const G4String &yunitName, const G4String &xfcnName, const G4String &yfcnName, G4double xunit, G4double yunit, G4Fcn fx, G4Fcn fy, G4BinScheme xBinScheme, G4BinScheme yBinScheme) |
void | AddH3Information (const G4String &name, const G4String &xunitName, const G4String &yunitName, const G4String &zunitName, const G4String &xfcnName, const G4String &yfcnName, const G4String &zfcnName, G4double xunit, G4double yunit, G4double zunit, G4Fcn fx, G4Fcn fy, G4Fcn fz, G4BinScheme xBinScheme, G4BinScheme yBinScheme, G4BinScheme zBinScheme) |
G4HnInformation * | GetHnInformation (G4int id, G4String functionName="", G4bool warn=true) const |
G4HnDimensionInformation * | GetHnDimensionInformation (G4int id, G4int dimension, G4String functionName="", G4bool warn=true) const |
const std::vector < G4HnInformation * > & | GetHnVector () const |
G4int | GetNofHns () const |
G4String | GetHnType () const |
G4bool | IsActive () const |
G4bool | IsAscii () const |
void | SetActivation (G4bool activation) |
void | SetActivation (G4int id, G4bool activation) |
void | SetAscii (G4int id, G4bool ascii) |
G4String | GetName (G4int id) const |
G4double | GetXUnit (G4int id) const |
G4double | GetYUnit (G4int id) const |
G4double | GetZUnit (G4int id) const |
G4bool | GetActivation (G4int id) const |
G4bool | GetAscii (G4int id) const |
Public Member Functions inherited from G4BaseAnalysisManager | |
G4BaseAnalysisManager (const G4AnalysisManagerState &state) | |
virtual | ~G4BaseAnalysisManager () |
G4bool | SetFirstId (G4int firstId) |
G4int | GetFirstId () const |
Private Attributes | |
G4String | fHnType |
G4int | fNofActiveObjects |
G4int | fNofAsciiObjects |
std::vector< G4HnInformation * > | fHnVector |
Additional Inherited Members | |
Protected Attributes inherited from G4BaseAnalysisManager | |
const G4AnalysisManagerState & | fState |
G4int | fFirstId |
G4bool | fLockFirstId |
Definition at line 43 of file G4HnManager.hh.
G4HnManager::G4HnManager | ( | const G4String & | hnType, |
const G4AnalysisManagerState & | state | ||
) |
Definition at line 33 of file G4HnManager.cc.
|
virtual |
Definition at line 44 of file G4HnManager.cc.
References fHnVector.
void G4HnManager::AddH1Information | ( | const G4String & | name, |
const G4String & | unitName, | ||
const G4String & | fcnName, | ||
G4double | unit, | ||
G4Fcn | fx, | ||
G4BinScheme | binScheme | ||
) |
Definition at line 57 of file G4HnManager.cc.
References G4HnInformation::AddHnDimensionInformation(), fHnVector, and fNofActiveObjects.
Referenced by G4H1ToolsManager::AddH1Information().
void G4HnManager::AddH2Information | ( | const G4String & | name, |
const G4String & | xunitName, | ||
const G4String & | yunitName, | ||
const G4String & | xfcnName, | ||
const G4String & | yfcnName, | ||
G4double | xunit, | ||
G4double | yunit, | ||
G4Fcn | fx, | ||
G4Fcn | fy, | ||
G4BinScheme | xBinScheme, | ||
G4BinScheme | yBinScheme | ||
) |
Definition at line 73 of file G4HnManager.cc.
References G4HnInformation::AddHnDimensionInformation(), fHnVector, and fNofActiveObjects.
Referenced by G4H2ToolsManager::AddH2Information(), and G4P1ToolsManager::AddP1Information().
void G4HnManager::AddH3Information | ( | const G4String & | name, |
const G4String & | xunitName, | ||
const G4String & | yunitName, | ||
const G4String & | zunitName, | ||
const G4String & | xfcnName, | ||
const G4String & | yfcnName, | ||
const G4String & | zfcnName, | ||
G4double | xunit, | ||
G4double | yunit, | ||
G4double | zunit, | ||
G4Fcn | fx, | ||
G4Fcn | fy, | ||
G4Fcn | fz, | ||
G4BinScheme | xBinScheme, | ||
G4BinScheme | yBinScheme, | ||
G4BinScheme | zBinScheme | ||
) |
Definition at line 95 of file G4HnManager.cc.
References G4HnInformation::AddHnDimensionInformation(), fHnVector, and fNofActiveObjects.
Referenced by G4H3ToolsManager::AddH3Information(), and G4P2ToolsManager::AddP2Information().
Definition at line 270 of file G4HnManager.cc.
References G4HnInformation::GetActivation(), and GetHnInformation().
Referenced by G4H1ToolsManager::FillH1(), G4H2ToolsManager::FillH2(), G4H3ToolsManager::FillH3(), G4P1ToolsManager::FillP1(), G4P2ToolsManager::FillP2(), G4H1ToolsManager::GetH1InFunction(), G4H2ToolsManager::GetH2InFunction(), G4H3ToolsManager::GetH3InFunction(), G4P1ToolsManager::GetP1InFunction(), and G4P2ToolsManager::GetP2InFunction().
Definition at line 280 of file G4HnManager.cc.
References G4HnInformation::GetAscii(), and GetHnInformation().
G4HnDimensionInformation * G4HnManager::GetHnDimensionInformation | ( | G4int | id, |
G4int | dimension, | ||
G4String | functionName = "" , |
||
G4bool | warn = true |
||
) | const |
Definition at line 145 of file G4HnManager.cc.
References G4HnInformation::GetHnDimensionInformation(), and GetHnInformation().
Referenced by G4H1ToolsManager::FillH1(), G4H2ToolsManager::FillH2(), G4H3ToolsManager::FillH3(), G4P1ToolsManager::FillP1(), G4P2ToolsManager::FillP2(), GetXUnit(), GetYUnit(), and GetZUnit().
G4HnInformation * G4HnManager::GetHnInformation | ( | G4int | id, |
G4String | functionName = "" , |
||
G4bool | warn = true |
||
) | const |
Definition at line 123 of file G4HnManager.cc.
References G4BaseAnalysisManager::fFirstId, fHnType, fHnVector, G4Exception(), and JustWarning.
Referenced by GetActivation(), GetAscii(), GetHnDimensionInformation(), GetName(), SetActivation(), SetAscii(), G4H1ToolsManager::SetH1(), G4H2ToolsManager::SetH2(), G4H3ToolsManager::SetH3(), G4P1ToolsManager::SetP1(), G4P2ToolsManager::SetP2(), and G4H1ToolsManager::WriteOnAscii().
|
inline |
Definition at line 131 of file G4HnManager.hh.
References fHnType.
Referenced by G4HnMessenger::GetCmdDirectoryName(), and G4HnMessenger::GetHnDescription().
|
inline |
Definition at line 134 of file G4HnManager.hh.
References fHnVector.
Referenced by G4H2ToolsManager::GetHnVector(), G4P2ToolsManager::GetHnVector(), G4H3ToolsManager::GetHnVector(), G4P1ToolsManager::GetHnVector(), and G4H1ToolsManager::GetHnVector().
Definition at line 227 of file G4HnManager.cc.
References GetHnInformation(), and G4HnInformation::GetName().
|
inline |
Definition at line 128 of file G4HnManager.hh.
References fHnVector.
Referenced by G4VAnalysisReader::GetNofH1s(), G4VAnalysisManager::GetNofH1s(), G4VAnalysisReader::GetNofH2s(), G4VAnalysisManager::GetNofH2s(), G4VAnalysisReader::GetNofH3s(), G4VAnalysisManager::GetNofH3s(), G4VAnalysisReader::GetNofP1s(), G4VAnalysisManager::GetNofP1s(), G4VAnalysisReader::GetNofP2s(), and G4VAnalysisManager::GetNofP2s().
Definition at line 237 of file G4HnManager.cc.
References G4HnDimensionInformation::fUnit, GetHnDimensionInformation(), and G4HnInformation::kX.
Definition at line 248 of file G4HnManager.cc.
References G4HnDimensionInformation::fUnit, GetHnDimensionInformation(), and G4HnInformation::kY.
Definition at line 259 of file G4HnManager.cc.
References G4HnDimensionInformation::fUnit, GetHnDimensionInformation(), and G4HnInformation::kZ.
G4bool G4HnManager::IsActive | ( | ) | const |
Definition at line 156 of file G4HnManager.cc.
References fNofActiveObjects.
Referenced by G4VAnalysisManager::IsActive().
G4bool G4HnManager::IsAscii | ( | ) | const |
Definition at line 162 of file G4HnManager.cc.
References fNofAsciiObjects.
Referenced by G4VAnalysisManager::IsAscii(), G4H2ToolsManager::WriteOnAscii(), G4P2ToolsManager::WriteOnAscii(), and G4H3ToolsManager::WriteOnAscii().
void G4HnManager::SetActivation | ( | G4bool | activation | ) |
Definition at line 188 of file G4HnManager.cc.
References fHnVector, fNofActiveObjects, G4HnInformation::GetActivation(), and G4HnInformation::SetActivation().
Referenced by G4H1ToolsManager::SetH1(), G4VAnalysisManager::SetH1Activation(), G4H2ToolsManager::SetH2(), G4VAnalysisManager::SetH2Activation(), G4H3ToolsManager::SetH3(), G4VAnalysisManager::SetH3Activation(), G4HnMessenger::SetNewValue(), G4P1ToolsManager::SetP1(), G4VAnalysisManager::SetP1Activation(), G4P2ToolsManager::SetP2(), and G4VAnalysisManager::SetP2Activation().
Definition at line 168 of file G4HnManager.cc.
References fNofActiveObjects, G4HnInformation::GetActivation(), GetHnInformation(), and G4HnInformation::SetActivation().
Definition at line 209 of file G4HnManager.cc.
References fNofAsciiObjects, G4HnInformation::GetAscii(), GetHnInformation(), and G4HnInformation::SetAscii().
Referenced by G4VAnalysisManager::SetH1Ascii(), G4VAnalysisManager::SetH2Ascii(), G4VAnalysisManager::SetH3Ascii(), G4HnMessenger::SetNewValue(), G4VAnalysisManager::SetP1Ascii(), and G4VAnalysisManager::SetP2Ascii().
|
private |
Definition at line 120 of file G4HnManager.hh.
Referenced by GetHnInformation(), and GetHnType().
|
private |
Definition at line 125 of file G4HnManager.hh.
Referenced by AddH1Information(), AddH2Information(), AddH3Information(), GetHnInformation(), GetHnVector(), GetNofHns(), SetActivation(), and ~G4HnManager().
|
private |
Definition at line 121 of file G4HnManager.hh.
Referenced by AddH1Information(), AddH2Information(), AddH3Information(), IsActive(), and SetActivation().
|
private |
Definition at line 122 of file G4HnManager.hh.
Referenced by IsAscii(), and SetAscii().