Jpp
19.0.0
the software that should make you happy
|
Implementation of the JTargetModel class that represents a directed target with a cos(theta) acceptance. More...
#include <JScatteringModel.hh>
Public Member Functions | |
JCosineTarget (JVersor3D _target_dir) | |
Constructor. More... | |
double | getEfficiency (JVersor3D dir) const |
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 | |
JVersor3D | target_dir |
double | r |
JAxis3D | axis |
Implementation of the JTargetModel class that represents a directed target with a cos(theta) acceptance.
Definition at line 378 of file JScatteringModel.hh.
|
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.
|
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.
|
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.
|
inlineinherited |
Definition at line 299 of file JScatteringModel.hh.
|
inlineinherited |
Definition at line 302 of file JScatteringModel.hh.
|
inlineinherited |
Definition at line 304 of file JScatteringModel.hh.
|
inlineinherited |
Definition at line 305 of file JScatteringModel.hh.
|
inlineinherited |
Definition at line 307 of file JScatteringModel.hh.
|
inlineinherited |
Definition at line 308 of file JScatteringModel.hh.
|
protected |
Definition at line 395 of file JScatteringModel.hh.
|
protectedinherited |
Definition at line 312 of file JScatteringModel.hh.
|
protectedinherited |
Definition at line 313 of file JScatteringModel.hh.