Jpp
18.0.1-rc.2
the software that should make you happy
|
Virtual base class for a scattering model. More...
#include <JScatteringModel.hh>
Public Member Functions | |
JScatteringModel () | |
virtual | ~JScatteringModel () |
virtual double | getScatteringProbability (double ct)=0 |
Return the probability density as a function of cos(theta) More... | |
virtual JVersor3D | generateDirection ()=0 |
Return a randomly generated direction according to the scattering probability distribution. More... | |
virtual double | getScatteringLength () |
Protected Attributes | |
double | lambda_scat |
Virtual base class for a scattering model.
Definition at line 45 of file JScatteringModel.hh.
|
inline |
Definition at line 49 of file JScatteringModel.hh.
|
inlinevirtual |
Definition at line 52 of file JScatteringModel.hh.
|
pure virtual |
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.
Implemented in JMARKOV::JCombinedScattering, JMARKOV::JRayleighScattering, JMARKOV::JIsotropicScattering, and JMARKOV::JHenyeyGreensteinScattering.
|
pure virtual |
Return a randomly generated direction according to the scattering probability distribution.
This uses gRandom.
Implemented in JMARKOV::JCombinedScattering, JMARKOV::JRayleighScattering, JMARKOV::JIsotropicScattering, and JMARKOV::JHenyeyGreensteinScattering.
|
inlinevirtual |
|
protected |
Definition at line 76 of file JScatteringModel.hh.