Virtual base class for a light detector ("photon target").
More...
#include <JScatteringModel.hh>
Virtual base class for a light detector ("photon target").
Definition at line 269 of file JScatteringModel.hh.
◆ JTargetModel()
JMARKOV::JTargetModel::JTargetModel |
( |
| ) |
|
|
inline |
◆ ~JTargetModel()
virtual JMARKOV::JTargetModel::~JTargetModel |
( |
| ) |
|
|
inlinevirtual |
◆ getEfficiency()
virtual double JMARKOV::JTargetModel::getEfficiency |
( |
JVersor3D | dir | ) |
const |
|
pure virtual |
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.
Implemented in JMARKOV::JCosineTarget, JMARKOV::JIsotropicTarget, and JMARKOV::JPMTTarget.
◆ getEffectiveArea()
virtual double JMARKOV::JTargetModel::getEffectiveArea |
( |
| ) |
|
|
inlinevirtual |
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 | ) |
|
|
inline |
◆ getRadius()
double JMARKOV::JTargetModel::getRadius |
( |
| ) |
const |
|
inline |
◆ setPosition()
void JMARKOV::JTargetModel::setPosition |
( |
JPosition3D & | _pos | ) |
|
|
inline |
◆ getPosition()
const JPosition3D & JMARKOV::JTargetModel::getPosition |
( |
| ) |
const |
|
inline |
◆ setDirection()
void JMARKOV::JTargetModel::setDirection |
( |
JVersor3D & | _dir | ) |
|
|
inline |
◆ getDirection()
const JVersor3D & JMARKOV::JTargetModel::getDirection |
( |
| ) |
const |
|
inline |
double JMARKOV::JTargetModel::r |
|
protected |
◆ axis
JAxis3D JMARKOV::JTargetModel::axis |
|
protected |
The documentation for this class was generated from the following file: