Geant4 9.6.0
Toolkit for the simulation of the passage of particles through matter
|
#include <G4INCLNDFHardSphere.hh>
Public Member Functions | |
HardSphere (const G4double rMax) | |
G4double | operator() (const G4double x) const |
Compute the value of the function. | |
Public Member Functions inherited from G4INCL::IFunction1D | |
IFunction1D () | |
IFunction1D (const G4double x0, const G4double x1) | |
virtual | ~IFunction1D () |
virtual G4double | getXMinimum () const |
Return the minimum allowed value of the independent variable. | |
virtual G4double | getXMaximum () const |
Return the maximum allowed value of the independent variable. | |
virtual G4double | operator() (const G4double x) const =0 |
Compute the value of the function. | |
virtual G4double | integrate (const G4double x0, const G4double x1, const G4double step=-1.) const |
Integrate the function between two values. | |
IFunction1D * | primitive () const |
Return a pointer to the (numerical) primitive to this function. | |
InverseInterpolationTable * | inverseCDFTable (const G4int nNodes=60) const |
Return a pointer to the inverse of the CDF of this function. | |
Protected Attributes | |
const G4double | normalisation |
Protected Attributes inherited from G4INCL::IFunction1D | |
G4double | xMin |
Minimum value of the independent variable. | |
G4double | xMax |
Maximum value of the independent variable. | |
Definition at line 58 of file G4INCLNDFHardSphere.hh.
Definition at line 60 of file G4INCLNDFHardSphere.hh.
|
inlinevirtual |
Compute the value of the function.
Implements G4INCL::IFunction1D.
Definition at line 68 of file G4INCLNDFHardSphere.hh.
Definition at line 72 of file G4INCLNDFHardSphere.hh.
Referenced by operator()().