FACT++
1.0
Main Page
Related Pages
Namespaces
Classes
Files
Examples
static void DrsCalibrate::SlidingAverage
(
float *const
vec
,
const uint32_t
roi
,
const uint16_t
w
)
inline
static
Definition at line
780
of file
DrsCalib.h
.
Referenced by
EventBuilderWrapper::applyCalib()
.
781
{
782
if
(w==0 || w>roi)
783
return
;
784
785
for
(
float
*pix=vec; pix<vec+1440*roi; pix += roi)
786
{
787
for
(
float
*ptr=pix; ptr<pix+roi-w; ptr++)
788
{
789
for
(
float
*p=ptr+1; p<ptr+w; p++)
790
*ptr += *p;
791
*ptr /= w;
792
}
793
}
794
}
Here is the caller graph for this function:
DrsCalibrate
Generated on Sun Sep 18 2016 20:50:50 for FACT++ by
1.8.11