Skip to content

Commit 7057c18

Browse files
committed
bug fix when creating diagnostic frequency (clear was missing)
1 parent d933ee4 commit 7057c18

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

DataFormats/Detectors/TOF/src/Diagnostic.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ void Diagnostic::merge(const Diagnostic* prev)
104104
{
105105
LOG(debug) << "Merging diagnostic words";
106106
for (auto const& el : prev->mVector) {
107-
fill(el.first, el.second + getFrequency(el.first));
107+
fill(el.first, el.second);
108108
}
109109
}
110110

Detectors/TOF/base/src/WindowFiller.cxx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -448,6 +448,7 @@ void WindowFiller::checkIfReuseFutureDigitsRO() // the same but using readout in
448448
void WindowFiller::fillDiagnosticFrequency()
449449
{
450450
bool isTOFempty = true;
451+
mDiagnosticFrequency.clear();
451452
// fill diagnostic frequency
452453
for (int j = 0; j < mReadoutWindowData.size(); j++) {
453454
mDiagnosticFrequency.fillROW();

0 commit comments

Comments
 (0)