19 constexpr
double s_cnstBMAG = 1.997;
25 double&
bx,
double&
by,
double&
bz,
28 if (FitControl ==
nullptr || (FitControl->vk_funcMagFld ==
nullptr &&
29 FitControl->vk_objMagFld ==
nullptr)) {
33 if (FitControl->vk_funcMagFld) {
34 FitControl->vk_funcMagFld(
X,
Y, Z,
bx,
by,
bz);
35 }
else if (FitControl->vk_objMagFld) {
36 FitControl->vk_objMagFld->getMagFld(
X,
Y, Z,
bx,
by,
bz);
42 double bx = 0.,
by = 0.,
bz = 0.;
43 if (FitControl ==
nullptr || (FitControl->vk_funcMagFld ==
nullptr &&
44 FitControl->vk_objMagFld ==
nullptr)) {
48 if (FitControl->vk_funcMagFld) {
50 }
else if (FitControl->vk_objMagFld) {
51 FitControl->vk_objMagFld->getMagFld(
xyz[0],
xyz[1],
xyz[2],
bx,
by,
bz);