|
Jpp 21.0.1
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. | |
| double | getDot (const JFit &fit) const |
| Get dot product. | |
| 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. | |
| double | getDot (const JAngle3D &angle) const |
| Get dot product. | |
| double | getDot (const JVector3D &pos) const |
| Get dot product. | |
| double | getDot (const JVersor3Z &dir) const |
| Get dot product. | |
| double | getDot (const JVersor3D &versor) const |
| Get dot product. | |
| const JDirection3D & | getDirection () const |
| Get direction. | |
| JDirection3D & | getDirection () |
| Get direction. | |
| void | setDirection (const JDirection3D &dir) |
| Set direction. | |
| operator JAngle3D () const | |
| Type conversion operator. | |
| operator JVector3D () const | |
| Type conversion operator. | |
| JDirection3D & | transform (const JMatrix3D &T) |
| Transform. | |
| JDirection3D & | rotate (const JRotation3D &R) |
| Rotate. | |
| JDirection3D & | rotate (const JRotation3X &R) |
| Rotate around X-axis. | |
| JDirection3D & | rotate (const JRotation3Y &R) |
| Rotate around Y-axis. | |
| JDirection3D & | rotate (const JRotation3Z &R) |
| Rotate around Z-axis. | |
| JDirection3D & | rotate (const JQuaternion3D &Q) |
| Rotate. | |
| JDirection3D & | rotate_back (const JRotation3D &R) |
| Rotate back. | |
| JDirection3D & | rotate_back (const JRotation3X &R) |
| Rotate back around X-axis. | |
| JDirection3D & | rotate_back (const JRotation3Y &R) |
| Rotate back around Y-axis. | |
| JDirection3D & | rotate_back (const JRotation3Z &R) |
| Rotate back around Z-axis. | |
| JDirection3D & | rotate_back (const JQuaternion3D &Q) |
| Rotate back. | |
| JVersor3D & | negate () |
| Negate versor. | |
| bool | equals (const JVersor3D &versor, const double precision=std::numeric_limits< double >::min()) const |
| Check equality. | |
| double | getDX () const |
| Get x direction. | |
| double | getDY () const |
| Get y direction. | |
| double | getDZ () const |
| Get z direction. | |
| double | getTheta () const |
| Get theta angle. | |
| double | getPhi () const |
| Get phi angle. | |
| JVersor3D & | getCross (const JVersor3D &first, const JVersor3D &second) |
| Get cross product. | |
| JVersor3D & | normalise () |
| Normalise versor. | |
| JFirst_t & | mul (const JSecond_t &object) |
| Multiply with object. | |
Protected Attributes | |
| double | __dx |
| double | __dy |
| double | __dz |
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 719 of file JReconstruction/JEvtToolkit.hh.
|
inline |
|
inline |
Constructor.
| dir | reference direction |
Definition at line 738 of file JReconstruction/JEvtToolkit.hh.
|
inline |
Constructor.
| fit | fit |
Definition at line 748 of file JReconstruction/JEvtToolkit.hh.
|
inline |
Get dot product.
| fit | fit |
Definition at line 759 of file JReconstruction/JEvtToolkit.hh.
|
inline |
Get angle between reference direction and fit result.
| fit | fit |
Definition at line 778 of file JReconstruction/JEvtToolkit.hh.
|
inline |
Comparison of fit results.
| first | first fit |
| second | second fit |
Definition at line 791 of file JReconstruction/JEvtToolkit.hh.
|
inline |
Select best fit result.
| __begin | begin of fit results |
| __end | end of fit results |
Definition at line 805 of file JReconstruction/JEvtToolkit.hh.
|
inline |
Get dot product.
| angle | angle |
Definition at line 335 of file JDirection3D.hh.
|
inline |
Get dot product.
| pos | position |
Definition at line 350 of file JDirection3D.hh.
|
inline |
Get dot product.
| dir | direction |
Definition at line 365 of file JDirection3D.hh.
|
inline |
Get dot product.
| versor | versor |
Definition at line 38 of file JVersor3D.hh.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
Transform.
| T | matrix |
Definition at line 163 of file JDirection3D.hh.
|
inlineinherited |
|
inlineinherited |
Rotate around X-axis.
| R | rotation matrix |
Definition at line 211 of file JDirection3D.hh.
|
inlineinherited |
Rotate around Y-axis.
| R | rotation matrix |
Definition at line 243 of file JDirection3D.hh.
|
inlineinherited |
Rotate around Z-axis.
| R | rotation matrix |
Definition at line 275 of file JDirection3D.hh.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
Rotate back around X-axis.
| R | rotation matrix |
Definition at line 227 of file JDirection3D.hh.
|
inlineinherited |
Rotate back around Y-axis.
| R | rotation matrix |
Definition at line 259 of file JDirection3D.hh.
|
inlineinherited |
Rotate back around Z-axis.
| R | rotation matrix |
Definition at line 291 of file JDirection3D.hh.
|
inlineinherited |
Rotate back.
| Q | quaternion |
Definition at line 321 of file JDirection3D.hh.
|
inlineinherited |
|
inlineinherited |
Check equality.
| versor | versor |
| precision | precision |
Definition at line 81 of file JVersor3D.hh.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
Get cross product.
Note that this versor should not overlap with the first or second versor,
| first | first versor |
| second | second versor |
Definition at line 173 of file JVersor3D.hh.
|
inlineinherited |
Normalise versor.
This operation may set the result to the unit z-vector.
Definition at line 192 of file JVersor3D.hh.
|
inlineinherited |
|
protectedinherited |
Definition at line 206 of file JVersor3D.hh.
|
protectedinherited |
Definition at line 207 of file JVersor3D.hh.
|
protectedinherited |
Definition at line 208 of file JVersor3D.hh.