Skip to content
Snippets Groups Projects
Commit 694b7f5d authored by Carl Gwilliam's avatar Carl Gwilliam
Browse files

Fix compile error

parent ebaf1d5f
No related branches found
No related tags found
No related merge requests found
......@@ -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
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment