23 #ifndef KFParticleField_h
24 #define KFParticleField_h 1
65 return out << B.
x[0] <<
" | " << B.
y[0] <<
" | " << B.
z[0];
90 for(
int i=0;
i<10;
i++)
121 float_v dz1 = B1z-B0z, dz2 = B2z-B0z;
122 float_v det = 1.f/(float_v(dz1*dz2*(dz2-dz1)));
123 float_v w21 = -dz2*det;
124 float_v w22 = dz1*det;
125 float_v w11 = -dz2*w21;
126 float_v w12 = -dz1*w22;
128 float_v dB1 = B1.
x - B0.
x;
129 float_v dB2 = B2.
x - B0.
x;
131 fField[1] = dB1*w11 + dB2*w12 ;
132 fField[2] = dB1*w21 + dB2*w22 ;
137 fField[4] = dB1*w11 + dB2*w12 ;
138 fField[5] = dB1*w21 + dB2*w22 ;
143 fField[7] = dB1*w11 + dB2*w12 ;
144 fField[8] = dB1*w21 + dB2*w22 ;
157 float_v dzi = 1.f/(float_v( B1z - B0z));
173 for(
int i=0;
i<10;
i++)
184 for(
int i=0;
i<10;
i++)