| 
    Jpp
    19.1.0-rc.1
    
   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.  More... | |
| JVersor3D | generateDirection () | 
| Return a randomly generated direction according to the emission distribution.  More... | |
| 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 121 of file JScatteringModel.hh.
      
  | 
  inline | 
Definition at line 124 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 126 of file JScatteringModel.hh.
      
  | 
  inlinevirtual | 
Return a randomly generated direction according to the emission distribution.
This uses gRandom.
Implements JMARKOV::JSourceModel.
Definition at line 130 of file JScatteringModel.hh.
      
  | 
  inlineinherited | 
Definition at line 108 of file JScatteringModel.hh.
      
  | 
  inlineinherited | 
Definition at line 110 of file JScatteringModel.hh.
      
  | 
  protectedinherited | 
Definition at line 114 of file JScatteringModel.hh.