Changeset 19692 for trunk/FACT++
- Timestamp:
- 09/27/19 20:10:05 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/gui/RawEventsViewer/RawEventsViewer.cc
r19686 r19692 861 861 for (vector<PixelMapEntry>::const_iterator it=fPixelMap.begin(); it!=fPixelMap.end(); it++) 862 862 { 863 //if (it->index>=nPixels) 864 // continue; 865 863 866 Meanvalues[it->index] = pixelStatsData[0*1440+it->hw()]; 864 867 RMSvalues[it->index] = pixelStatsData[1*1440+it->hw()]; … … 2029 2032 for (int j=0;j<1440;j++) { 2030 2033 currentPixel = j; 2034 if (GLWindow->softwareMapping[j]>=GLWindow->nPixels) 2035 continue; 2031 2036 for (int i=0;i<GLWindow->nRoi;i++) 2032 2037 { … … 2036 2041 } 2037 2042 for (int i=0;i<GLWindow->nRoi;i++) 2038 yval[i] /= 1440;2043 yval[i] /= GLWindow->nPixels; 2039 2044 #if QWT_VERSION < 0x060000 2040 2045 pixelAverageCurveItem.setData(xval, yval, GLWindow->nRoi);
Note:
See TracChangeset
for help on using the changeset viewer.