#include <PV2DBase.h>
Public Types | |
typedef Basic2DVector< T > | BasicVectorType |
typedef BasicVectorType::MathVector | MathVector |
typedef BasicVectorType::Polar | Polar |
typedef T | ScalarType |
Public Member Functions | |
T | barePhi () const |
const BasicVectorType & | basicVector () const |
T | mag () const |
T | mag2 () const |
MathVector const & | mathVector () const |
MathVector & | mathVector () |
Geom::Phi< T > | phi () 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 | |
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 >, Vector2DBase< T, FrameTag >, Point2DBase< double, LocalTag >, Point2DBase< float, LocalTag >, and Vector2DBase< float, GlobalTag >.
Definition at line 14 of file PV2DBase.h.
typedef BasicVectorType::MathVector PV2DBase< T, PVType, FrameType >::MathVector |
Definition at line 16 of file PV2DBase.h.
typedef BasicVectorType::Polar PV2DBase< T, PVType, FrameType >::Polar |
Reimplemented in Point2DBase< T, FrameTag >, Vector2DBase< T, FrameTag >, Point2DBase< double, LocalTag >, Point2DBase< float, LocalTag >, and Vector2DBase< float, GlobalTag >.
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 22 of file PV2DBase.h.
: theVector() {}
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) {}
T PV2DBase< T, PVType, FrameType >::barePhi | ( | ) | const [inline] |
Definition at line 49 of file PV2DBase.h.
{ return basicVector().barePhi();}
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 38 of file PV2DBase.h.
Referenced by PV2DBase< double, PointTag, LocalTag >::barePhi(), PV2DBase< double, PointTag, LocalTag >::mag(), PV2DBase< double, PointTag, LocalTag >::mag2(), PV2DBase< double, PointTag, LocalTag >::phi(), PV2DBase< double, PointTag, LocalTag >::r(), PV2DBase< double, PointTag, LocalTag >::x(), and PV2DBase< double, PointTag, LocalTag >::y().
{ return theVector;}
BasicVectorType& PV2DBase< T, PVType, FrameType >::basicVector | ( | ) | [inline, protected] |
Definition at line 54 of file PV2DBase.h.
{ return theVector;}
T PV2DBase< T, PVType, FrameType >::mag | ( | ) | const [inline] |
Definition at line 48 of file PV2DBase.h.
Referenced by ThirdHitPrediction::calculateRangesForward(), and TransverseImpactPointExtrapolator::tipSurface().
{ return basicVector().mag();}
T PV2DBase< T, PVType, FrameType >::mag2 | ( | ) | const [inline] |
Definition at line 46 of file PV2DBase.h.
{ return basicVector().mag2();}
MathVector const& PV2DBase< T, PVType, FrameType >::mathVector | ( | ) | const [inline] |
Definition at line 39 of file PV2DBase.h.
MathVector& PV2DBase< T, PVType, FrameType >::mathVector | ( | ) | [inline] |
Definition at line 40 of file PV2DBase.h.
Geom::Phi<T> PV2DBase< T, PVType, FrameType >::phi | ( | ) | const [inline] |
Definition at line 50 of file PV2DBase.h.
Referenced by ThirdHitPrediction::calculateRangesBarrel(), and ThirdHitPrediction::calculateRangesForward().
{ return basicVector().phi();}
T PV2DBase< T, PVType, FrameType >::r | ( | ) | const [inline] |
Definition at line 47 of file PV2DBase.h.
{ return basicVector().r();}
T PV2DBase< T, PVType, FrameType >::x | ( | ) | const [inline] |
Definition at line 44 of file PV2DBase.h.
Referenced by TrackerDpgAnalysis::analyze(), SiPixelErrorEstimation::analyze(), SiStripRecHitsValid::analyze(), SiStripTrackingRecHitsValid::analyze(), ClusterShapeTrackFilter::areaParallelogram(), ThirdHitPrediction::areaParallelogram(), tkDetUtil::calculatePhiWindow(), DTTopology::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(), RadialStripTopology::localError(), DTTopology::localPosition(), OffsetRadialStripTopology::localPosition(), RadialStripTopology::localPosition(), GSRecHitMatcher::match(), DTTopology::measurementPosition(), TrackerDpgAnalysis::onTrackAngles(), TwoBowedSurfacesDeformation::positionCorrection(), BowedSurfaceDeformation::positionCorrection(), Strip1DMeasurementTransformator::projectedTrajectoryParameters(), StripMeasurementTransformator::projectedTrajectoryParameters(), SiPixelGaussianSmearingRecHitConverterAlgorithm::smearHit(), TkGluedMeasurementDet::testStrips(), and DTTopology::wirePosition().
{ return basicVector().x();}
T PV2DBase< T, PVType, FrameType >::y | ( | ) | const [inline] |
Definition at line 45 of file PV2DBase.h.
Referenced by TrackerDpgAnalysis::analyze(), SiPixelErrorEstimation::analyze(), ClusterShapeTrackFilter::areaParallelogram(), ThirdHitPrediction::areaParallelogram(), tkDetUtil::calculatePhiWindow(), FourPointPlaneBounds::checkSide(), MuDetRod::compatibleDets(), Chi2StripEstimator::estimate(), SiPixelTrackResidualModule::fill(), TrackerValidationVariables::fillHitQuantities(), ClusterShapeTrackFilter::getGlobalDirs(), StripMeasurementTransformator::hitParameters(), SiPixelDigitizerAlgorithm::induce_signal(), TrapezoidalPlaneBounds::inside(), CSCLayerGeometry::inside(), GeneralTrapezoidalPlaneBounds::inside(), Bounds::inside(), RectangularPlaneBounds::inside(), ThirdHitPrediction::isCompatibleWithMultipleScattering(), RadialStripTopology::localError(), DTTopology::localPosition(), OffsetRadialStripTopology::localPosition(), RadialStripTopology::localPosition(), DTTopology::measurementPosition(), TrackerDpgAnalysis::onTrackAngles(), TwoBowedSurfacesDeformation::positionCorrection(), BowedSurfaceDeformation::positionCorrection(), StripMeasurementTransformator::projectedTrajectoryParameters(), and SiPixelGaussianSmearingRecHitConverterAlgorithm::smearHit().
{ return basicVector().y();}
BasicVectorType PV2DBase< T, PVType, FrameType >::theVector [protected] |
Definition at line 56 of file PV2DBase.h.
Referenced by PV2DBase< double, PointTag, LocalTag >::basicVector(), and PV2DBase< double, PointTag, LocalTag >::mathVector().