| 
    Jpp
    15.0.0
    
   the software that should make you happy 
   | 
 
Implementation of the JGenerator interface. More...
#include <JMarkovGenerator.hh>
  
 Public Member Functions | |
| JGaussianGenerator (double _sigma) | |
| Constructor.  More... | |
| JPosition3D | getPosition () | 
| Return a randomly generated position.  More... | |
| double | getWeight (JPosition3D pos) | 
| return the weight (=probability density dP/dV) for the given position.  More... | |
Protected Attributes | |
| const double | sigma | 
| double | C | 
Implementation of the JGenerator interface.
Generates positions according to a 3D Gaussian distribution centered around the origin.
Definition at line 364 of file JMarkovGenerator.hh.
      
  | 
  inline | 
Constructor.
The argument is the width of the gaussian.
Definition at line 370 of file JMarkovGenerator.hh.
      
  | 
  inlinevirtual | 
Return a randomly generated position.
Implements JMARKOV::JGenerator.
Definition at line 374 of file JMarkovGenerator.hh.
      
  | 
  inlinevirtual | 
return the weight (=probability density dP/dV) for the given position.
When the generator is properly normalized, the integral of this quantity over the whole space is 1.
Implements JMARKOV::JGenerator.
Definition at line 381 of file JMarkovGenerator.hh.
      
  | 
  protected | 
Definition at line 387 of file JMarkovGenerator.hh.
      
  | 
  protected | 
Definition at line 388 of file JMarkovGenerator.hh.
 1.8.5