33 using namespace G4Analysis;
42 fNofPlottingObjects(0),
76 G4String inFunction =
"G4HnManager::";
77 if ( functionName.size() )
78 inFunction += functionName;
80 inFunction +=
"GetHnInformation";
82 description <<
" " <<
fHnType <<
" histogram " <<
id
83 <<
" does not exist.";
97 if ( ! hnInformation )
return nullptr;
99 return hnInformation->GetHnDimensionInformation(dimension);
127 if ( !
info )
return;
130 if (
info->GetActivation() == activation )
return;
133 info->SetActivation(activation);
152 if (
info->GetActivation() == activation )
continue;
155 info->SetActivation(activation);
168 if ( !
info )
return;
171 if (
info->GetAscii() == ascii )
return;
174 info->SetAscii(ascii);
186 if ( !
info )
return;
189 if (
info->GetPlotting() == plotting )
return;
192 info->SetPlotting(plotting);
207 if (
info->GetPlotting() == plotting )
continue;
210 info->SetPlotting(plotting);
223 if ( !
info )
return "";
225 return info->GetName();
233 if ( !
info )
return 1.0;
243 if ( !
info )
return 1.0;
253 if ( !
info )
return 1.0;
263 if ( !
info )
return true;
265 return info->GetActivation();
273 if ( !
info )
return false;
275 return info->GetAscii();
283 if ( !
info )
return false;
285 return info->GetPlotting();
const XML_Char XML_Encoding * info
G4String GetName(G4int id) const
std::ostringstream G4ExceptionDescription
void SetPlotting(G4bool plotting)
G4bool IsPlotting() const
G4int fNofPlottingObjects
G4double GetZUnit(G4int id) const
G4double GetYUnit(G4int id) const
void SetActivation(G4bool activation)
void SetAscii(G4int id, G4bool ascii)
G4double GetXUnit(G4int id) const
G4HnManager(const G4String &hnType, const G4AnalysisManagerState &state)
G4HnInformation * GetHnInformation(G4int id, G4String functionName="", G4bool warn=true) const
G4bool GetActivation(G4int id) const
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *description)
std::vector< G4HnInformation * > fHnVector
G4bool GetAscii(G4int id) const
G4bool GetPlotting(G4int id) const
G4HnDimensionInformation * GetHnDimensionInformation(G4int id, G4int dimension, G4String functionName="", G4bool warn=true) const
G4HnInformation * AddHnInformation(const G4String &name, G4int nofDimensions)