Jpp
16.0.1
the software that should make you happy
|
Implementation of the JScatteringModel interface with isotropic scattering. More...
#include <JScatteringModel.hh>
Public Member Functions | |
JIsotropicScattering (double _lambda_scat) | |
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 | lambda_scat |
Implementation of the JScatteringModel interface with isotropic scattering.
Definition at line 446 of file JScatteringModel.hh.
|
inline |
|
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 457 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 461 of file JScatteringModel.hh.
|
inlinevirtualinherited |
|
protectedinherited |
Definition at line 76 of file JScatteringModel.hh.