| 
    Jpp
    18.0.0
    
   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 402 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 413 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 418 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 424 of file JScatteringModel.hh.
      
  | 
  inlinevirtualinherited | 
      
  | 
  protected | 
Definition at line 438 of file JScatteringModel.hh.
      
  | 
  protectedinherited | 
Definition at line 76 of file JScatteringModel.hh.
 1.8.5