CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Types | Public Member Functions
Topology::LocalTrackAngles Class Reference

#include <Topology.h>

Inheritance diagram for Topology::LocalTrackAngles:
Basic2DVector< double >

Public Types

typedef Basic2DVector< double > Base
 
- Public Types inherited from Basic2DVector< double >
typedef mathSSE::Vec2< double > MathVector
 
typedef Basic2DVector< double > MathVector
 
typedef Geom::Polar2Cartesian
< double > 
Polar
 
typedef Geom::Polar2Cartesian
< double > 
Polar
 
typedef double ScalarType
 
typedef double ScalarType
 
typedef mathSSE::Vec2< double > VectorType
 

Public Member Functions

double dxdz () const
 
double dydz () const
 
 LocalTrackAngles (const Base &v)
 
 LocalTrackAngles (double dxdz, double dydz)
 
- Public Member Functions inherited from Basic2DVector< double >
double barePhi () const
 
double barePhi () const
 
 Basic2DVector ()
 
 Basic2DVector (const Basic2DVector &p)
 Copy constructor from same type. Should not be needed but for gcc bug 12685. More...
 
 Basic2DVector ()
 
 Basic2DVector (const Basic2DVector< U > &p)
 
 Basic2DVector (const Basic2DVector &p)
 Copy constructor from same type. Should not be needed but for gcc bug 12685. More...
 
 Basic2DVector (const Other &p)
 
 Basic2DVector (const Other &p)
 
 Basic2DVector (const double &x, const double &y)
 construct from cartesian coordinates More...
 
 Basic2DVector (const double &x, const double &y)
 construct from cartesian coordinates More...
 
 Basic2DVector (mathSSE::Vec2< U > const &iv)
 
 Basic2DVector (mathSSE::Vec4< U > const &iv)
 
 Basic2DVector (mathSSE::Vec2< U > const &iv)
 
 Basic2DVector (mathSSE::Vec4< U > const &iv)
 
double cross (const Basic2DVector &lh) const
 Vector product, or "cross" product, with a vector of same type. More...
 
double cross (const Basic2DVector &v) const
 Vector product, or "cross" product, with a vector of same type. More...
 
PreciseFloatType< double, U >::Type cross (const Basic2DVector< U > &lh) const
 
PreciseFloatType< double, U >::Type cross (const Basic2DVector< U > &v) const
 
double dot (const Basic2DVector &lh) const
 Scalar product, or "dot" product, with a vector of same type. More...
 
double dot (const Basic2DVector &v) const
 Scalar product, or "dot" product, with a vector of same type. More...
 
PreciseFloatType< double, U >::Type dot (const Basic2DVector< U > &lh) const
 
PreciseFloatType< double, U >::Type dot (const Basic2DVector< U > &v) const
 
double mag () const
 The vector magnitude. Equivalent to sqrt(vec.mag2()) More...
 
double mag () const
 The vector magnitude. Equivalent to sqrt(vec.mag2()) More...
 
double mag2 () const
 The vector magnitude squared. Equivalent to vec.dot(vec) More...
 
double mag2 () const
 The vector magnitude squared. Equivalent to vec.dot(vec) More...
 
MathVector const & mathVector () const
 
MathVectormathVector ()
 
Basic2DVectoroperator*= (doublet)
 Scaling by a scalar value (multiplication) More...
 
Basic2DVectoroperator*= (const double &t)
 Scaling by a scalar value (multiplication) More...
 
Basic2DVectoroperator+= (const Basic2DVector< U > &p)
 
Basic2DVectoroperator+= (const Basic2DVector< U > &p)
 
Basic2DVector operator- () const
 Unary minus, returns a vector with components (-x(),-y(),-z()) More...
 
Basic2DVector operator- () const
 Unary minus, returns a vector with components (-x(),-y(),-z()) More...
 
Basic2DVectoroperator-= (const Basic2DVector< U > &p)
 
Basic2DVectoroperator-= (const Basic2DVector< U > &p)
 
Basic2DVectoroperator/= (doublet)
 Scaling by a scalar value (division) More...
 
Basic2DVectoroperator/= (const double &t)
 Scaling by a scalar value (division) More...
 
Geom::Phi< double > phi () const
 
Geom::Phi< double > phi () const
 
double r () const
 Radius, same as mag() More...
 
double r () const
 Radius, same as mag() More...
 
Basic2DVector unit () const
 
Basic2DVector unit () const
 
double x () const
 Cartesian x coordinate. More...
 
double x () const
 Cartesian x coordinate. More...
 
double y () const
 Cartesian y coordinate. More...
 
double y () const
 Cartesian y coordinate. More...
 

Additional Inherited Members

- Public Attributes inherited from Basic2DVector< double >
mathSSE::Vec2< double > v
 

Detailed Description

Track angles in the local frame, needed to handle surface deformations

Definition at line 47 of file Topology.h.

Member Typedef Documentation

Definition at line 49 of file Topology.h.

Constructor & Destructor Documentation

Topology::LocalTrackAngles::LocalTrackAngles ( const Base v)
inline

Definition at line 50 of file Topology.h.

50 : Base(v) {}
Basic2DVector< double > Base
Definition: Topology.h:49
mathSSE::Vec2< double > v
Topology::LocalTrackAngles::LocalTrackAngles ( double  dxdz,
double  dydz 
)
inline

Definition at line 51 of file Topology.h.

51 : Base(dxdz,dydz) {}
double dydz() const
Definition: Topology.h:53
double dxdz() const
Definition: Topology.h:52
Basic2DVector< double > Base
Definition: Topology.h:49

Member Function Documentation

double Topology::LocalTrackAngles::dxdz ( ) const
inline

Definition at line 52 of file Topology.h.

References Basic2DVector< double >::x().

Referenced by TwoBowedSurfacesDeformation::positionCorrection().

52 { return x(); }
double x() const
Cartesian x coordinate.
double Topology::LocalTrackAngles::dydz ( ) const
inline

Definition at line 53 of file Topology.h.

References Basic2DVector< double >::y().

Referenced by TwoBowedSurfacesDeformation::positionCorrection().

53 { return y(); }
double y() const
Cartesian y coordinate.