Implementation of the JTargetModel class that represents a directed target with a cos(theta) acceptance.
More...
#include <JScatteringModel.hh>
Implementation of the JTargetModel class that represents a directed target with a cos(theta) acceptance.
Definition at line 378 of file JScatteringModel.hh.
◆ JCosineTarget()
JMARKOV::JCosineTarget::JCosineTarget |
( |
JVersor3D |
_target_dir | ) |
|
|
inline |
Constructor.
_target_dir is the direction where the photon has the highest chance to be detected.
Definition at line 386 of file JScatteringModel.hh.
◆ getEfficiency()
double JMARKOV::JCosineTarget::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 389 of file JScatteringModel.hh.
double getDot(const JVersor3D &versor) const
Get dot product.
◆ 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 |
◆ target_dir
double JMARKOV::JTargetModel::r |
|
protectedinherited |
◆ axis
JAxis3D JMARKOV::JTargetModel::axis |
|
protectedinherited |
The documentation for this class was generated from the following file: