Geant4_10
|
Functions | |
G4double | toDegrees (G4double radians) |
G4int | heaviside (G4int n) |
G4double | pow13 (G4double x) |
G4double | powMinus13 (G4double x) |
G4double | pow23 (G4double x) |
G4double | aSinH (G4double x) |
template<typename T > | |
G4int | sign (const T t) |
template<typename T > | |
T | max (const T t1, const T t2) |
brief Return the largest of the two arguments More... | |
template<typename T > | |
T | min (const T t1, const T t2) |
brief Return the smallest of the two arguments More... | |
G4double | gaussianCDF (const G4double x) |
Cumulative distribution function for Gaussian. More... | |
G4double | gaussianCDF (const G4double x, const G4double x0, const G4double sigma) |
Generic cumulative distribution function for Gaussian. More... | |
Variables | |
const G4double | pi = 3.14159265358979323846264338328 |
const G4double | twoPi = 2.0 * pi |
const G4double | tenPi = 10.0 * pi |
const G4double | piOverTwo = 0.5 * pi |
const G4double | oneOverSqrtTwo = 1./std::sqrt((G4double)2.) |
const G4double | oneOverSqrtThree = 1./std::sqrt((G4double)3.) |
const G4double | oneThird = 1./3. |
const G4double | twoThirds = 2./3. |
const G4double | sqrtFiveThirds = std::sqrt(5./3.) |
const G4double | sqrtThreeFifths = std::sqrt(3./5.) |
Definition at line 104 of file G4INCLGlobals.hh.
Cumulative distribution function for Gaussian.
A public-domain approximation taken from Abramowitz and Stegun. Applies to a Gaussian with mean=0 and sigma=1.
x | a Gaussian variable |
Definition at line 55 of file G4INCLGlobals.cc.
Generic cumulative distribution function for Gaussian.
A public-domain approximation taken from Abramowitz and Stegun. Applies to a generic Gaussian.
x | a Gaussian variable |
x0 | mean of the Gaussian |
sigma | standard deviation of the Gaussian |
Definition at line 68 of file G4INCLGlobals.cc.
|
inline |
brief Return the largest of the two arguments
Definition at line 116 of file G4INCLGlobals.hh.
|
inline |
brief Return the smallest of the two arguments
Definition at line 121 of file G4INCLGlobals.hh.
Definition at line 100 of file G4INCLGlobals.hh.
Definition at line 96 of file G4INCLGlobals.hh.
|
inline |
A simple sign function that allows us to port fortran code to c++ more easily.
Definition at line 111 of file G4INCLGlobals.hh.
Definition at line 77 of file G4INCLGlobals.hh.
Definition at line 76 of file G4INCLGlobals.hh.
const G4double G4INCL::Math::oneThird = 1./3. |
Definition at line 78 of file G4INCLGlobals.hh.
const G4double G4INCL::Math::pi = 3.14159265358979323846264338328 |
Definition at line 72 of file G4INCLGlobals.hh.
Definition at line 75 of file G4INCLGlobals.hh.
const G4double G4INCL::Math::sqrtFiveThirds = std::sqrt(5./3.) |
Definition at line 80 of file G4INCLGlobals.hh.
const G4double G4INCL::Math::sqrtThreeFifths = std::sqrt(3./5.) |
Definition at line 81 of file G4INCLGlobals.hh.
Definition at line 74 of file G4INCLGlobals.hh.
Definition at line 73 of file G4INCLGlobals.hh.
const G4double G4INCL::Math::twoThirds = 2./3. |
Definition at line 79 of file G4INCLGlobals.hh.