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 377 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 385 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 388 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 295 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: