Jpp 20.0.0-rc.2
the software that should make you happy
|
Auxiliary class to compare fit results with respect to a reference direction (e.g. true muon). More...
#include <JEvtToolkit.hh>
Public Member Functions | |
JPointing () | |
Default constructor. | |
JPointing (const JDirection3D &dir) | |
Constructor. | |
JPointing (const JFit &fit) | |
Constructor. | |
JDirection3D | getDirection () const |
Get direction. | |
double | getAngle (const JFit &fit) const |
Get angle between reference direction and fit result. | |
bool | operator() (const JFit &first, const JFit &second) const |
Comparison of fit results. | |
template<class T > | |
T | operator() (T __begin, T __end) const |
Select best fit result. | |
Protected Attributes | |
JDirection3D | dir |
Auxiliary class to compare fit results with respect to a reference direction (e.g. true muon).
The sort operation results in an ordered set of fit results with increasing angle between the reference direction and that of the fit results.
Definition at line 684 of file JReconstruction/JEvtToolkit.hh.
|
inline |
|
inline |
Constructor.
dir | reference direction |
Definition at line 698 of file JReconstruction/JEvtToolkit.hh.
|
inline |
Constructor.
fit | fit |
Definition at line 709 of file JReconstruction/JEvtToolkit.hh.
|
inline |
|
inline |
Get angle between reference direction and fit result.
fit | fit |
Definition at line 732 of file JReconstruction/JEvtToolkit.hh.
|
inline |
Select best fit result.
__begin | begin of fit results |
__end | end of fit results |
Definition at line 766 of file JReconstruction/JEvtToolkit.hh.
|
protected |
Definition at line 772 of file JReconstruction/JEvtToolkit.hh.