CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes
GloballyPositioned< T >::ToLocal Class Reference

#include <GloballyPositioned.h>

Public Member Functions

LocalPoint operator() (const GlobalPoint &gp) const
 
LocalVector operator() (const GlobalVector &gv) const
 
LocalPoint toLocal (const GlobalPoint &gp) const
 
LocalVector toLocal (const GlobalVector &gv) const
 
 ToLocal (GloballyPositioned const &frame)
 

Public Attributes

PositionType thePos
 
RotationType theRot
 

Detailed Description

template<class T>
class GloballyPositioned< T >::ToLocal

Definition at line 44 of file GloballyPositioned.h.

Constructor & Destructor Documentation

◆ ToLocal()

template<class T>
GloballyPositioned< T >::ToLocal::ToLocal ( GloballyPositioned const &  frame)
inline

Definition at line 46 of file GloballyPositioned.h.

46 : thePos(frame.position()), theRot(frame.rotation().transposed()) {}

Member Function Documentation

◆ operator()() [1/2]

template<class T>
LocalPoint GloballyPositioned< T >::ToLocal::operator() ( const GlobalPoint gp) const
inline

Definition at line 48 of file GloballyPositioned.h.

48 { return toLocal(gp); }

References runTauDisplay::gp, and GloballyPositioned< T >::ToLocal::toLocal().

◆ operator()() [2/2]

template<class T>
LocalVector GloballyPositioned< T >::ToLocal::operator() ( const GlobalVector gv) const
inline

Definition at line 50 of file GloballyPositioned.h.

50 { return toLocal(gv); }

References GloballyPositioned< T >::ToLocal::toLocal().

◆ toLocal() [1/2]

template<class T>
LocalPoint GloballyPositioned< T >::ToLocal::toLocal ( const GlobalPoint gp) const
inline

◆ toLocal() [2/2]

template<class T>
LocalVector GloballyPositioned< T >::ToLocal::toLocal ( const GlobalVector gv) const
inline

Member Data Documentation

◆ thePos

template<class T>
PositionType GloballyPositioned< T >::ToLocal::thePos

Definition at line 59 of file GloballyPositioned.h.

Referenced by GloballyPositioned< T >::ToLocal::toLocal().

◆ theRot

template<class T>
RotationType GloballyPositioned< T >::ToLocal::theRot

Definition at line 60 of file GloballyPositioned.h.

Referenced by GloballyPositioned< T >::ToLocal::toLocal().

GloballyPositioned::LocalPoint
Point3DBase< T, LocalTag > LocalPoint
Definition: GloballyPositioned.h:24
GloballyPositioned::ToLocal::thePos
PositionType thePos
Definition: GloballyPositioned.h:59
TkRotation::multiplyInverse
Basic3DVector< T > multiplyInverse(const Basic3DVector< T > &v) const
Definition: extTkRotation.h:178
GloballyPositioned::ToLocal::toLocal
LocalPoint toLocal(const GlobalPoint &gp) const
Definition: GloballyPositioned.h:52
GloballyPositioned::LocalVector
Vector3DBase< T, LocalTag > LocalVector
Definition: GloballyPositioned.h:26
runTauDisplay.gp
gp
Definition: runTauDisplay.py:431
PV3DBase::basicVector
const BasicVectorType & basicVector() const
Definition: PV3DBase.h:53
GloballyPositioned::ToLocal::theRot
RotationType theRot
Definition: GloballyPositioned.h:60
amptDefault_cfi.frame
frame
Definition: amptDefault_cfi.py:12