diff --git a/Waveform/WaveDigiTools/WaveDigiTools/IWaveformDigitisationTool.icc b/Waveform/WaveDigiTools/WaveDigiTools/IWaveformDigitisationTool.icc index 8d9a466db6ff2741e10bb8bcda4c2cfbd0363b60..b07e1836ac5cedfefa87a8fcbe8c910de886693c 100644 --- a/Waveform/WaveDigiTools/WaveDigiTools/IWaveformDigitisationTool.icc +++ b/Waveform/WaveDigiTools/WaveDigiTools/IWaveformDigitisationTool.icc @@ -39,6 +39,7 @@ StatusCode IWaveformDigitisationTool::digitise(const CONT* hitCollection, for (const auto& c : counts) { int value = baseline - c.second; if (value < 0) { + MsgStream log(&(*m_msgSvc), name()); log << MSG::WARNING << "Found pulse " << c.second << " larger than baseline " << c.first << endmsg; value = 0; // Protect against scaling signal above baseline }