43 <<
" Illegal value of number of bins: nbins <= 0" <<
G4endl;
61 <<
" Illegal values of (xmin >= xmax)" <<
G4endl;
71 <<
" Illegal value of (xmin = 0) with logarithmic binning" <<
G4endl;
84 if ( edges.size() <= 1 ) {
87 <<
" Illegal edges vector (size <= 1)" <<
G4endl;
101 if ( unit !=
"none" ) {
103 if ( value == 0. ) value = 1.;
113 if ( fcnName !=
"none" ) { title +=
" "; title += fcnName; title +=
"("; }
114 if ( unitName !=
"none" ) { title +=
" ["; title += unitName; title +=
"]";}
115 if ( fcnName !=
"none" ) { title +=
")"; }
std::ostringstream G4ExceptionDescription
void UpdateTitle(G4String &title, const G4String &unitName, const G4String &fcnName)
static G4double GetValueOf(const G4String &)
G4bool CheckMinMax(G4double xmin, G4double xmax, const G4String &binSchemeName)
G4double GetUnitValue(const G4String &unit)
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
G4BinScheme GetBinScheme(const G4String &binSchemeName)
G4bool CheckNbins(G4int nbins)
G4bool CheckEdges(const std::vector< G4double > &edges)