| 
    Jpp 19.3.0-rc.2
    
   the software that should make you happy 
   | 
 
Implementation of the JScatteringModel interface with Rayleigh scattering. More...
#include <JScatteringModel.hh>
  
Public Member Functions | |
| JRayleighScattering (double _lambda_scat, double _a) | |
| Constructor.   | |
| double | getScatteringProbability (double ct) | 
| Return the probability density as a function of cos(theta)   | |
| JVersor3D | generateDirection () | 
| Return a randomly generated direction according to the scattering probability distribution.   | |
| virtual double | getScatteringLength () | 
Protected Attributes | |
| double | a | 
| double | lambda_scat | 
Implementation of the JScatteringModel interface with Rayleigh scattering.
Definition at line 472 of file JScatteringModel.hh.
      
  | 
  inline | 
Constructor.
note that one should never set a<0
Definition at line 481 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 490 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 495 of file JScatteringModel.hh.
      
  | 
  inlinevirtualinherited | 
      
  | 
  protected | 
Definition at line 512 of file JScatteringModel.hh.
      
  | 
  protectedinherited | 
Definition at line 76 of file JScatteringModel.hh.