| 
    Jpp 19.3.0-rc.2
    
   the software that should make you happy 
   | 
 
Implementation of the JSourceModel class that represents an isotropic source. More...
#include <JScatteringModel.hh>
  
Public Member Functions | |
| JIsotropicSource () | |
| double | getEmissionProbability (JVersor3D dir) | 
| Return the probability density.   | |
| JVersor3D | generateDirection () | 
| Return a randomly generated direction according to the emission distribution.   | |
| void | setPosition (JPosition3D &_pos) | 
| const JPosition3D & | getPosition () const | 
Protected Attributes | |
| JPosition3D | pos | 
Implementation of the JSourceModel class that represents an isotropic source.
Definition at line 120 of file JScatteringModel.hh.
      
  | 
  inline | 
Definition at line 123 of file JScatteringModel.hh.
      
  | 
  inlinevirtual | 
Return the probability density.
dP / dOmega = dP / dCosTheta dPhi
that a photon from this source is emitted in a given direction, given that a photon is emitted.
Implements JMARKOV::JSourceModel.
Definition at line 125 of file JScatteringModel.hh.
      
  | 
  inlinevirtual | 
Return a randomly generated direction according to the emission distribution.
This uses gRandom.
Implements JMARKOV::JSourceModel.
Definition at line 129 of file JScatteringModel.hh.
      
  | 
  inlineinherited | 
Definition at line 107 of file JScatteringModel.hh.
      
  | 
  inlineinherited | 
Definition at line 109 of file JScatteringModel.hh.
      
  | 
  protectedinherited | 
Definition at line 113 of file JScatteringModel.hh.