CMS 3D CMS Logo

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 Vec2< double > MathVector
 
typedef mathSSE::Vec2< double > MathVector
 
typedef Basic2DVector< double > MathVector
 
typedef Geom::Polar2Cartesian< double > Polar
 
typedef Geom::Polar2Cartesian< double > Polar
 
typedef Geom::Polar2Cartesian< double > Polar
 
typedef double ScalarType
 
typedef double ScalarType
 
typedef double ScalarType
 
typedef mathSSE::Vec2< double > VectorType
 
typedef Vec2< double > VectorType
 

Public Member Functions

double dxdz () const
 
double dydz () const
 
 LocalTrackAngles ()
 
 LocalTrackAngles (const Base &v)
 
 LocalTrackAngles (double dxdz, double dydz)
 
- Public Member Functions inherited from Basic2DVector< double >
double barePhi () const
 
double barePhi () const
 
double barePhi () const
 
 Basic2DVector ()
 
 Basic2DVector ()
 
 Basic2DVector (const Basic2DVector &p)
 Copy constructor from same type. Should not be needed but for gcc bug 12685. More...
 
 Basic2DVector (const Basic2DVector &p)
 Copy constructor from same type. Should not be needed but for gcc bug 12685. More...
 
 Basic2DVector ()
 
 Basic2DVector (const Basic2DVector &p)
 Copy constructor from same type. Should not be needed but for gcc bug 12685. More...
 
 Basic2DVector (const Basic2DVector< U > &p)
 
 Basic2DVector (const Basic2DVector< U > &p)
 
 Basic2DVector (const Other &p)
 
 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 (const double &x, const double &y)
 construct from cartesian coordinates More...
 
 Basic2DVector (MathVector const &iv)
 
 Basic2DVector (mathSSE::Vec2< U > const &iv)
 
 Basic2DVector (Vec2< U > const &iv)
 
 Basic2DVector (mathSSE::Vec4< U > const &iv)
 
 Basic2DVector (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 &lh) 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 > &lh) const
 
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 > &v) const
 
double dot (const Basic2DVector &lh) const
 Scalar product, or "dot" product, with a vector of same type. More...
 
double dot (const Basic2DVector &lh) 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 > &lh) const
 
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 > &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 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...
 
double mag2 () const
 The vector magnitude squared. Equivalent to vec.dot(vec) More...
 
MathVector const & mathVector () const
 
MathVector const & mathVector () const
 
MathVectormathVector ()
 
MathVectormathVector ()
 
Basic2DVectoroperator*= (double t)
 Scaling by a scalar value (multiplication) More...
 
Basic2DVectoroperator*= (double t)
 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)
 
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...
 
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-= (const Basic2DVector< U > &p)
 
Basic2DVectoroperator/= (double t)
 Scaling by a scalar value (division) More...
 
Basic2DVectoroperator/= (double t)
 Scaling by a scalar value (division) More...
 
Basic2DVectoroperator/= (const double &t)
 Scaling by a scalar value (division) More...
 
Basic2DVectoroperator= (const Basic2DVector &)=default
 Assignment operator. More...
 
Basic2DVectoroperator= (const Basic2DVector &)=default
 Assignment operator. More...
 
double operator[] (int i) const
 
double & operator[] (int i)
 
double operator[] (int i) const
 
double & operator[] (int i)
 
double operator[] (int i) const
 
double & operator[] (int i)
 
Geom::Phi< double > phi () const
 
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...
 
double r () const
 Radius, same as mag() More...
 
Basic2DVector unit () const
 
Basic2DVector unit () const
 
Basic2DVector unit () const
 
double x () const
 Cartesian x coordinate. More...
 
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...
 
double y () const
 Cartesian y coordinate. More...
 

Additional Inherited Members

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

Detailed Description

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

Definition at line 44 of file Topology.h.

Member Typedef Documentation

◆ Base

Definition at line 46 of file Topology.h.

Constructor & Destructor Documentation

◆ LocalTrackAngles() [1/3]

Topology::LocalTrackAngles::LocalTrackAngles ( )
inline

Definition at line 47 of file Topology.h.

47 {}

◆ LocalTrackAngles() [2/3]

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

Definition at line 48 of file Topology.h.

48 : Base(v) {}
Basic2DVector< double > Base
Definition: Topology.h:46

◆ LocalTrackAngles() [3/3]

Topology::LocalTrackAngles::LocalTrackAngles ( double  dxdz,
double  dydz 
)
inline

Definition at line 49 of file Topology.h.

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

Member Function Documentation

◆ dxdz()

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

Definition at line 50 of file Topology.h.

References Basic2DVector< double >::x().

Referenced by TwoBowedSurfacesDeformation::positionCorrection().

50 { return x(); }
double x() const
Cartesian x coordinate.

◆ dydz()

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

Definition at line 51 of file Topology.h.

References Basic2DVector< double >::y().

Referenced by TwoBowedSurfacesDeformation::positionCorrection().

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