| 
    Jpp
    master_rocky-43-ge265d140c
    
   the software that should make you happy 
   | 
 
Implementation of the JGenerator interface. More...
#include <JMarkovGenerator.hh>
  
Public Member Functions | |
| JExponentialGenerator (double _r1, double _r2, double _L) | |
| Constructor.  More... | |
| double | getWeight (JPosition3D pos) | 
| return the weight (=probability density dP/dV) for the given position.  More... | |
| JPosition3D | getPosition () | 
| Return a randomly generated position.  More... | |
| double | getR () | 
| double | getWeight (double r) | 
Protected Member Functions | |
| double | getIntegrand (double r) | 
| double | getInvertedIntegrand (double x) | 
| return value y such that getIntegrand(y) = x  More... | |
Protected Attributes | |
| double | r1 | 
| double | r2 | 
| double | L | 
| double | C | 
| double | ximin | 
| double | ximax | 
Implementation of the JGenerator interface.
Generates positions according to an exponential distribution, around the origin, i.e. with probability density
rho( vec x ) = alpha * exp(-r/l)
for given l. The minimal and maximal values of r are given by r1 and r2, respectively.
Definition at line 280 of file JMarkovGenerator.hh.
      
  | 
  inline | 
Constructor.
_r1 and _r2 are the minimal and maximal allowed value of r. _L is the length scale.
Definition at line 289 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 298 of file JMarkovGenerator.hh.
      
  | 
  inlinevirtual | 
Return a randomly generated position.
Implements JMARKOV::JGenerator.
Definition at line 302 of file JMarkovGenerator.hh.
      
  | 
  inline | 
Definition at line 309 of file JMarkovGenerator.hh.
      
  | 
  inline | 
Definition at line 316 of file JMarkovGenerator.hh.
      
  | 
  inlineprotected | 
      
  | 
  inlineprotected | 
      
  | 
  protected | 
Definition at line 354 of file JMarkovGenerator.hh.
      
  | 
  protected | 
Definition at line 355 of file JMarkovGenerator.hh.
      
  | 
  protected | 
Definition at line 356 of file JMarkovGenerator.hh.
      
  | 
  protected | 
Definition at line 357 of file JMarkovGenerator.hh.
      
  | 
  protected | 
Definition at line 358 of file JMarkovGenerator.hh.
      
  | 
  protected | 
Definition at line 359 of file JMarkovGenerator.hh.