CMS 3D CMS Logo

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

#include <extTkRotation.h>

Public Types

typedef Basic2DVector< TBasicVector
 
typedef Basic2DVector< TBasicVector
 
typedef Basic2DVector< TBasicVector
 
typedef Basic2DVector< TBasicVector
 

Public Member Functions

BasicVector rotate (const BasicVector &v) const
 
BasicVector rotate (const BasicVector &v) const
 
BasicVector rotate (const BasicVector &v) const
 
BasicVector rotate (const BasicVector &v) const
 
BasicVector rotateBack (const BasicVector &v) const
 
BasicVector rotateBack (const BasicVector &v) const
 
BasicVector rotateBack (const BasicVector &v) const
 
BasicVector rotateBack (const BasicVector &v) const
 
 TkRotation2D ()
 
 TkRotation2D ()
 
 TkRotation2D ()
 
 TkRotation2D ()
 
 TkRotation2D (const BasicVector &aX)
 
 TkRotation2D (const BasicVector &aX)
 
 TkRotation2D (const BasicVector &aX)
 
 TkRotation2D (const BasicVector &aX)
 
 TkRotation2D (const BasicVector &uX, const BasicVector &uY)
 
 TkRotation2D (const BasicVector &uX, const BasicVector &uY)
 
 TkRotation2D (const BasicVector &uX, const BasicVector &uY)
 
 TkRotation2D (const BasicVector &uX, const BasicVector &uY)
 
 TkRotation2D (const T *p)
 
 TkRotation2D (const T *p)
 
 TkRotation2D (const T *p)
 
 TkRotation2D (const T *p)
 
 TkRotation2D (mathSSE::Rot2< T > const &irot)
 
 TkRotation2D (mathSSE::Rot2< T > const &irot)
 
 TkRotation2D (Rot2< T > const &irot)
 
 TkRotation2D (T xx, T xy, T yx, T yy)
 
 TkRotation2D (T xx, T xy, T yx, T yy)
 
 TkRotation2D (T xx, T xy, T yx, T yy)
 
 TkRotation2D (T xx, T xy, T yx, T yy)
 
TkRotation2D transposed () const
 
TkRotation2D transposed () const
 
TkRotation2D transposed () const
 
TkRotation2D transposed () const
 
BasicVector x () const
 
BasicVector x () const
 
BasicVector x () const
 
BasicVector x () const
 
BasicVector y () const
 
BasicVector y () const
 
BasicVector y () const
 
BasicVector y () const
 

Private Attributes

BasicVector axis [2]
 
Rot2< Trot
 
mathSSE::Rot2< Trot
 

Detailed Description

template<class T>
class TkRotation2D< T >

Definition at line 14 of file extTkRotation.h.

Member Typedef Documentation

◆ BasicVector [1/4]

template<class T>
typedef Basic2DVector<T> TkRotation2D< T >::BasicVector

Definition at line 237 of file sseTkRotation.h.

◆ BasicVector [2/4]

template<class T>
typedef Basic2DVector<T> TkRotation2D< T >::BasicVector

Definition at line 300 of file oldTkRotation.h.

◆ BasicVector [3/4]

template<class T>
typedef Basic2DVector<T> TkRotation2D< T >::BasicVector

Definition at line 302 of file extTkRotation.h.

◆ BasicVector [4/4]

template<class T>
typedef Basic2DVector<T> TkRotation2D< T >::BasicVector

Definition at line 302 of file newTkRotation.h.

Constructor & Destructor Documentation

◆ TkRotation2D() [1/23]

template<class T>
TkRotation2D< T >::TkRotation2D ( )
inline

Definition at line 304 of file extTkRotation.h.

304 {}

Referenced by TkRotation2D< Scalar >::transposed().

◆ TkRotation2D() [2/23]

template<class T>
TkRotation2D< T >::TkRotation2D ( Rot2< T > const &  irot)
inline

Definition at line 305 of file extTkRotation.h.

305 : rot(irot){}

◆ TkRotation2D() [3/23]

template<class T>
TkRotation2D< T >::TkRotation2D ( T  xx,
T  xy,
T  yx,
T  yy 
)
inline

Definition at line 307 of file extTkRotation.h.

307  :
308  rot(xx,xy, yx,yy){}

◆ TkRotation2D() [4/23]

template<class T>
TkRotation2D< T >::TkRotation2D ( const T p)
inline

Definition at line 310 of file extTkRotation.h.

310  :
311  rot(p[0],p[1],
312  p[2],p[3]) {}

◆ TkRotation2D() [5/23]

template<class T>
TkRotation2D< T >::TkRotation2D ( const BasicVector aX)
inline

Definition at line 314 of file extTkRotation.h.

314  {
315 
316  BasicVector uX = aX.unit();
317  BasicVector uY(-uX.y(),uX.x());
318 
319  rot.axis[0]= uX.v;
320  rot.axis[1]= uY.v;
321 
322  }

◆ TkRotation2D() [6/23]

template<class T>
TkRotation2D< T >::TkRotation2D ( const BasicVector uX,
const BasicVector uY 
)
inline

Definition at line 325 of file extTkRotation.h.

325  {
326  rot.axis[0]= uX.v;
327  rot.axis[1]= uY.v;
328  }

◆ TkRotation2D() [7/23]

template<class T>
TkRotation2D< T >::TkRotation2D ( )
inline

Definition at line 304 of file newTkRotation.h.

304 {}

◆ TkRotation2D() [8/23]

template<class T>
TkRotation2D< T >::TkRotation2D ( mathSSE::Rot2< T > const &  irot)
inline

Definition at line 305 of file newTkRotation.h.

305 : rot(irot){}

◆ TkRotation2D() [9/23]

template<class T>
TkRotation2D< T >::TkRotation2D ( T  xx,
T  xy,
T  yx,
T  yy 
)
inline

Definition at line 307 of file newTkRotation.h.

307  :
308  rot(xx,xy, yx,yy){}

◆ TkRotation2D() [10/23]

template<class T>
TkRotation2D< T >::TkRotation2D ( const T p)
inline

Definition at line 310 of file newTkRotation.h.

310  :
311  rot(p[0],p[1],
312  p[2],p[3]) {}

◆ TkRotation2D() [11/23]

template<class T>
TkRotation2D< T >::TkRotation2D ( const BasicVector aX)
inline

Definition at line 314 of file newTkRotation.h.

314  {
315 
316  BasicVector uX = aX.unit();
317  BasicVector uY(-uX.y(),uX.x());
318 
319  rot.axis[0]= uX.v;
320  rot.axis[1]= uY.v;
321 
322  }

◆ TkRotation2D() [12/23]

template<class T>
TkRotation2D< T >::TkRotation2D ( const BasicVector uX,
const BasicVector uY 
)
inline

Definition at line 325 of file newTkRotation.h.

325  {
326  rot.axis[0]= uX.v;
327  rot.axis[1]= uY.v;
328  }

◆ TkRotation2D() [13/23]

template<class T>
TkRotation2D< T >::TkRotation2D ( )
inline

Definition at line 304 of file oldTkRotation.h.

304 {}

◆ TkRotation2D() [14/23]

template<class T>
TkRotation2D< T >::TkRotation2D ( T  xx,
T  xy,
T  yx,
T  yy 
)
inline

Definition at line 306 of file oldTkRotation.h.

306  {
307  axis[0] = BasicVector(xx,xy);
308  axis[1] =BasicVector(yx, yy);
309  }

◆ TkRotation2D() [15/23]

template<class T>
TkRotation2D< T >::TkRotation2D ( const T p)
inline

Definition at line 311 of file oldTkRotation.h.

311  {
312  axis[0] = BasicVector(p[0],p[1]);
313  axis[1] = BasicVector(p[2],p[3]);
314  }

◆ TkRotation2D() [16/23]

template<class T>
TkRotation2D< T >::TkRotation2D ( const BasicVector aX)
inline

Definition at line 316 of file oldTkRotation.h.

316  {
317 
318  BasicVector uX = aX.unit();
319  BasicVector uY(-uX.y(),uX.x());
320 
321  axis[0]= uX;
322  axis[1]= uY;
323 
324  }

◆ TkRotation2D() [17/23]

template<class T>
TkRotation2D< T >::TkRotation2D ( const BasicVector uX,
const BasicVector uY 
)
inline

Definition at line 327 of file oldTkRotation.h.

327  {
328  axis[0]= uX;
329  axis[1]= uY;
330  }

◆ TkRotation2D() [18/23]

template<class T>
TkRotation2D< T >::TkRotation2D ( )
inline

Definition at line 239 of file sseTkRotation.h.

239 {}

◆ TkRotation2D() [19/23]

template<class T>
TkRotation2D< T >::TkRotation2D ( mathSSE::Rot2< T > const &  irot)
inline

Definition at line 240 of file sseTkRotation.h.

240 : rot(irot) {}

◆ TkRotation2D() [20/23]

template<class T>
TkRotation2D< T >::TkRotation2D ( T  xx,
T  xy,
T  yx,
T  yy 
)
inline

Definition at line 242 of file sseTkRotation.h.

242 : rot(xx, xy, yx, yy) {}

◆ TkRotation2D() [21/23]

template<class T>
TkRotation2D< T >::TkRotation2D ( const T p)
inline

Definition at line 244 of file sseTkRotation.h.

244 : rot(p[0], p[1], p[2], p[3]) {}

◆ TkRotation2D() [22/23]

template<class T>
TkRotation2D< T >::TkRotation2D ( const BasicVector aX)
inline

Definition at line 246 of file sseTkRotation.h.

246  {
247  BasicVector uX = aX.unit();
248  BasicVector uY(-uX.y(), uX.x());
249 
250  rot.axis[0] = uX.v;
251  rot.axis[1] = uY.v;
252  }

◆ TkRotation2D() [23/23]

template<class T>
TkRotation2D< T >::TkRotation2D ( const BasicVector uX,
const BasicVector uY 
)
inline

Definition at line 254 of file sseTkRotation.h.

254  {
255  rot.axis[0] = uX.v;
256  rot.axis[1] = uY.v;
257  }

Member Function Documentation

◆ rotate() [1/4]

template<class T>
BasicVector TkRotation2D< T >::rotate ( const BasicVector v) const
inline

Definition at line 264 of file sseTkRotation.h.

264 { return rot.rotate(v.v); }

◆ rotate() [2/4]

template<class T>
BasicVector TkRotation2D< T >::rotate ( const BasicVector v) const
inline

Definition at line 338 of file extTkRotation.h.

338  {
339  return rot.rotate(v.v);
340  }

Referenced by ThirdHitPredictionFromInvParabola::transform().

◆ rotate() [3/4]

template<class T>
BasicVector TkRotation2D< T >::rotate ( const BasicVector v) const
inline

Definition at line 338 of file newTkRotation.h.

338  {
339  return rot.rotate(v.v);
340  }

◆ rotate() [4/4]

template<class T>
BasicVector TkRotation2D< T >::rotate ( const BasicVector v) const
inline

Definition at line 342 of file oldTkRotation.h.

342  {
343  return transposed().rotateBack(v);
344  }

◆ rotateBack() [1/4]

template<class T>
BasicVector TkRotation2D< T >::rotateBack ( const BasicVector v) const
inline

Definition at line 266 of file sseTkRotation.h.

266 { return rot.rotateBack(v.v); }

◆ rotateBack() [2/4]

template<class T>
BasicVector TkRotation2D< T >::rotateBack ( const BasicVector v) const
inline

Definition at line 342 of file extTkRotation.h.

342  {
343  return rot.rotateBack(v.v);
344  }

Referenced by ThirdHitPredictionFromInvParabola::rangeRPhi(), TkRotation2D< Scalar >::rotate(), and ThirdHitPredictionFromInvParabola::transformBack().

◆ rotateBack() [3/4]

template<class T>
BasicVector TkRotation2D< T >::rotateBack ( const BasicVector v) const
inline

Definition at line 342 of file newTkRotation.h.

342  {
343  return rot.rotateBack(v.v);
344  }

◆ rotateBack() [4/4]

template<class T>
BasicVector TkRotation2D< T >::rotateBack ( const BasicVector v) const
inline

Definition at line 346 of file oldTkRotation.h.

346  {
347  return v[0]*axis[0] + v[1]*axis[1];
348  }

◆ transposed() [1/4]

template<class T>
TkRotation2D TkRotation2D< T >::transposed ( ) const
inline

Definition at line 262 of file sseTkRotation.h.

262 { return rot.transpose(); }

◆ transposed() [2/4]

template<class T>
TkRotation2D TkRotation2D< T >::transposed ( ) const
inline

Definition at line 334 of file extTkRotation.h.

334  {
335  return rot.transpose();
336  }

Referenced by TkRotation2D< Scalar >::rotate().

◆ transposed() [3/4]

template<class T>
TkRotation2D TkRotation2D< T >::transposed ( ) const
inline

Definition at line 334 of file newTkRotation.h.

334  {
335  return rot.transpose();
336  }

◆ transposed() [4/4]

template<class T>
TkRotation2D TkRotation2D< T >::transposed ( ) const
inline

Definition at line 336 of file oldTkRotation.h.

336  {
337  return TkRotation2D(axis[0][0], axis[1][0],
338  axis[0][1], axis[1][1]
339  );
340  }

◆ x() [1/4]

template<class T>
BasicVector TkRotation2D< T >::x ( ) const
inline

◆ x() [2/4]

template<class T>
BasicVector TkRotation2D< T >::x ( ) const
inline

◆ x() [3/4]

template<class T>
BasicVector TkRotation2D< T >::x ( ) const
inline

◆ x() [4/4]

template<class T>
BasicVector TkRotation2D< T >::x ( ) const
inline

◆ y() [1/4]

template<class T>
BasicVector TkRotation2D< T >::y ( ) const
inline

◆ y() [2/4]

template<class T>
BasicVector TkRotation2D< T >::y ( ) const
inline

◆ y() [3/4]

template<class T>
BasicVector TkRotation2D< T >::y ( ) const
inline

◆ y() [4/4]

template<class T>
BasicVector TkRotation2D< T >::y ( ) const
inline

Member Data Documentation

◆ axis

template<class T>
BasicVector TkRotation2D< T >::axis[2]
private

◆ rot [1/2]

template<class T>
mathSSE::Rot2< T > TkRotation2D< T >::rot
private

◆ rot [2/2]

template<class T>
mathSSE::Rot2<T> TkRotation2D< T >::rot
private

Definition at line 350 of file newTkRotation.h.

TkRotation2D::rotateBack
BasicVector rotateBack(const BasicVector &v) const
Definition: extTkRotation.h:342
findQualityFiles.v
v
Definition: findQualityFiles.py:179
TkRotation2D::TkRotation2D
TkRotation2D()
Definition: extTkRotation.h:304
geometryCSVtoXML.xy
xy
Definition: geometryCSVtoXML.py:19
TkRotation2D::BasicVector
Basic2DVector< T > BasicVector
Definition: extTkRotation.h:302
AlCaHLTBitMon_ParallelJobs.p
def p
Definition: AlCaHLTBitMon_ParallelJobs.py:153
TkRotation2D::rot
Rot2< T > rot
Definition: extTkRotation.h:350
geometryCSVtoXML.yy
yy
Definition: geometryCSVtoXML.py:19
TkRotation2D::axis
BasicVector axis[2]
Definition: oldTkRotation.h:354
TkRotation2D::transposed
TkRotation2D transposed() const
Definition: extTkRotation.h:334
geometryCSVtoXML.xx
xx
Definition: geometryCSVtoXML.py:19