Jpp
16.0.0-rc.1
the software that should make you happy
|
Virtual base class for a light detector ("photon target"). More...
#include <JScatteringModel.hh>
Public Member Functions | |
JTargetModel () | |
virtual | ~JTargetModel () |
virtual double | getEfficiency (JVersor3D dir) const =0 |
Return the efficiency, which is defined as the probability that a photon with the given direction hitting the target will be registered. More... | |
virtual double | getEffectiveArea () |
Return the effective area, i.e. More... | |
void | setRadius (double _r) |
double | getRadius () const |
void | setPosition (JPosition3D &_pos) |
const JPosition3D & | getPosition () const |
void | setDirection (JVersor3D &_dir) |
const JVersor3D & | getDirection () const |
Protected Attributes | |
double | r |
JAxis3D | axis |
Virtual base class for a light detector ("photon target").
Definition at line 269 of file JScatteringModel.hh.
|
inline |
Definition at line 272 of file JScatteringModel.hh.
|
inlinevirtual |
Definition at line 276 of file JScatteringModel.hh.
|
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.
|
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.
|
inline |
Definition at line 298 of file JScatteringModel.hh.
|
inline |
Definition at line 301 of file JScatteringModel.hh.
|
inline |
Definition at line 303 of file JScatteringModel.hh.
|
inline |
Definition at line 304 of file JScatteringModel.hh.
|
inline |
Definition at line 306 of file JScatteringModel.hh.
|
inline |
Definition at line 307 of file JScatteringModel.hh.
|
protected |
Definition at line 311 of file JScatteringModel.hh.
|
protected |
Definition at line 312 of file JScatteringModel.hh.