Skip to content
Snippets Groups Projects
Commit 66e6a9ca authored by Chao Peng's avatar Chao Peng
Browse files

fix a type in WfAnalyzer

parent 89a910b4
Branches
No related tags found
No related merge requests found
......@@ -153,7 +153,7 @@ public:
// calculate pedestal
if (nped <= nsamples/4) {
data.ped = CalcPedestal(&buffer[0], nsamples, 1.5, 3);
data.ped = CalcPedestal(&ybuf[0], nsamples, 1.5, 3);
} else {
data.ped = CalcPedestal(&ybuf[0], nped, 1.2, 3);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment