17 float sinPhi=0, cosPhi=0;
22 if (diff.mag2() < 1.e-10) {
28 dir =
Vector2D( lDir.x(), lDir.y());;
38 pos =
Vector2D( lPos.
x()*cosPhi + lPos.
y()*sinPhi,
39 -lPos.
x()*sinPhi + lPos.
y()*cosPhi);
40 dir =
Vector2D( lDir.x()*cosPhi + lDir.y()*sinPhi,
41 -lDir.x()*sinPhi + lDir.y()*cosPhi);
46 double x = pos.
x() + dir.
x()/lDir.z()*d - 0.5*rho*d*d;
47 double y = pos.
y() + dir.
y()/lDir.z()*d;
59 x*sinPhi + y*cosPhi, 0);
60 float px = dir.
x()+rho*d;
62 px*sinPhi + dir.
y()*cosPhi, lDir.z());
Surface::GlobalVector GlobalVector
Basic2DVector< float > Vector2D
LocalPoint toLocal(const GlobalPoint &gp) const
HelixBarrelPlaneCrossing2OrderLocal()
T y() const
Cartesian y coordinate.
Surface::LocalVector LocalVector
Surface::LocalPoint LocalPoint
T x() const
Cartesian x coordinate.