1305 if (!
CheckSize(d, 4*1440*
sizeof(
float)))
1308 if (fEventsStop->isChecked())
1311 const float *ptr = d.
ptr<
float>();
1313 valarray<double> arr1(1440);
1314 valarray<double> arr2(1440);
1315 valarray<double> arr3(1440);
1316 valarray<double> arr4(1440);
1318 for (vector<PixelMapEntry>::const_iterator it=
fPixelMap.begin(); it!=
fPixelMap.end(); it++)
1320 arr1[it->index] = ptr[0*1440+it->hw()];
1321 arr2[it->index] = ptr[1*1440+it->hw()];
1322 arr3[it->index] = ptr[2*1440+it->hw()];
1323 arr4[it->index] = ptr[3*1440+it->hw()];
1326 fEventCanv1->SetData(arr1);
1327 fEventCanv2->SetData(arr2);
1328 fEventCanv3->SetData(arr3);
1329 fEventCanv4->SetData(arr4);
1331 fEventCanv1->updateCamera();
1332 fEventCanv2->updateCamera();
1333 fEventCanv3->updateCamera();
1334 fEventCanv4->updateCamera();
bool CheckSize(const DimData &d, size_t sz, bool print=true) const
const T * ptr(uint32_t offset=0) const