From cf8b8cdc1629e263db8b30218f1ddbae6ca06d58 Mon Sep 17 00:00:00 2001
From: P-A Loizeau <p.-a.loizeau@gsi.de>
Date: Thu, 28 Nov 2024 17:25:10 +0100
Subject: [PATCH] [flestool] add missing new line between MS desc and MS data
 in TS printout

---
 core/base/utils/flestools/CbmFormatTsPrintout.cxx | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/core/base/utils/flestools/CbmFormatTsPrintout.cxx b/core/base/utils/flestools/CbmFormatTsPrintout.cxx
index 625e605e4a..e0da34c5fc 100644
--- a/core/base/utils/flestools/CbmFormatTsPrintout.cxx
+++ b/core/base/utils/flestools/CbmFormatTsPrintout.cxx
@@ -72,13 +72,13 @@ std::string FormatTsPrintout(const fles::Timeslice& ts)
     for (size_t compIdx = 0; compIdx < nbComps; ++compIdx) {
       ss << "Core Microslices for component " << std::setw(3) << compIdx << std::endl;
       for (size_t msIdx = 0; msIdx < nbMicroslicesCore; ++msIdx) {
-        ss << ts.descriptor(compIdx, msIdx);
+        ss << ts.descriptor(compIdx, msIdx) << std::endl;
         ss << FormatMsBufferPrintout(ts, compIdx, msIdx);
         ss << "----------------------------------------------" << std::endl;
       }  // for( size_t msIdx = 0; msIdx < nbMicroslicesCore; ++msIdx )
       ss << "Overlap Microslices for component " << std::setw(3) << compIdx << std::endl;
       for (size_t msIdx = 0; msIdx < nbMicroslicesOverlap; ++msIdx) {
-        ss << ts.descriptor(compIdx, msIdx + nbMicroslicesCore);
+        ss << ts.descriptor(compIdx, msIdx + nbMicroslicesCore) << std::endl;
         ss << FormatMsBufferPrintout(ts, compIdx, msIdx + nbMicroslicesCore);
         ss << "----------------------------------------------" << std::endl;
       }  // for( size_t msIdx = 0; msIdx < nbMicroslicesOverlap; ++msIdx )
@@ -100,13 +100,13 @@ std::ostream& operator<<(std::ostream& os, const fles::Timeslice& ts)
   for (size_t compIdx = 0; compIdx < nbComps; ++compIdx) {
     os << "Core Microslices for component " << std::setw(3) << compIdx << std::endl;
     for (size_t msIdx = 0; msIdx < nbMicroslicesCore; ++msIdx) {
-      os << ts.descriptor(compIdx, msIdx);
+      os << ts.descriptor(compIdx, msIdx) << std::endl;
       os << FormatMsBufferPrintout(ts, compIdx, msIdx);
       os << "----------------------------------------------" << std::endl;
     }  // for( size_t msIdx = 0; msIdx < nbMicroslicesCore; ++msIdx )
     os << "Overlap Microslices for component " << std::setw(3) << compIdx << std::endl;
     for (size_t msIdx = 0; msIdx < nbMicroslicesOverlap; ++msIdx) {
-      os << ts.descriptor(compIdx, msIdx + nbMicroslicesCore);
+      os << ts.descriptor(compIdx, msIdx + nbMicroslicesCore) << std::endl;
       os << FormatMsBufferPrintout(ts, compIdx, msIdx + nbMicroslicesCore);
       os << "----------------------------------------------" << std::endl;
     }  // for( size_t msIdx = 0; msIdx < nbMicroslicesOverlap; ++msIdx )
-- 
GitLab