#include <TrackPropagation/RungeKutta/interface/VectorDoublet.h>
Public Types | |
typedef V1::ScalarType | Scalar1 |
typedef V2::ScalarType | Scalar2 |
Public Member Functions | |
PreciseFloatType< Scalar1, Scalar2 >::Type | dot (const VectorDoublet &v) const |
const V1 & | first () const |
template<class T> | |
VectorDoublet & | operator *= (const T &t) |
VectorDoublet & | operator+= (const VectorDoublet &v) |
VectorDoublet | operator- () const |
VectorDoublet & | operator-= (const VectorDoublet &v) |
template<class T> | |
VectorDoublet & | operator/= (const T &t) |
const V2 & | second () const |
VectorDoublet (const V1 &a, const V2 &b) | |
VectorDoublet () | |
Private Attributes | |
V1 | a_ |
V2 | b_ |
Definition at line 7 of file VectorDoublet.h.
typedef V1::ScalarType VectorDoublet< V1, V2 >::Scalar1 |
Definition at line 10 of file VectorDoublet.h.
typedef V2::ScalarType VectorDoublet< V1, V2 >::Scalar2 |
Definition at line 11 of file VectorDoublet.h.
VectorDoublet< V1, V2 >::VectorDoublet | ( | ) | [inline] |
VectorDoublet< V1, V2 >::VectorDoublet | ( | const V1 & | a, | |
const V2 & | b | |||
) | [inline] |
PreciseFloatType<Scalar1,Scalar2>::Type VectorDoublet< V1, V2 >::dot | ( | const VectorDoublet< V1, V2 > & | v | ) | const [inline] |
Definition at line 45 of file VectorDoublet.h.
References VectorDoublet< V1, V2 >::first(), and VectorDoublet< V1, V2 >::second().
const V1& VectorDoublet< V1, V2 >::first | ( | void | ) | const [inline] |
Definition at line 16 of file VectorDoublet.h.
References VectorDoublet< V1, V2 >::a_.
Referenced by VectorDoublet< V1, V2 >::dot(), operator *(), operator+(), VectorDoublet< V1, V2 >::operator+=(), operator-(), VectorDoublet< V1, V2 >::operator-=(), operator/(), CartesianState::position(), and CurvilinearState::position().
00016 {return a_;}
VectorDoublet& VectorDoublet< V1, V2 >::operator *= | ( | const T & | t | ) | [inline] |
Definition at line 33 of file VectorDoublet.h.
References VectorDoublet< V1, V2 >::a_, and VectorDoublet< V1, V2 >::b_.
VectorDoublet& VectorDoublet< V1, V2 >::operator+= | ( | const VectorDoublet< V1, V2 > & | v | ) | [inline] |
Definition at line 19 of file VectorDoublet.h.
References VectorDoublet< V1, V2 >::a_, VectorDoublet< V1, V2 >::b_, VectorDoublet< V1, V2 >::first(), and VectorDoublet< V1, V2 >::second().
VectorDoublet VectorDoublet< V1, V2 >::operator- | ( | ) | const [inline] |
Definition at line 30 of file VectorDoublet.h.
References VectorDoublet< V1, V2 >::a_, VectorDoublet< V1, V2 >::b_, and VectorDoublet< V1, V2 >::VectorDoublet().
00030 { return VectorDoublet( -a_, -b_);}
VectorDoublet& VectorDoublet< V1, V2 >::operator-= | ( | const VectorDoublet< V1, V2 > & | v | ) | [inline] |
Definition at line 24 of file VectorDoublet.h.
References VectorDoublet< V1, V2 >::a_, VectorDoublet< V1, V2 >::b_, VectorDoublet< V1, V2 >::first(), and VectorDoublet< V1, V2 >::second().
VectorDoublet& VectorDoublet< V1, V2 >::operator/= | ( | const T & | t | ) | [inline] |
Definition at line 39 of file VectorDoublet.h.
References VectorDoublet< V1, V2 >::a_, and VectorDoublet< V1, V2 >::b_.
const V2& VectorDoublet< V1, V2 >::second | ( | void | ) | const [inline] |
Definition at line 17 of file VectorDoublet.h.
References VectorDoublet< V1, V2 >::b_.
Referenced by CurvilinearState::charge(), VectorDoublet< V1, V2 >::dot(), CurvilinearState::momentum(), CartesianState::momentum(), operator *(), operator+(), VectorDoublet< V1, V2 >::operator+=(), operator-(), VectorDoublet< V1, V2 >::operator-=(), and operator/().
00017 {return b_;}
V1 VectorDoublet< V1, V2 >::a_ [private] |
Definition at line 51 of file VectorDoublet.h.
Referenced by VectorDoublet< V1, V2 >::first(), VectorDoublet< V1, V2 >::operator *=(), VectorDoublet< V1, V2 >::operator+=(), VectorDoublet< V1, V2 >::operator-(), VectorDoublet< V1, V2 >::operator-=(), and VectorDoublet< V1, V2 >::operator/=().
V2 VectorDoublet< V1, V2 >::b_ [private] |
Definition at line 52 of file VectorDoublet.h.
Referenced by VectorDoublet< V1, V2 >::operator *=(), VectorDoublet< V1, V2 >::operator+=(), VectorDoublet< V1, V2 >::operator-(), VectorDoublet< V1, V2 >::operator-=(), VectorDoublet< V1, V2 >::operator/=(), and VectorDoublet< V1, V2 >::second().