#include <DataFormats/GeometryVector/interface/PV2DBase.h>
Public Types | |
typedef Basic2DVector< T > | BasicVectorType |
typedef BasicVectorType::Polar | Polar |
typedef T | ScalarType |
Public Member Functions | |
T | barePhi () const |
const BasicVectorType & | basicVector () const |
Access to the basic vector, use only when the operations on Point and Vector are too restrictive (preferably never). | |
T | mag () const |
T | mag2 () const |
Geom::Phi< T > | phi () const |
template<class U> | |
PV2DBase (const Basic2DVector< U > &v) | |
Explicit constructor from BasicVectorType, possibly of different precision. | |
PV2DBase (const Polar &set) | |
construct from polar coordinates | |
PV2DBase (const T &x, const T &y) | |
construct from cartesian coordinates | |
PV2DBase () | |
default constructor uses default constructor of T to initialize the components. | |
T | r () const |
T | x () const |
T | y () const |
Protected Member Functions | |
BasicVectorType & | basicVector () |
Protected Attributes | |
BasicVectorType | theVector |
Definition at line 10 of file PV2DBase.h.
typedef Basic2DVector<T> PV2DBase< T, PVType, FrameType >::BasicVectorType |
Reimplemented in Point2DBase< T, FrameTag >, and Vector2DBase< T, FrameTag >.
Definition at line 14 of file PV2DBase.h.
typedef BasicVectorType::Polar PV2DBase< T, PVType, FrameType >::Polar |
Reimplemented in Point2DBase< T, FrameTag >, and Vector2DBase< T, FrameTag >.
Definition at line 15 of file PV2DBase.h.
typedef T PV2DBase< T, PVType, FrameType >::ScalarType |
Definition at line 13 of file PV2DBase.h.
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 21 of file PV2DBase.h.
00021 : theVector() {}
PV2DBase< T, PVType, FrameType >::PV2DBase | ( | const T & | x, | |
const T & | y | |||
) | [inline] |
PV2DBase< T, PVType, FrameType >::PV2DBase | ( | const Polar & | set | ) | [inline] |
construct from polar coordinates
Definition at line 27 of file PV2DBase.h.
00027 : theVector( set) {}
PV2DBase< T, PVType, FrameType >::PV2DBase | ( | const Basic2DVector< U > & | v | ) | [inline, explicit] |
Explicit constructor from BasicVectorType, possibly of different precision.
Definition at line 32 of file PV2DBase.h.
00032 : theVector(v) {}
T PV2DBase< T, PVType, FrameType >::barePhi | ( | ) | const [inline] |
BasicVectorType& PV2DBase< T, PVType, FrameType >::basicVector | ( | ) | [inline, protected] |
const BasicVectorType& PV2DBase< T, PVType, FrameType >::basicVector | ( | ) | const [inline] |
Access to the basic vector, use only when the operations on Point and Vector are too restrictive (preferably never).
Definition at line 37 of file PV2DBase.h.
Referenced by PV2DBase< T, PointTag, FrameTag >::barePhi(), PV2DBase< T, PointTag, FrameTag >::mag(), PV2DBase< T, PointTag, FrameTag >::mag2(), PV2DBase< T, PointTag, FrameTag >::phi(), PV2DBase< T, PointTag, FrameTag >::r(), PV2DBase< T, PointTag, FrameTag >::x(), and PV2DBase< T, PointTag, FrameTag >::y().
00037 { return theVector;}
T PV2DBase< T, PVType, FrameType >::mag | ( | ) | const [inline] |
Definition at line 43 of file PV2DBase.h.
Referenced by ThirdHitPrediction::calculateRangesForward().
00043 { return basicVector().mag();}
T PV2DBase< T, PVType, FrameType >::mag2 | ( | ) | const [inline] |
Definition at line 41 of file PV2DBase.h.
Referenced by ThirdHitPrediction::findMinimalCircles(), ThirdHitPrediction::invertCircle(), and ThirdHitPrediction::invertPoint().
00041 { return basicVector().mag2();}
Geom::Phi<T> PV2DBase< T, PVType, FrameType >::phi | ( | ) | const [inline] |
Definition at line 45 of file PV2DBase.h.
Referenced by ThirdHitPrediction::calculateRangesBarrel(), ThirdHitPrediction::calculateRangesForward(), and ThirdHitPrediction::findMinimalCircles().
00045 { return basicVector().phi();}
T PV2DBase< T, PVType, FrameType >::r | ( | ) | const [inline] |
T PV2DBase< T, PVType, FrameType >::x | ( | ) | const [inline] |
Definition at line 39 of file PV2DBase.h.
Referenced by SiPixelTrackResidualSource::analyze(), SiPixelErrorEstimation::analyze(), SiStripRecHitsValid::analyze(), SiStripTrackingRecHitsValid::analyze(), ThirdHitPrediction::areaParallelogram(), tkDetUtil::calculatePhiWindow(), DTTopology::channel(), FourPointPlaneBounds::checkSide(), SiStripFineDelayHit::closestCluster(), Chi2StripEstimator::estimate(), SiPixelTrackResidualModule::fill(), TrackerValidationVariables::fillHitQuantities(), StripMeasurementTransformator::hitParameters(), Strip1DMeasurementTransformator::hitParameters(), SiPixelDigitizerAlgorithm::induce_signal(), TrapezoidalPlaneBounds::inside(), GeneralTrapezoidalPlaneBounds::inside(), Bounds::inside(), RectangularPlaneBounds::inside(), TrapezoidalStripTopology::localError(), RadialStripTopology::localError(), RectangularPixelTopology::localError(), StripCPEfromTrackAngle2::localParameters(), StripCPEfromTrackAngle::localParameters(), RectangularPixelTopology::localPosition(), DTTopology::localPosition(), OffsetRadialStripTopology::localPosition(), TrapezoidalStripTopology::localPosition(), RectangularStripTopology::localPosition(), RadialStripTopology::localPosition(), GSRecHitMatcher::match(), DTTopology::measurementPosition(), Strip1DMeasurementTransformator::projectedTrajectoryParameters(), StripMeasurementTransformator::projectedTrajectoryParameters(), PixelCPEBase::setTheDet(), CPEFromDetPosition::setTheDet(), TkGluedMeasurementDet::testStrips(), VisPixelDigiTwig::update(), and DTTopology::wirePosition().
00039 { return basicVector().x();}
T PV2DBase< T, PVType, FrameType >::y | ( | ) | const [inline] |
Definition at line 40 of file PV2DBase.h.
Referenced by SiPixelTrackResidualSource::analyze(), SiPixelErrorEstimation::analyze(), ThirdHitPrediction::areaParallelogram(), tkDetUtil::calculatePhiWindow(), FourPointPlaneBounds::checkSide(), MuDetRod::compatibleDets(), PixelRod::compatibleDetsV(), TIDLayer::computeWindowSize(), TIBLayer::computeWindowSize(), Chi2StripEstimator::estimate(), SiPixelTrackResidualModule::fill(), StripMeasurementTransformator::hitParameters(), SiPixelDigitizerAlgorithm::induce_signal(), TrapezoidalPlaneBounds::inside(), GeneralTrapezoidalPlaneBounds::inside(), Bounds::inside(), RectangularPlaneBounds::inside(), RadialStripTopology::localError(), RectangularPixelTopology::localError(), RectangularPixelTopology::localPosition(), DTTopology::localPosition(), OffsetRadialStripTopology::localPosition(), TrapezoidalStripTopology::localPosition(), RectangularStripTopology::localPosition(), RadialStripTopology::localPosition(), DTTopology::measurementPosition(), StripMeasurementTransformator::projectedTrajectoryParameters(), PixelCPEBase::setTheDet(), CPEFromDetPosition::setTheDet(), and VisPixelDigiTwig::update().
00040 { return basicVector().y();}
BasicVectorType PV2DBase< T, PVType, FrameType >::theVector [protected] |
Definition at line 51 of file PV2DBase.h.
Referenced by PV2DBase< T, PointTag, FrameTag >::basicVector().