|
Jpp test-rotations-new
the software that should make you happy
|
Class for sphericity tensor calculations. More...
#include <JEventShapeVariables.hh>
Public Types | |
| typedef JMatrix3S::eigen_values | eigen_values |
Public Member Functions | |
| JSphericityTensor () | |
| Default constructor. | |
| JSphericityTensor (std::vector< Trk >::const_iterator __begin, std::vector< Trk >::const_iterator __end, const double r=2.0) | |
| Constructor. | |
| JSphericityTensor (const Evt &event, const double r=2.0) | |
| Constructor. | |
| const eigen_values & | getEigenValues () const |
| Get eigenvalues. | |
| double | getSphericity () const |
| Get sphericity. | |
| double | getAplanarity () const |
| Get aplanarity. | |
| double | getCircularity () const |
| Get circularity. | |
| double | getPlanarFlow () const |
| Get planar flow. | |
| double | getC () const |
| Get C-variable. | |
| double | getD () const |
| Get D-variable. | |
| void | invert () |
| Invert matrix. | |
| eigen_values | getEigenValues (const double epsilon=1e-6) const |
| Get eigen values. | |
| JMatrix3D & | setIdentity () |
| Set to identity matrix. | |
| void | set (const JMatrix3D &A) |
| Set matrix. | |
| JMatrix3D & | reset () |
| Set matrix to the null matrix. | |
| JMatrix3D & | transpose () |
| Transpose. | |
| JMatrix3D & | negate () |
| Negate matrix. | |
| JMatrix3D & | add (const JMatrix3D &A) |
| Matrix addition. | |
| JMatrix3D & | sub (const JMatrix3D &A) |
| Matrix subtraction. | |
| JMatrix3D & | mul (const double factor) |
| Scale matrix. | |
| JMatrix3D & | mul (const JMatrix3D &A, const JMatrix3D &B) |
| Matrix multiplication. | |
| JMatrix3D & | mul (const JSecond_t &object) |
| Multiply with object. | |
| JMatrix3D & | div (const double factor) |
| Scale matrix. | |
| bool | equals (const JMatrix3D &A, const double eps=std::numeric_limits< double >::min()) const |
| Equality. | |
| bool | isIdentity (const double eps=std::numeric_limits< double >::min()) const |
| Test identity. | |
| double | getDeterminant () const |
| Get determinant of matrix. | |
| void | transform (double &__x, double &__y, double &__z) const |
| Transform. | |
Static Public Member Functions | |
| static const JMatrix3D & | getInstance () |
| Get reference to unique instance of this class object. | |
| static const JMatrix3D & | getIdentity () |
| Get reference to unique instance of this class object. | |
Public Attributes | |
| double | a00 |
| double | a01 |
| double | a02 |
| double | a10 |
| double | a11 |
| double | a12 |
| double | a20 |
| double | a21 |
| double | a22 |
Private Attributes | |
| eigen_values | lambda |
| sorted eigenvalues | |
Class for sphericity tensor calculations.
The tensor is constructed following the definition in section 15.2.1 of arXiv:hep-ph/0603175v2.
Definition at line 236 of file JEventShapeVariables.hh.
Definition at line 239 of file JEventShapeVariables.hh.
|
inline |
|
inline |
Constructor.
| __begin | beginning of track data |
| __end | end of track data |
| r | the power of the momentum-dependence |
Definition at line 256 of file JEventShapeVariables.hh.
|
inline |
Constructor.
| event | event |
| r | the power of the momentum dependence |
Definition at line 301 of file JEventShapeVariables.hh.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlineinherited |
Invert matrix.
Definition at line 80 of file JMatrix3S.hh.
|
inlineinherited |
Get eigen values.
The eigen values sorted in decreasing order of absolute values.
Algorithm taken from "Eigenvalues of a symmetric 3x3 matrix"
by Oliver K. Smith; see reference.
| epsilon | precision |
Definition at line 227 of file JMatrix3S.hh.
|
inlinestaticinherited |
Get reference to unique instance of this class object.
Definition at line 78 of file JMath/JMatrix3D.hh.
|
inlineinherited |
|
inlinestaticinherited |
Get reference to unique instance of this class object.
Definition at line 106 of file JMath/JMatrix3D.hh.
|
inlineinherited |
|
inlineinherited |
Set matrix to the null matrix.
Definition at line 130 of file JMath/JMatrix3D.hh.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
Matrix multiplication.
| A | matrix |
| B | matrix |
Definition at line 241 of file JMath/JMatrix3D.hh.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
Equality.
| A | matrix |
| eps | numerical precision |
Definition at line 267 of file JMath/JMatrix3D.hh.
|
inlineinherited |
Test identity.
| eps | numerical precision |
Definition at line 288 of file JMath/JMatrix3D.hh.
|
inlineinherited |
|
inlineinherited |
Transform.
| __x | x value |
| __y | y value |
| __z | z value |
Definition at line 318 of file JMath/JMatrix3D.hh.
|
private |
sorted eigenvalues
Definition at line 387 of file JEventShapeVariables.hh.
|
inherited |
Definition at line 385 of file JMath/JMatrix3D.hh.
|
inherited |
Definition at line 385 of file JMath/JMatrix3D.hh.
|
inherited |
Definition at line 385 of file JMath/JMatrix3D.hh.
|
inherited |
Definition at line 386 of file JMath/JMatrix3D.hh.
|
inherited |
Definition at line 386 of file JMath/JMatrix3D.hh.
|
inherited |
Definition at line 386 of file JMath/JMatrix3D.hh.
|
inherited |
Definition at line 387 of file JMath/JMatrix3D.hh.
|
inherited |
Definition at line 387 of file JMath/JMatrix3D.hh.
|
inherited |
Definition at line 387 of file JMath/JMatrix3D.hh.