Commit 2a3a01ac authored by Lennart Huth's avatar Lennart Huth
Browse files

smarter printing, thx @simonspa

parent f1793985
......@@ -71,8 +71,8 @@ StatusCode EventLoaderEUDAQ::run(std::shared_ptr<Clipboard> clipboard) {
auto row = static_cast<int>(plane.GetY(ipix));
if(col >= detector->nPixels().X() || row >= detector->nPixels().Y()) {
LOG(WARNING) << "Pixel address " << col << ", " << row << " is outside of pixel matrix with size ( "
<< detector->nPixels().X() << ", " << detector->nPixels().Y() << ")";
LOG(WARNING) << "Pixel address " << col << ", " << row << " is outside of pixel matrix with size "
<< detector->nPixels();
}
// Check if this pixel is masked
......
......@@ -333,8 +333,8 @@ std::shared_ptr<PixelVector> EventLoaderEUDAQ2::get_pixel_data(std::shared_ptr<e
auto ts = static_cast<double>(plane.GetTimestamp(i)) / 1000 + m_detector->timingOffset();
if(col >= m_detector->nPixels().X() || row >= m_detector->nPixels().Y()) {
LOG(WARNING) << "Pixel address " << col << ", " << row << " is outside of pixel matrix with size ( "
<< m_detector->nPixels().X() << ", " << m_detector->nPixels().Y() << ")";
LOG(WARNING) << "Pixel address " << col << ", " << row << " is outside of pixel matrix with size "
<< m_detector->nPixels();
}
if(m_detector->masked(col, row)) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment