Implementation of the JTargetModel class that represents a spherically symmetric target.
More...
#include <JScatteringModel.hh>
Implementation of the JTargetModel class that represents a spherically symmetric target.
Definition at line 366 of file JScatteringModel.hh.
◆ JIsotropicTarget()
JMARKOV::JIsotropicTarget::JIsotropicTarget |
( |
| ) |
|
|
inline |
◆ getEfficiency()
double JMARKOV::JIsotropicTarget::getEfficiency |
( |
JVersor3D |
dir | ) |
const |
|
inlinevirtual |
Return the efficiency, which is defined as the probability that a photon with the given direction hitting the target will be registered.
Note that we assume by convention that the direction is the PHOTON direction, NOT the direction that you would see the photon coming from!
By convention the highest efficiency is 1.
Implements JMARKOV::JTargetModel.
Definition at line 371 of file JScatteringModel.hh.
◆ getEffectiveArea()
virtual double JMARKOV::JTargetModel::getEffectiveArea |
( |
| ) |
|
|
inlinevirtualinherited |
Return the effective area, i.e.
the integral over the whole surface of the target, weighted by the efficiency.
Definition at line 296 of file JScatteringModel.hh.
◆ setRadius()
void JMARKOV::JTargetModel::setRadius |
( |
double |
_r | ) |
|
|
inlineinherited |
◆ getRadius()
double JMARKOV::JTargetModel::getRadius |
( |
| ) |
const |
|
inlineinherited |
◆ setPosition()
void JMARKOV::JTargetModel::setPosition |
( |
JPosition3D & |
_pos | ) |
|
|
inlineinherited |
◆ getPosition()
const JPosition3D& JMARKOV::JTargetModel::getPosition |
( |
| ) |
const |
|
inlineinherited |
◆ setDirection()
void JMARKOV::JTargetModel::setDirection |
( |
JVersor3D & |
_dir | ) |
|
|
inlineinherited |
◆ getDirection()
const JVersor3D& JMARKOV::JTargetModel::getDirection |
( |
| ) |
const |
|
inlineinherited |
double JMARKOV::JTargetModel::r |
|
protectedinherited |
◆ axis
JAxis3D JMARKOV::JTargetModel::axis |
|
protectedinherited |
The documentation for this class was generated from the following file: