#include <G4HnManager.hh>
|
| G4HnManager (const G4String &hnType, const G4AnalysisManagerState &state) |
|
virtual | ~G4HnManager () |
|
G4HnInformation * | AddHnInformation (const G4String &name, G4int nofDimensions) |
|
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 |
|
G4bool | IsPlotting () const |
|
void | SetActivation (G4bool activation) |
|
void | SetActivation (G4int id, G4bool activation) |
|
void | SetAscii (G4int id, G4bool ascii) |
|
void | SetPlotting (G4bool plotting) |
|
void | SetPlotting (G4int id, G4bool plotting) |
|
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 |
|
G4bool | GetPlotting (G4int id) const |
|
| G4BaseAnalysisManager (const G4AnalysisManagerState &state) |
|
virtual | ~G4BaseAnalysisManager () |
|
G4bool | SetFirstId (G4int firstId) |
|
void | SetLockFirstId (G4bool lockFirstId) |
|
G4int | GetFirstId () const |
|
Definition at line 43 of file G4HnManager.hh.
◆ G4HnManager()
Definition at line 36 of file G4HnManager.cc.
G4int fNofPlottingObjects
G4BaseAnalysisManager(const G4AnalysisManagerState &state)
std::vector< G4HnInformation * > fHnVector
◆ ~G4HnManager()
G4HnManager::~G4HnManager |
( |
| ) |
|
|
virtual |
Definition at line 48 of file G4HnManager.cc.
std::vector< G4HnInformation * > fHnVector
◆ AddHnInformation()
Definition at line 60 of file G4HnManager.cc.
std::vector< G4HnInformation * > fHnVector
◆ GetActivation()
Definition at line 259 of file G4HnManager.cc.
263 if ( ! info )
return true;
265 return info->GetActivation();
G4HnInformation * GetHnInformation(G4int id, G4String functionName="", G4bool warn=true) const
◆ GetAscii()
Definition at line 269 of file G4HnManager.cc.
273 if ( ! info )
return false;
275 return info->GetAscii();
G4HnInformation * GetHnInformation(G4int id, G4String functionName="", G4bool warn=true) const
◆ GetHnDimensionInformation()
Definition at line 92 of file G4HnManager.cc.
97 if ( ! hnInformation )
return 0;
99 return hnInformation->GetHnDimensionInformation(dimension);
G4HnInformation * GetHnInformation(G4int id, G4String functionName="", G4bool warn=true) const
◆ GetHnInformation()
Definition at line 70 of file G4HnManager.cc.
76 G4String inFunction =
"G4HnManager::";
77 if ( functionName.size() )
78 inFunction += functionName;
80 inFunction +=
"GetHnInformation";
82 description <<
" " <<
fHnType <<
" histogram " <<
id 83 <<
" does not exist.";
std::ostringstream G4ExceptionDescription
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
std::vector< G4HnInformation * > fHnVector
◆ GetHnType()
G4String G4HnManager::GetHnType |
( |
| ) |
const |
|
inline |
◆ GetHnVector()
const std::vector< G4HnInformation * > & G4HnManager::GetHnVector |
( |
| ) |
const |
|
inline |
Definition at line 121 of file G4HnManager.hh.
std::vector< G4HnInformation * > fHnVector
◆ GetName()
Definition at line 219 of file G4HnManager.cc.
223 if ( ! info )
return "";
225 return info->GetName();
G4HnInformation * GetHnInformation(G4int id, G4String functionName="", G4bool warn=true) const
◆ GetNofHns()
G4int G4HnManager::GetNofHns |
( |
| ) |
const |
|
inline |
Definition at line 115 of file G4HnManager.hh.
std::vector< G4HnInformation * > fHnVector
◆ GetPlotting()
Definition at line 279 of file G4HnManager.cc.
283 if ( ! info )
return false;
285 return info->GetPlotting();
G4HnInformation * GetHnInformation(G4int id, G4String functionName="", G4bool warn=true) const
◆ GetXUnit()
Definition at line 229 of file G4HnManager.cc.
233 if ( ! info )
return 1.0;
G4HnDimensionInformation * GetHnDimensionInformation(G4int id, G4int dimension, G4String functionName="", G4bool warn=true) const
◆ GetYUnit()
Definition at line 239 of file G4HnManager.cc.
243 if ( ! info )
return 1.0;
G4HnDimensionInformation * GetHnDimensionInformation(G4int id, G4int dimension, G4String functionName="", G4bool warn=true) const
◆ GetZUnit()
Definition at line 249 of file G4HnManager.cc.
253 if ( ! info )
return 1.0;
G4HnDimensionInformation * GetHnDimensionInformation(G4int id, G4int dimension, G4String functionName="", G4bool warn=true) const
◆ IsActive()
G4bool G4HnManager::IsActive |
( |
| ) |
const |
◆ IsAscii()
G4bool G4HnManager::IsAscii |
( |
| ) |
const |
◆ IsPlotting()
G4bool G4HnManager::IsPlotting |
( |
| ) |
const |
◆ SetActivation() [1/2]
void G4HnManager::SetActivation |
( |
G4bool |
activation | ) |
|
Definition at line 141 of file G4HnManager.cc.
152 if ( info->GetActivation() == activation )
continue;
155 info->SetActivation(activation);
std::vector< G4HnInformation * > fHnVector
◆ SetActivation() [2/2]
void G4HnManager::SetActivation |
( |
G4int |
id, |
|
|
G4bool |
activation |
|
) |
| |
Definition at line 121 of file G4HnManager.cc.
127 if ( ! info )
return;
130 if ( info->GetActivation() == activation )
return;
133 info->SetActivation(activation);
G4HnInformation * GetHnInformation(G4int id, G4String functionName="", G4bool warn=true) const
◆ SetAscii()
Definition at line 164 of file G4HnManager.cc.
168 if ( ! info )
return;
171 if ( info->GetAscii() == ascii )
return;
174 info->SetAscii(ascii);
G4HnInformation * GetHnInformation(G4int id, G4String functionName="", G4bool warn=true) const
◆ SetPlotting() [1/2]
void G4HnManager::SetPlotting |
( |
G4bool |
plotting | ) |
|
Definition at line 200 of file G4HnManager.cc.
207 if ( info->GetPlotting() == plotting )
continue;
210 info->SetPlotting(plotting);
G4int fNofPlottingObjects
std::vector< G4HnInformation * > fHnVector
◆ SetPlotting() [2/2]
void G4HnManager::SetPlotting |
( |
G4int |
id, |
|
|
G4bool |
plotting |
|
) |
| |
Definition at line 182 of file G4HnManager.cc.
186 if ( ! info )
return;
189 if ( info->GetPlotting() == plotting )
return;
192 info->SetPlotting(plotting);
G4int fNofPlottingObjects
G4HnInformation * GetHnInformation(G4int id, G4String functionName="", G4bool warn=true) const
◆ fHnType
◆ fHnVector
◆ fNofActiveObjects
G4int G4HnManager::fNofActiveObjects |
|
private |
◆ fNofAsciiObjects
G4int G4HnManager::fNofAsciiObjects |
|
private |
◆ fNofPlottingObjects
G4int G4HnManager::fNofPlottingObjects |
|
private |
The documentation for this class was generated from the following files: