| Jpp
    18.3.0
    the software that should make you happy | 
Implementation of the JScatteringModel interface with that combines two scattering models into one effective model. More...
#include <JScatteringModel.hh>
 
  
 | Public Member Functions | |
| JCombinedScattering (JScatteringModel *_sm1, JScatteringModel *_sm2) | |
| Constructor.  More... | |
| virtual double | getScatteringLength () | 
| 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... | |
| Protected Attributes | |
| double | a | 
| JScatteringModel * | sm1 | 
| JScatteringModel * | sm2 | 
| double | lambda_scat | 
Implementation of the JScatteringModel interface with that combines two scattering models into one effective model.
Definition at line 519 of file JScatteringModel.hh.
| 
 | inline | 
Constructor.
Note that this only copies only the pointers to the JScatteringModel instances. So if _sm1 or _sm2 are deleted or changed, it will also affect the behaviour of this instance.
Definition at line 530 of file JScatteringModel.hh.
| 
 | inlinevirtual | 
Reimplemented from JMARKOV::JScatteringModel.
Definition at line 532 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 539 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 549 of file JScatteringModel.hh.
| 
 | protected | 
Definition at line 563 of file JScatteringModel.hh.
| 
 | protected | 
Definition at line 564 of file JScatteringModel.hh.
| 
 | protected | 
Definition at line 565 of file JScatteringModel.hh.
| 
 | protectedinherited | 
Definition at line 76 of file JScatteringModel.hh.
 1.8.5
 1.8.5