35 for (
unsigned char i = 0; i < fvecLen; i++) {
36 lvalue.
Bx[i] = value[i].
Bx;
37 lvalue.
By[i] = value[i].
By;
38 lvalue.
Bz[i] = value[i].
Bz;
51 for (
unsigned char i = 0; i < fvecLen; i++) {
54 lpar.
Tx[i] = par[i].
Tx;
55 lpar.
Ty[i] = par[i].
Ty;
56 lpar.
Qp[i] = par[i].
Qp;
58 lpar.
C0[i] = par[i].
C0;
59 lpar.
C1[i] = par[i].
C1;
60 lpar.
C2[i] = par[i].
C2;
61 lpar.
C3[i] = par[i].
C3;
62 lpar.
C4[i] = par[i].
C4;
63 lpar.
C5[i] = par[i].
C5;
64 lpar.
C6[i] = par[i].
C6;
65 lpar.
C7[i] = par[i].
C7;
66 lpar.
C8[i] = par[i].
C8;
67 lpar.
C9[i] = par[i].
C9;
85 for (
unsigned char i = 0; i < fvecLen; i++) {
88 par[i].
Tx = lpar.
Tx[i];
89 par[i].
Ty = lpar.
Ty[i];
90 par[i].
Qp = lpar.
Qp[i];
92 par[i].
C0 = lpar.
C0[i];
93 par[i].
C1 = lpar.
C1[i];
94 par[i].
C2 = lpar.
C2[i];
95 par[i].
C3 = lpar.
C3[i];
96 par[i].
C4 = lpar.
C4[i];
97 par[i].
C5 = lpar.
C5[i];
98 par[i].
C6 = lpar.
C6[i];
99 par[i].
C7 = lpar.
C7[i];
100 par[i].
C8 = lpar.
C8[i];
101 par[i].
C9 = lpar.
C9[i];
153 for (
unsigned char i = 0; i < fvecLen; i++) {
154 lhit.
X[i] = hit[i].
X;
155 lhit.
Y[i] = hit[i].
Y;
156 lhit.
Dx[i] = hit[i].
Dx;
157 lhit.
Dy[i] = hit[i].
Dy;
172 for (
unsigned char i = 0; i < fvecLen; i++) {
173 hit[i].
X = lhit.
X[i];
174 hit[i].
Y = lhit.
Y[i];
175 hit[i].
Dx = lhit.
Dx[i];
176 hit[i].
Dy = lhit.
Dy[i];
194 for (
unsigned char i = 0; i < fvecLen; i++) {
220 lparLast.
X[i] = par->
X;
221 lparLast.
Y[i] = par->
Y;
222 lparLast.
Tx[i] = par->
Tx;
223 lparLast.
Ty[i] = par->
Ty;
224 lparLast.
Qp[i] = par->
Qp;
225 lparLast.
Z[i] = par->
Z;
226 lparLast.
C0[i] = par->
C0;
227 lparLast.
C1[i] = par->
C1;
228 lparLast.
C2[i] = par->
C2;
229 lparLast.
C3[i] = par->
C3;
230 lparLast.
C4[i] = par->
C4;
231 lparLast.
C5[i] = par->
C5;
232 lparLast.
C6[i] = par->
C6;
233 lparLast.
C7[i] = par->
C7;
234 lparLast.
C8[i] = par->
C8;
235 lparLast.
C9[i] = par->
C9;
236 lparLast.
C10[i] = par->
C10;
237 lparLast.
C11[i] = par->
C11;
238 lparLast.
C12[i] = par->
C12;
239 lparLast.
C13[i] = par->
C13;
240 lparLast.
C14[i] = par->
C14;
243 unsigned short nofHits = track[0]->
GetNofHits();
244 for (
unsigned short iHit = 0; iHit < nofHits; iHit++) {
246 for (
unsigned char i = 0; i < fvecLen; i++) {
250 lhit->
Dx[i] = hit->
Dx;
251 lhit->
Dy[i] = hit->
Dy;
272 std::cout <<
"UnpackTrack: not implemented!" << std::endl;
Track parameters data class.
Header files for SSE operations.
Magnetic field value at a certain point in the space.
Base class for pixel hits.
Base class for scalar pixel hits.
Track parameters data class.
unsigned short GetNofHits() const
Return number of hits in track.
vector< LitPixelHit< T > * > hits
LitTrackParam< T > paramLast
void PackPixelHit(const LitScalPixelHit hit[], LitPixelHit< fvec > &lhit)
Packs LitPixelHit.
void UnpackTrackParam(const LitTrackParam< fvec > &lpar, LitTrackParam< fscal > par[])
Unpacks LitTrackParam.
void UnpackTrack(const LitTrack< fvec > <rack, LitTrack< fscal > track[])
Unpacks LitTrack.
void UnpackPixelHit(const LitPixelHit< fvec > &lhit, LitScalPixelHit hit[])
Unpacks LitPixelHit.
void PackFieldValue(const LitFieldValue< fscal > value[], LitFieldValue< fvec > &lvalue)
Packs LitFieldValue.
void PackTrackParam(const LitTrackParam< fscal > par[], LitTrackParam< fvec > &lpar)
Packs LitTrackParam.
void PackTrack(const LitTrack< fscal > *track[], LitTrack< fvec > <rack)
Packs LitTrack.