96 Warn(
"Failed to set fileName " + fileName +
97 " for object " + info->
GetName() +
".\nFile manager is not set.",
102 if ( fileName !=
"" ) {
135 std::string_view functionName,
G4bool warn)
const
140 Warn(
fHnType +
" histogram " + to_string(
id) +
" does not exist.",
151 std::string_view functionName,
G4bool warn)
const
154 if ( ! info )
return nullptr;
156 return info->GetHnDimensionInformation(dimension);
190 if ( ! info )
return;
214 if ( ! info )
return;
217 if ( info->GetAscii() == ascii )
return;
220 info->SetAscii(ascii);
232 if ( ! info )
return;
252 if ( ! info )
return;
272 if ( ! info )
return false;
274 info->SetIsLogAxis(
kX, isLog);
283 if ( ! info )
return false;
285 info->SetIsLogAxis(
kY, isLog);
294 if ( ! info )
return false;
296 info->SetIsLogAxis(
kZ, isLog);
305 if ( ! info )
return "";
307 return info->GetName();
315 if ( ! info )
return 1.0;
325 if ( ! info )
return 1.0;
335 if ( ! info )
return 1.0;
345 if ( ! info )
return false;
347 return info->GetIsLogAxis(
kX);
355 if ( ! info )
return 1.0;
357 return info->GetIsLogAxis(
kY);
365 if ( ! info )
return 1.0;
367 return info->GetIsLogAxis(
kZ);
375 if ( ! info )
return true;
377 return info->GetActivation();
385 if ( ! info )
return false;
387 return info->GetAscii();
395 if ( ! info )
return false;
397 return info->GetPlotting();
405 if ( ! info )
return "";
407 return info->GetFileName();
void SetLockFirstId(G4bool lockFirstId)
G4HnDimensionInformation * GetHnDimensionInformation(G4int id, G4int dimension, std::string_view functionName, G4bool warn=true) const
G4bool GetPlotting(G4int id) const
void SetActivation(G4bool activation)
G4String GetFileName(G4int id) const
G4int fNofFileNameObjects
G4double GetYUnit(G4int id) const
G4int fNofPlottingObjects
std::shared_ptr< G4VFileManager > fFileManager
G4bool SetZAxisIsLog(G4int id, G4bool isLogAxis)
static constexpr std::string_view fkClass
G4bool SetYAxisIsLog(G4int id, G4bool isLogAxis)
G4String GetName(G4int id) const
G4bool SetXAxisIsLog(G4int id, G4bool isLogAxis)
G4bool IsPlotting() const
void SetFileName(G4int id, const G4String &fileName)
G4bool GetActivation(G4int id) const
G4bool GetZAxisIsLog(G4int id) const
std::vector< G4HnInformation * > fHnVector
G4bool GetXAxisIsLog(G4int id) const
void SetAscii(G4int id, G4bool ascii)
G4double GetZUnit(G4int id) const
G4bool GetYAxisIsLog(G4int id) const
void SetPlotting(G4int id, G4bool plotting)
G4HnInformation * GetHnInformation(G4int id, std::string_view functionName, G4bool warn=true) const
G4double GetXUnit(G4int id) const
G4bool GetAscii(G4int id) const
G4bool IsFileName() const
G4HnInformation * AddHnInformation(const G4String &name, G4int nofDimensions)
void Warn(const G4String &message, const std::string_view inClass, const std::string_view inFunction)
const char * name(G4int ptype)