1341 const size_t sz = 1024*1440*6+1024*160*2;
1345 fDrsCalibBaseline->setValue(-1);
1346 fDrsCalibGain->setValue(-1);
1347 fDrsCalibTrgOffset->setValue(-1);
1348 fDrsCalibROI->setValue(-1);
1350 fDrsCalibBaseline2->setValue(-1);
1351 fDrsCalibGain2->setValue(-1);
1352 fDrsCalibTrgOffset2->setValue(-1);
1353 fDrsCalibROI2->setValue(-1);
1360 if (!
CheckSize(d, sz*
sizeof(
float)+4*
sizeof(uint32_t)))
1364 const uint32_t *
run = d.
ptr<uint32_t>();
1366 fDrsCalibROI->setValue(run[0]);
1367 fDrsCalibBaseline->setValue(run[1]);
1368 fDrsCalibGain->setValue(run[2]);
1369 fDrsCalibTrgOffset->setValue(run[3]);
1371 fDrsCalibROI2->setValue(run[0]);
1372 fDrsCalibBaseline2->setValue(run[1]);
1373 fDrsCalibGain2->setValue(run[2]);
1374 fDrsCalibTrgOffset2->setValue(run[3]);
1376 const float *dat = d.
ptr<
float>(
sizeof(uint32_t)*4);
bool CheckSize(const DimData &d, size_t sz, bool print=true) const
vector< float > fDrsCalibration
const T * ptr(uint32_t offset=0) const