Skip to content
Snippets Groups Projects
Commit e6f491b3 authored by Dominik Smith's avatar Dominik Smith Committed by Dominik Smith
Browse files

UnpackTrd2d: Added monitoring print() function.

parent 21cc462c
No related branches found
No related tags found
1 merge request!1156TRD2D Unpacker in cbm::algo.
Pipeline #22438 passed
......@@ -14,6 +14,7 @@
#include <array>
#include <memory>
#include <sstream>
#include <cmath>
......@@ -95,6 +96,13 @@ namespace cbm::algo
+ fNumErrInvalidMsSize + fNumErrTimestampOverflow;
return (numErrors > 0 ? true : false);
}
std::string print()
{
std::stringstream ss;
ss << "errors " << fNumNonHitOrTsbMessage << " | " << fNumErrElinkOutOfRange << " | "
<< fNumErrInvalidFirstMessage << " | " << fNumErrInvalidMsSize << " | " << fNumErrTimestampOverflow << " | ";
return ss.str();
}
};
/** @class UnpackTrd2d
......
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