| 
    Jpp - the software that should make you happy
    
   | 
 
Implementation of the JGenerator interface. More...
#include <JMarkovGenerator.hh>
  
 Public Member Functions | |
| JUniformGenerator (double xmin, double ymin, double zmin, double xmax, double ymax, double zmax) | |
| Constructor.  More... | |
| JUniformGenerator (JPosition3D _posmin, JPosition3D _posmax) | |
| 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 Member Functions | |
| void | setVolume () | 
Protected Attributes | |
| JPosition3D | posmin | 
| JPosition3D | posmax | 
| double | V | 
Implementation of the JGenerator interface.
Generates positions uniformly within a rectangular cuboid,
Definition at line 60 of file JMarkovGenerator.hh.
      
  | 
  inline | 
Constructor.
The arguments are the limits of each coordinate.
Definition at line 67 of file JMarkovGenerator.hh.
      
  | 
  inline | 
Constructor.
The arguments are the 'lower left bottom' corner and the 'upper right top' corner.
Definition at line 75 of file JMarkovGenerator.hh.
      
  | 
  inlinevirtual | 
Return a randomly generated position.
Implements JMARKOV::JGenerator.
Definition at line 79 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 86 of file JMarkovGenerator.hh.
      
  | 
  inlineprotected | 
Definition at line 95 of file JMarkovGenerator.hh.
      
  | 
  protected | 
Definition at line 99 of file JMarkovGenerator.hh.
      
  | 
  protected | 
Definition at line 100 of file JMarkovGenerator.hh.
      
  | 
  protected | 
Definition at line 101 of file JMarkovGenerator.hh.
 1.8.5