CMS 3D CMS Logo

Public Types | Public Member Functions | Protected Member Functions | Protected Attributes

PV2DBase< T, PVType, FrameType > Class Template Reference

#include <PV2DBase.h>

List of all members.

Public Types

typedef Basic2DVector< TBasicVectorType
typedef BasicVectorType::MathVector MathVector
typedef BasicVectorType::Polar Polar
typedef T ScalarType

Public Member Functions

T barePhi () const
const BasicVectorTypebasicVector () const
T mag () const
T mag2 () const
MathVector const & mathVector () const
MathVectormathVector ()
Geom::Phi< Tphi () const
 PV2DBase (const Polar &set)
 construct from polar coordinates
template<class U >
 PV2DBase (const Basic2DVector< U > &v)
 PV2DBase ()
 PV2DBase (const T &x, const T &y)
 construct from cartesian coordinates
T r () const
T x () const
T y () const

Protected Member Functions

BasicVectorTypebasicVector ()

Protected Attributes

BasicVectorType theVector

Detailed Description

template<class T, class PVType, class FrameType>
class PV2DBase< T, PVType, FrameType >

Definition at line 10 of file PV2DBase.h.


Member Typedef Documentation

template<class T, class PVType, class FrameType>
typedef Basic2DVector<T> PV2DBase< T, PVType, FrameType >::BasicVectorType
template<class T, class PVType, class FrameType>
typedef BasicVectorType::MathVector PV2DBase< T, PVType, FrameType >::MathVector

Definition at line 16 of file PV2DBase.h.

template<class T, class PVType, class FrameType>
typedef BasicVectorType::Polar PV2DBase< T, PVType, FrameType >::Polar
template<class T, class PVType, class FrameType>
typedef T PV2DBase< T, PVType, FrameType >::ScalarType

Definition at line 13 of file PV2DBase.h.


Constructor & Destructor Documentation

template<class T, class PVType, class FrameType>
PV2DBase< T, PVType, FrameType >::PV2DBase ( ) [inline]

default constructor uses default constructor of T to initialize the components. For built-in floating-point types this means initialization to zero

Definition at line 22 of file PV2DBase.h.

: theVector() {}
template<class T, class PVType, class FrameType>
PV2DBase< T, PVType, FrameType >::PV2DBase ( const T x,
const T y 
) [inline]

construct from cartesian coordinates

Definition at line 25 of file PV2DBase.h.

: theVector(x,y) {}
template<class T, class PVType, class FrameType>
PV2DBase< T, PVType, FrameType >::PV2DBase ( const Polar set) [inline]

construct from polar coordinates

Definition at line 28 of file PV2DBase.h.

: theVector( set) {}
template<class T, class PVType, class FrameType>
template<class U >
PV2DBase< T, PVType, FrameType >::PV2DBase ( const Basic2DVector< U > &  v) [inline, explicit]

Explicit constructor from BasicVectorType, possibly of different precision

Definition at line 33 of file PV2DBase.h.

: theVector(v) {}

Member Function Documentation

template<class T, class PVType, class FrameType>
T PV2DBase< T, PVType, FrameType >::barePhi ( ) const [inline]

Definition at line 49 of file PV2DBase.h.

{ return basicVector().barePhi();}
template<class T, class PVType, class FrameType>
const BasicVectorType& PV2DBase< T, PVType, FrameType >::basicVector ( ) const [inline]
template<class T, class PVType, class FrameType>
BasicVectorType& PV2DBase< T, PVType, FrameType >::basicVector ( ) [inline, protected]

Definition at line 54 of file PV2DBase.h.

{ return theVector;}
template<class T, class PVType, class FrameType>
T PV2DBase< T, PVType, FrameType >::mag ( ) const [inline]
template<class T, class PVType, class FrameType>
T PV2DBase< T, PVType, FrameType >::mag2 ( ) const [inline]

Definition at line 46 of file PV2DBase.h.

{ return basicVector().mag2();}
template<class T, class PVType, class FrameType>
MathVector const& PV2DBase< T, PVType, FrameType >::mathVector ( ) const [inline]

Definition at line 39 of file PV2DBase.h.

{ return theVector.v;}
template<class T, class PVType, class FrameType>
MathVector& PV2DBase< T, PVType, FrameType >::mathVector ( ) [inline]

Definition at line 40 of file PV2DBase.h.

{ return theVector.v;}
template<class T, class PVType, class FrameType>
Geom::Phi<T> PV2DBase< T, PVType, FrameType >::phi ( ) const [inline]
template<class T, class PVType, class FrameType>
T PV2DBase< T, PVType, FrameType >::r ( ) const [inline]

Definition at line 47 of file PV2DBase.h.

{ return basicVector().r();}
template<class T, class PVType, class FrameType>
T PV2DBase< T, PVType, FrameType >::x ( ) const [inline]

Definition at line 44 of file PV2DBase.h.

Referenced by TrackerDpgAnalysis::analyze(), SiPixelTrackResidualSource::analyze(), SiPixelErrorEstimation::analyze(), SiStripRecHitsValid::analyze(), SiStripTrackingRecHitsValid::analyze(), ClusterShapeTrackFilter::areaParallelogram(), ThirdHitPrediction::areaParallelogram(), tkDetUtil::calculatePhiWindow(), DTTopology::channel(), ProxyPixelTopology::channel(), ProxyStripTopology::channel(), FourPointPlaneBounds::checkSide(), SiStripFineDelayHit::closestCluster(), Chi2StripEstimator::estimate(), SiPixelTrackResidualModule::fill(), TrackerValidationVariables::fillHitQuantities(), ClusterShapeTrackFilter::getGlobalDirs(), StripMeasurementTransformator::hitParameters(), Strip1DMeasurementTransformator::hitParameters(), SiPixelDigitizerAlgorithm::induce_signal(), TrapezoidalPlaneBounds::inside(), CSCLayerGeometry::inside(), GeneralTrapezoidalPlaneBounds::inside(), Bounds::inside(), RectangularPlaneBounds::inside(), ThirdHitPrediction::isCompatibleWithMultipleScattering(), TrapezoidalStripTopology::localError(), RadialStripTopology::localError(), RectangularPixelTopology::localError(), ProxyStripTopology::localPitch(), RectangularPixelTopology::localPosition(), DTTopology::localPosition(), OffsetRadialStripTopology::localPosition(), ProxyPixelTopology::localPosition(), TrapezoidalStripTopology::localPosition(), ProxyStripTopology::localPosition(), RectangularStripTopology::localPosition(), RadialStripTopology::localPosition(), ProxyStripTopology::localStripLength(), ProxyPixelTopology::localX(), GSRecHitMatcher::match(), ProxyStripTopology::measurementError(), ProxyPixelTopology::measurementError(), ProxyPixelTopology::measurementPosition(), DTTopology::measurementPosition(), ProxyStripTopology::measurementPosition(), TrackerDpgAnalysis::onTrackAngles(), ProxyPixelTopology::pixel(), TwoBowedSurfacesDeformation::positionCorrection(), BowedSurfaceDeformation::positionCorrection(), Strip1DMeasurementTransformator::projectedTrajectoryParameters(), StripMeasurementTransformator::projectedTrajectoryParameters(), SiPixelGaussianSmearingRecHitConverterAlgorithm::smearHit(), ProxyStripTopology::strip(), TkGluedMeasurementDet::testStrips(), and DTTopology::wirePosition().

{ return basicVector().x();}
template<class T, class PVType, class FrameType>
T PV2DBase< T, PVType, FrameType >::y ( ) const [inline]

Definition at line 45 of file PV2DBase.h.

Referenced by TrackerDpgAnalysis::analyze(), SiPixelTrackResidualSource::analyze(), SiPixelErrorEstimation::analyze(), ClusterShapeTrackFilter::areaParallelogram(), ThirdHitPrediction::areaParallelogram(), tkDetUtil::calculatePhiWindow(), ProxyPixelTopology::channel(), ProxyStripTopology::channel(), FourPointPlaneBounds::checkSide(), MuDetRod::compatibleDets(), PixelRod::compatibleDetsV(), TIDLayer::computeWindowSize(), TIBLayer::computeWindowSize(), Chi2StripEstimator::estimate(), SiPixelTrackResidualModule::fill(), TrackerValidationVariables::fillHitQuantities(), ClusterShapeTrackFilter::getGlobalDirs(), StripMeasurementTransformator::hitParameters(), SiPixelDigitizerAlgorithm::induce_signal(), TrapezoidalPlaneBounds::inside(), GeneralTrapezoidalPlaneBounds::inside(), CSCLayerGeometry::inside(), Bounds::inside(), RectangularPlaneBounds::inside(), ThirdHitPrediction::isCompatibleWithMultipleScattering(), RadialStripTopology::localError(), RectangularPixelTopology::localError(), ProxyStripTopology::localPitch(), DTTopology::localPosition(), RectangularPixelTopology::localPosition(), OffsetRadialStripTopology::localPosition(), ProxyPixelTopology::localPosition(), TrapezoidalStripTopology::localPosition(), ProxyStripTopology::localPosition(), RadialStripTopology::localPosition(), RectangularStripTopology::localPosition(), ProxyStripTopology::localStripLength(), ProxyPixelTopology::localY(), ProxyStripTopology::measurementError(), ProxyPixelTopology::measurementError(), ProxyPixelTopology::measurementPosition(), DTTopology::measurementPosition(), ProxyStripTopology::measurementPosition(), TrackerDpgAnalysis::onTrackAngles(), ProxyPixelTopology::pixel(), TwoBowedSurfacesDeformation::positionCorrection(), BowedSurfaceDeformation::positionCorrection(), StripMeasurementTransformator::projectedTrajectoryParameters(), SiPixelGaussianSmearingRecHitConverterAlgorithm::smearHit(), and ProxyStripTopology::strip().

{ return basicVector().y();}

Member Data Documentation

template<class T, class PVType, class FrameType>
BasicVectorType PV2DBase< T, PVType, FrameType >::theVector [protected]