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;
126 Scalar c = -B + A * r - ipOverR;
Scalar coeffA(Scalar impactParameter) const
ThirdHitPredictionFromInvParabola()
const edm::EventSetup & c
Basic2DVector< Scalar > Point2D
PixelRecoRange< float > Range
TkRotation2D< Scalar > Rotation
Point2D transform(Point2D const &p) 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
ThirdHitPredictionFromInvParabola(Scalar x1, Scalar y1, Scalar x2, Scalar y2, Scalar ip, Scalar curv, Scalar tolerance)
Abs< T >::type abs(const T &t)
static const std::string B
Scalar coeffB(Scalar impactParameter) const
PixelRecoRange< Scalar > RangeD
Scalar ipFromCurvature(Scalar curvature, bool pos) const
void findPointAtCurve(Scalar radius, Scalar ip, Scalar &u, Scalar &v) const
Range operator()(Scalar radius, int charge) const
T mag2() const
The vector magnitude squared. Equivalent to vec.dot(vec)
Scalar predV(Scalar u, Scalar ip) const
BasicVector rotateBack(const BasicVector &v) const
Point2D transformBack(Point2D const &p) const
Range operator()(Scalar radius) const
BasicVector rotate(const BasicVector &v) const