Definition at line 424 of file DrsCalib.h.
Referenced by CorrectStep().
430 if (pos==0 || pos>=roi)
438 for (
int p=0; p<8; p++)
440 const size_t hw = ch0+p;
441 const size_t sw = (map?map[hw]:hw)*roi + pos;
443 const double diff = vec[sw]-vec[sw-1];
446 rms += (vec[sw]-vec[sw-1])*(vec[sw]-vec[sw-1]);
451 return cnt==0 ? 0 : step/cnt;