Geant4  10.04
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Gaussian Class Reference
Inheritance diagram for Gaussian:
IFunction1D

Public Member Functions

 Gaussian (G4double maximumRadius, G4double standardDeviation)
 
G4double operator() (const G4double r) const
 Compute the value of the function. More...
 
- Public Member Functions inherited from IFunction1D
 IFunction1D ()
 
 IFunction1D (const G4double x0, const G4double x1)
 
virtual ~IFunction1D ()
 
virtual G4double getXMinimum () const
 Return the minimum allowed value of the independent variable. More...
 
virtual G4double getXMaximum () const
 Return the maximum allowed value of the independent variable. More...
 
virtual G4double integrate (const G4double x0, const G4double x1, const G4double step=-1.) const
 Integrate the function between two values. More...
 
IFunction1Dprimitive () const
 Return a pointer to the (numerical) primitive to this function. More...
 
InterpolationTableinverseCDFTable (ManipulatorFunc fWrap=0, const G4int nNodes=60) const
 Return a pointer to the inverse of the CDF of this function. More...
 

Protected Attributes

G4double theStandardDeviation
 
const G4double normalisation
 
- Protected Attributes inherited from IFunction1D
G4double xMin
 Minimum value of the independent variable. More...
 
G4double xMax
 Maximum value of the independent variable. More...
 

Additional Inherited Members

- Public Types inherited from IFunction1D
typedef G4double(*const ManipulatorFunc )(const G4double)
 Typedef to simplify the syntax of inverseCDFTable. More...
 

Constructor & Destructor Documentation

Gaussian ( G4double  maximumRadius,
G4double  standardDeviation 
)

Member Function Documentation

G4double operator() ( const G4double  x) const
virtual

Compute the value of the function.

Implements IFunction1D.

References Gaussian::normalisation, and Gaussian::theStandardDeviation.

Member Data Documentation

G4double theStandardDeviation
protected

Referenced by Gaussian::operator()().

const G4double normalisation
protected

Referenced by Gaussian::operator()().