1 #ifndef ThirdHitPredictionFromInvParabola_H 2 #define ThirdHitPredictionFromInvParabola_H 25 namespace PixelTriplets_InvPrbl_prec {
28 namespace PixelTriplets_InvPrbl_t {
66 init(P1.
x(), P1.
y(), P2.
x(), P2.
y(), ip, curv);
94 return c -
u1u2 * impactParameter;
99 return c -
su * impactParameter;
106 return (
pos ? inInf : -inInf) -
curvature * overU1u2 * 0.5;
ThirdHitPredictionFromInvParabola()
Scalar ipFromCurvature(Scalar curvature, bool pos) const
Scalar predV(Scalar u, Scalar ip) const
BasicVector rotateBack(const BasicVector &v) const
Basic2DVector< Scalar > Point2D
PixelRecoRange< float > Range
TkRotation2D< Scalar > Rotation
Scalar coeffB(Scalar impactParameter) const
T curvature(T InversePt, const MagneticField &field)
void init(const GlobalPoint &P1, const GlobalPoint &P2, Scalar ip, Scalar curv)
Range rangeRPhi(Scalar radius, int charge) const
Scalar coeffA(Scalar impactParameter) const
ThirdHitPredictionFromInvParabola(Scalar x1, Scalar y1, Scalar x2, Scalar y2, Scalar ip, Scalar curv, Scalar tolerance)
Abs< T >::type abs(const T &t)
Point2D transformBack(Point2D const &p) const
Range operator()(Scalar radius) const
Range operator()(Scalar radius, int charge) const
PixelRecoRange< Scalar > RangeD
Point2D transform(Point2D const &p) const
BasicVector rotate(const BasicVector &v) const
void findPointAtCurve(Scalar radius, Scalar ip, Scalar &u, Scalar &v) const