22 auto magFieldAtPoint = magField.
inTesla(xmeas);
23 auto BInTesla = magFieldAtPoint.
z();
25 auto mom = momentum * xdiff.
unit();
31 auto curv = (BInTesla * 0.29979f * 0.01f) /
pt;
38 auto sa = 0.5f * xdiff.
perp() * curv * float(charge);
39 auto ca =
sqrt(1.
f - sa * sa);
41 auto pxNew = ca * pxOld + sa * pyOld;
42 auto pyNew = -sa * pxOld + ca * pyOld;
virtual GlobalVector inTesla(const GlobalPoint &gp) const =0
Field value ad specified global point, in Tesla.
Vector3DBase unit() const