Implementation of the JTargetModel class that represents a single PMT on a DOM.
More...
#include <JScatteringModel.hh>
Implementation of the JTargetModel class that represents a single PMT on a DOM.
Definition at line 320 of file JScatteringModel.hh.
JMARKOV::JPMTTarget::JPMTTarget |
( |
JAxis3D |
_axis, |
|
|
double |
_alpha, |
|
|
double |
_r = 0.2159 |
|
) |
| |
|
inline |
Constructor.
_r is DOM radius, default = 0.2159 [m] (=17 inch diameter glass sphere)
_alpha is the opening angle in radians
Definition at line 330 of file JScatteringModel.hh.
336 ctmin = cos(0.5*_alpha) ;
void setRadius(double _r)
double JMARKOV::JPMTTarget::getOpeningAngle |
( |
| ) |
const |
|
inline |
double JMARKOV::JPMTTarget::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 342 of file JScatteringModel.hh.
const JDirection3D & getDirection() const
Get direction.
double getDot(const JAngle3D &angle) const
Get dot product.
double JMARKOV::JPMTTarget::getEffectiveArea |
( |
| ) |
const |
|
inline |
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.
void JMARKOV::JTargetModel::setRadius |
( |
double |
_r | ) |
|
|
inlineinherited |
double JMARKOV::JTargetModel::getRadius |
( |
| ) |
const |
|
inlineinherited |
void JMARKOV::JTargetModel::setPosition |
( |
JPosition3D & |
_pos | ) |
|
|
inlineinherited |
const JPosition3D& JMARKOV::JTargetModel::getPosition |
( |
| ) |
const |
|
inlineinherited |
void JMARKOV::JTargetModel::setDirection |
( |
JVersor3D & |
_dir | ) |
|
|
inlineinherited |
const JVersor3D& JMARKOV::JTargetModel::getDirection |
( |
| ) |
const |
|
inlineinherited |
double JMARKOV::JPMTTarget::ctmin |
double JMARKOV::JPMTTarget::alpha |
|
protected |
double JMARKOV::JTargetModel::r |
|
protectedinherited |
JAxis3D JMARKOV::JTargetModel::axis |
|
protectedinherited |
The documentation for this class was generated from the following file: