34 #define INCLXX_IN_GEANT4_MODE 1
45 #ifndef G4INCLNDFGAUSSIAN_HH_
46 #define G4INCLNDFGAUSSIAN_HH_
53 namespace NuclearDensityFunctions {
64 return r*r*arg*std::exp(-arg/2.0);
93 #endif // G4INCLNDFGAUSSIAN_HH_
GaussianRP(G4double maximumRadius, G4double standardDeviation)
G4double operator()(const G4double r) const
Compute the value of the function.
Gaussian(G4double maximumRadius, G4double standardDeviation)
const G4double normalisation
Functor for 1-dimensional mathematical functions.
G4double operator()(const G4double r) const
Compute the value of the function.
G4double theStandardDeviation
static constexpr double pi
G4double theStandardDeviation