Jpp
|
Auxiliary class to compare fit results with respect to a reference direction (e.g. More...
#include <JEvtToolkit.hh>
Public Member Functions | |
JPointing () | |
Default constructor. More... | |
JPointing (const JVersor3D &dir) | |
Constructor. More... | |
JVersor3D | getDirection () const |
Get direction. More... | |
double | getDot (const JFit &fit) const |
Get dot product between reference direction and fit result. More... | |
double | getAngle (const JFit &fit) const |
Get angle between reference direction and fit result. More... | |
bool | operator() (const JFit &first, const JFit &second) const |
Comparison of fit results. More... | |
template<class T > | |
T | operator() (T __begin, T __end) const |
Select best fit result. More... | |
Protected Attributes | |
JVersor3D | 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 586 of file JEvtToolkit.hh.
|
inline |
|
inline |
|
inline |
|
inline |
Get dot product between reference direction and fit result.
fit | fit |
Definition at line 623 of file JEvtToolkit.hh.
|
inline |
Get angle between reference direction and fit result.
fit | fit |
Definition at line 635 of file JEvtToolkit.hh.
|
inline |
Comparison of fit results.
first | first fit |
second | second fit |
Definition at line 655 of file JEvtToolkit.hh.
Select best fit result.
__begin | begin of fit results |
__end | end of fit results |
Definition at line 669 of file JEvtToolkit.hh.
|
protected |
Definition at line 675 of file JEvtToolkit.hh.