#include "DataFormats/GeometryVector/interface/Phi.h"
#include "DataFormats/GeometryVector/interface/PreciseFloatType.h"
#include "DataFormats/GeometryVector/interface/CoordinateSets.h"
#include "DataFormats/Math/interface/SIMDVec.h"
#include <cmath>
#include <iosfwd>
Go to the source code of this file.
Classes | |
class | Basic2DVector< T > |
Namespaces | |
geometryDetails | |
Typedefs | |
typedef Basic2DVector< double > | Basic2DVectorD |
typedef Basic2DVector< float > | Basic2DVectorF |
Functions | |
template<class T > | |
T | operator* (const Basic2DVector< T > &v1, const Basic2DVector< T > &v2) |
template<class T , class U > | |
PreciseFloatType< T, U >::Type | operator* (const Basic2DVector< T > &v1, const Basic2DVector< U > &v2) |
scalar product of vectors of different precision More... | |
template<class T , class Scalar > | |
Basic2DVector< T > | operator* (const Basic2DVector< T > &v, const Scalar &s) |
template<class T , class Scalar > | |
Basic2DVector< T > | operator* (const Scalar &s, const Basic2DVector< T > &v) |
Same as operator*( Vector, Scalar) More... | |
template<class T , class U > | |
Basic2DVector< typename PreciseFloatType< T, U >::Type > | operator+ (const Basic2DVector< T > &a, const Basic2DVector< U > &b) |
vector sum and subtraction of vectors of possibly different precision More... | |
template<class T , class U > | |
Basic2DVector< typename PreciseFloatType< T, U >::Type > | operator- (const Basic2DVector< T > &a, const Basic2DVector< U > &b) |
template<class T , class Scalar > | |
Basic2DVector< T > | operator/ (const Basic2DVector< T > &v, const Scalar &s) |
template<class T > | |
std::ostream & | operator<< (std::ostream &s, const Basic2DVector< T > &v) |
simple text output to standard streams More... | |
std::ostream & | geometryDetails::print2D (std::ostream &s, double x, double y) |
typedef Basic2DVector<double> Basic2DVectorD |
Definition at line 239 of file oldBasic2DVector.h.
typedef Basic2DVector<float> Basic2DVectorF |
Definition at line 238 of file oldBasic2DVector.h.
|
inline |
Definition at line 201 of file oldBasic2DVector.h.
References Basic2DVector< T >::dot().
|
inline |
scalar product of vectors of different precision
Definition at line 207 of file oldBasic2DVector.h.
References Basic2DVector< T >::x(), and Basic2DVector< T >::y().
|
inline |
Multiplication by scalar, does not change the precision of the vector. The return type is the same as the type of the vector argument.
Definition at line 216 of file oldBasic2DVector.h.
References alignCSCRings::s, protons_cff::t, Basic2DVector< T >::x(), and Basic2DVector< T >::y().
|
inline |
Same as operator*( Vector, Scalar)
Definition at line 223 of file oldBasic2DVector.h.
References alignCSCRings::s, protons_cff::t, Basic2DVector< T >::x(), and Basic2DVector< T >::y().
|
inline |
vector sum and subtraction of vectors of possibly different precision
Definition at line 184 of file oldBasic2DVector.h.
References Basic2DVector< T >::x(), and Basic2DVector< T >::y().
|
inline |
Definition at line 191 of file oldBasic2DVector.h.
References Basic2DVector< T >::x(), and Basic2DVector< T >::y().
|
inline |
Division by scalar, does not change the precision of the vector. The return type is the same as the type of the vector argument.
Definition at line 232 of file oldBasic2DVector.h.
References alignCSCRings::s, protons_cff::t, Basic2DVector< T >::x(), and Basic2DVector< T >::y().
|
inline |
simple text output to standard streams
Definition at line 176 of file oldBasic2DVector.h.
References geometryDetails::print2D(), alignCSCRings::s, and Basic2DVector< T >::v.