Updated CRV pulse reconstruction for secondary pulses#1872
Conversation
|
Hi @ehrlich-uva,
which require these tests: build. @Mu2e/fnalbuild-users, @Mu2e/write have access to CI actions on main. ⌛ The following tests have been triggered for 00dce12: build (Build queue - API unavailable) |
|
☀️ The build tests passed at 00dce12.
N.B. These results were obtained from a build of this Pull Request at 00dce12 after being merged into the base branch at 3d84f93. For more information, please check the job page here. |
Issues found1. if(_failedFits.size()>0)
{
if(_failedFits.back()) _failedFits.push_back(true);
else _failedFits.push_back(failedFit);
}
else _failedFits.push_back(failedFit);Once any fit fails, 2. Unbounded loop risk if while(FindNextPeak(g, start, peakStart, peakEnd, fitStart, fitEnd))
{
...
start=fitEnd;
}The loop advances via 3. Removed config-validation guard, silently — 4. 5. int16_t diff=static_cast<int16_t>(std::round(_f1.Eval(t)));
g.SetPointY(bin,g.GetPointY(bin)-diff);
6. clang-tidy: 2 errors, 32 warnings — clang-tidy log |
|
Responses:
|
No description provided.