Changeset 12468 for trunk/FACT++
- Timestamp:
- 11/09/11 16:31:17 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/gui/FactGui.h
r12432 r12468 1616 1616 fDrsCalibGain->setValue(0); 1617 1617 fDrsCalibTrgOffset->setValue(0); 1618 fDrsCalibration.assign(1024*1440*6 , 0);1618 fDrsCalibration.assign(1024*1440*6+1024*160*2, 0); 1619 1619 DisplayEventData(); 1620 1620 return; 1621 1621 } 1622 1622 1623 if (!CheckSize(d, 1024*1440*6*sizeof(float)+ 3*sizeof(uint32_t)))1623 if (!CheckSize(d, 1024*1440*6*sizeof(float)+1024*160*2*sizeof(float)+3*sizeof(uint32_t))) 1624 1624 // Do WHAT? 1625 1625 return; … … 1631 1631 fDrsCalibTrgOffset->setValue(run[2]); 1632 1632 1633 const float *dat = d.ptr<float>(sizeof(uint32_t)* 3);1634 fDrsCalibration.assign(dat, dat+1024*1440*6 );1633 const float *dat = d.ptr<float>(sizeof(uint32_t)*4); 1634 fDrsCalibration.assign(dat, dat+1024*1440*6+1024*160*2); 1635 1635 1636 1636 DisplayEventData(); … … 3952 3952 fDimRateScan ("RATE_SCAN/DATA", (void*)NULL, 0, this), 3953 3953 //- 3954 fEventData(0), fDrsCalibration(1440*1024*6 ),3954 fEventData(0), fDrsCalibration(1440*1024*6+160*1024*2), 3955 3955 fTimeStamp0(0) 3956 3956 {
Note:
See TracChangeset
for help on using the changeset viewer.