| 
    Jpp
    master_rocky
    
   the software that should make you happy 
   | 
 
Implementation of the JScatteringModel interface with scattering according to the Henyey-Greenstein function. More...
#include <JScatteringModel.hh>
  
Public Member Functions | |
| JHenyeyGreensteinScattering (double _lambda_scat, double _g) | |
| Constructor.  More... | |
| double | getScatteringProbability (double ct) | 
| Return the probability density as a function of cos(theta)  More... | |
| JVersor3D | generateDirection () | 
| Return a randomly generated direction according to the scattering probability distribution.  More... | |
| virtual double | getScatteringLength () | 
Protected Attributes | |
| double | g | 
| double | lambda_scat | 
Implementation of the JScatteringModel interface with scattering according to the Henyey-Greenstein function.
Definition at line 403 of file JScatteringModel.hh.
      
  | 
  inline | 
Constructor.
g is a parameter that determines how forward the scattering is. g = 0 corresponds to isotropic scattering g = 1 corresponds to fully forward scattering
Definition at line 414 of file JScatteringModel.hh.
      
  | 
  inlinevirtual | 
Return the probability density as a function of cos(theta)
dP / dOmega = dP / dcosTheta dPhi
to scatter in a given direction. Theta=0 is forward scattering.
Implements JMARKOV::JScatteringModel.
Definition at line 419 of file JScatteringModel.hh.
      
  | 
  inlinevirtual | 
Return a randomly generated direction according to the scattering probability distribution.
This uses gRandom.
Implements JMARKOV::JScatteringModel.
Definition at line 425 of file JScatteringModel.hh.
      
  | 
  inlinevirtualinherited | 
      
  | 
  protected | 
Definition at line 439 of file JScatteringModel.hh.
      
  | 
  protectedinherited | 
Definition at line 77 of file JScatteringModel.hh.