Jpp
18.2.0
the software that should make you happy
|
The JMarkovPhotonTracker generates ensembles of photon paths by tracking photons from a source to a target. More...
#include <JMarkovPhotonTracker.hh>
Public Member Functions | |
JMarkovPhotonTracker () | |
standard constructor More... | |
std::vector< JPhotonPath > | trackPhotons (unsigned long int n, JSourceModel *src, JScatteringModel *sm, JTargetModel *trg, double lambda_abs) |
Track n photons. More... | |
The JMarkovPhotonTracker generates ensembles of photon paths by tracking photons from a source to a target.
The target is modelled as a sphere with finite radius r.
Random numbers are drawn from gRandom.
Definition at line 35 of file JMarkovPhotonTracker.hh.
|
inline |
std::vector< JPhotonPath > JMARKOV::JMarkovPhotonTracker::trackPhotons | ( | unsigned long int | n, |
JSourceModel * | src, | ||
JScatteringModel * | sm, | ||
JTargetModel * | trg, | ||
double | lambda_abs | ||
) |
Track n photons.
The tracks of all photons that hit the target are returned.
Definition at line 50 of file JMarkovPhotonTracker.hh.