CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
SOAFrame< T > Class Template Reference

#include <SOARotation.h>

Public Member Functions

constexpr SOARotation< T > const & rotation () const
 
constexpr SOAFrame ()
 
constexpr SOAFrame (T ix, T iy, T iz, SOARotation< T > const &irot)
 
constexpr void toGlobal (T const vx, T const vy, T const vz, T &ux, T &uy, T &uz) const
 
constexpr void toGlobal (T const vx, T const vy, T &ux, T &uy, T &uz) const
 
constexpr void toLocal (T const vx, T const vy, T const vz, T &ux, T &uy, T &uz) const
 
constexpr T x () const
 
constexpr T y () const
 
constexpr T z () const
 

Private Attributes

T px
 
T py
 
T pz
 
SOARotation< Trot
 

Detailed Description

template<class T>
class SOAFrame< T >

Definition at line 108 of file SOARotation.h.

Constructor & Destructor Documentation

template<class T >
constexpr SOAFrame< T >::SOAFrame ( )
inline

Definition at line 112 of file SOARotation.h.

References constexpr.

112 {}
template<class T >
constexpr SOAFrame< T >::SOAFrame ( T  ix,
T  iy,
T  iz,
SOARotation< T > const &  irot 
)
inline

Definition at line 115 of file SOARotation.h.

References constexpr.

115  :
116  px(ix), py(iy), pz(iz), rot(irot){}
SOARotation< T > rot
Definition: SOARotation.h:153

Member Function Documentation

template<class T >
constexpr SOARotation<T> const& SOAFrame< T >::rotation ( void  ) const
inline

Definition at line 119 of file SOARotation.h.

References constexpr, and makeMuonMisalignmentScenario::rot.

119 { return rot; }
SOARotation< T > rot
Definition: SOARotation.h:153
template<class T >
constexpr void SOAFrame< T >::toGlobal ( T const  vx,
T const  vy,
T const  vz,
T ux,
T uy,
T uz 
) const
inline

Definition at line 129 of file SOARotation.h.

References constexpr, and makeMuonMisalignmentScenario::rot.

130  {
131  rot.multiplyInverse(vx, vy, vz, ux, uy, uz);
132  ux+=px; uy+=py; uz+=pz;
133  }
SOARotation< T > rot
Definition: SOARotation.h:153
template<class T >
constexpr void SOAFrame< T >::toGlobal ( T const  vx,
T const  vy,
T ux,
T uy,
T uz 
) const
inline

Definition at line 136 of file SOARotation.h.

References constexpr, and makeMuonMisalignmentScenario::rot.

137  {
138  rot.multiplyInverse(vx, vy, ux, uy, uz);
139  ux+=px; uy+=py; uz+=pz;
140  }
SOARotation< T > rot
Definition: SOARotation.h:153
template<class T >
constexpr void SOAFrame< T >::toLocal ( T const  vx,
T const  vy,
T const  vz,
T ux,
T uy,
T uz 
) const
inline

Definition at line 122 of file SOARotation.h.

References constexpr, and makeMuonMisalignmentScenario::rot.

123  {
124  rot.multiply(vx-px, vy-py, vz-pz, ux, uy, uz);
125  }
SOARotation< T > rot
Definition: SOARotation.h:153
template<class T >
constexpr T SOAFrame< T >::x ( ) const
inline
template<class T >
constexpr T SOAFrame< T >::y ( ) const
inline
template<class T >
constexpr T SOAFrame< T >::z ( ) const
inline

Definition at line 148 of file SOARotation.h.

Referenced by geometryXMLparser.Alignable::pos(), and ntupleDataFormat._HitObject::r3D().

148 { return pz; }

Member Data Documentation

template<class T >
T SOAFrame< T >::px
private

Definition at line 152 of file SOARotation.h.

template<class T >
T SOAFrame< T >::py
private

Definition at line 152 of file SOARotation.h.

template<class T >
T SOAFrame< T >::pz
private

Definition at line 152 of file SOARotation.h.

template<class T >
SOARotation<T> SOAFrame< T >::rot
private

Definition at line 153 of file SOARotation.h.