15 template <
class T>
inline T sqr(
T t) {
return t*
t;}
26 : theTolerance(torlerance)
46 pv = p1.
y()*p2.
x() - p2.
y()*p1.
x();
58 RangeD ipRangePlus(ipIntyPlus, ipCurvPlus); ipRangePlus.
sort();
59 RangeD ipRangeMinus(-ipIntyPlus, ipCurvMinus); ipRangeMinus.
sort();
76 double ipv[2]={ip.
min(),ip.
max()};
78 for (
int i=0;
i!=2; ++
i)
83 double phi2 = phi1+(v[1]-v[0]);
Basic2DVector< T > xy() const
Basic2DVector< double > Point2D
PixelRecoRange< float > Range
Point2D transform(Point2D const &p) const
Basic2DVector< double > Point2D
void init(const GlobalPoint &P1, const GlobalPoint &P2, double ip, double curv)
void swap(edm::DataFrameContainer &lhs, edm::DataFrameContainer &rhs)
T y() const
Cartesian y coordinate.
double ipFromCurvature(double curvature, double charge) const
PixelRecoRange< double > Ranged
ThirdHitPredictionFromInvParabola(const GlobalPoint &P1, const GlobalPoint &P2, double ip, double curv, double tolerance)
TkRotation2D< double > Rotation
Range rangeRPhi(double radius, int charge) const __attribute__((optimize(3
PixelRecoRange< T > intersection(const PixelRecoRange< T > &r) const
Square< F >::type sqr(const F &f)
BasicVector rotateBack(const BasicVector &v) const
const BasicVectorType & basicVector() const
T x() const
Cartesian x coordinate.
void findPointAtCurve(double radius, double charge, double ip, double &u, double &v) const