Skip to content

Commit

Permalink
bug fix when creating diagnostic frequency (clear was missing) (#12672)
Browse files Browse the repository at this point in the history
Co-authored-by: noferini <[email protected]>
  • Loading branch information
noferini and noferini authored Feb 8, 2024
1 parent 49fa310 commit 0667094
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion DataFormats/Detectors/TOF/src/Diagnostic.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ void Diagnostic::merge(const Diagnostic* prev)
{
LOG(debug) << "Merging diagnostic words";
for (auto const& el : prev->mVector) {
fill(el.first, el.second + getFrequency(el.first));
fill(el.first, el.second);
}
}

Expand Down
1 change: 1 addition & 0 deletions Detectors/TOF/base/src/WindowFiller.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -448,6 +448,7 @@ void WindowFiller::checkIfReuseFutureDigitsRO() // the same but using readout in
void WindowFiller::fillDiagnosticFrequency()
{
bool isTOFempty = true;
mDiagnosticFrequency.clear();
// fill diagnostic frequency
for (int j = 0; j < mReadoutWindowData.size(); j++) {
mDiagnosticFrequency.fillROW();
Expand Down

0 comments on commit 0667094

Please sign in to comment.