65 HepPoint3D TrkPosition(trackPosition[0], trackPosition[1], trackPosition[2]);
69 double radius = sqrt(vtx[0]*vtx[0] + vtx[1]*vtx[1]);
70 if (radius < 150 &&
abs(vtx[2]) < 150) {
71 m_pIMF->fieldVector(10.0*Vtx, vector_vtx);
72 m_pIMF->fieldVector(10.0*TrkPosition, vector_trk);
73 return 1000 * alpha * (vector_vtx.z() + vector_trk.z())/2;
75 return 1000 * alpha* m_pIMF->getReferField();