39 if ( fcnName !=
"none" ) {
40 if ( fcnName ==
"log" ) fcn = std::log;
41 else if ( fcnName ==
"log10") fcn = std::log10;
42 else if ( fcnName ==
"exp" ) fcn = std::exp;
46 <<
" \"" << fcnName <<
"\" function is not supported." <<
G4endl
47 <<
" " <<
"No function will be applied to histogram values.";
G4double G4FcnIdentity(G4double value)
std::ostringstream G4ExceptionDescription
G4double(* G4Fcn)(G4double)
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
G4Fcn GetFunction(const G4String &fcnName)