diff --git a/algo/ca/core/tracking/CaTrackFinder.cxx b/algo/ca/core/tracking/CaTrackFinder.cxx index 75c902a8a0c368fae53df9291eee4b15a05ce736..9326f1d97b0f37967d058d951f838fff8748e456 100644 --- a/algo/ca/core/tracking/CaTrackFinder.cxx +++ b/algo/ca/core/tracking/CaTrackFinder.cxx @@ -262,7 +262,7 @@ TrackFinder::Output_t TrackFinder::FindTracks(const InputData& input, TimesliceH } //time.Stop(); //LOG(info) << "Thread boarders estimation time: " << time.GetTotalMs() << " ms"; - LOG(info) << "Fraction of hits from monster events: " << static_cast<double>(nHitsTot - nHitsCollected) / nHitsTot; + LOG(debug) << "Fraction of hits from monster events: " << static_cast<double>(nHitsTot - nHitsCollected) / nHitsTot; } @@ -487,11 +487,11 @@ void TrackFinder::FindTracksThread(const InputData& input, int iThread, fscal& w if (dataRead > 100.) { dataRead = 100.; } - LOG(info) << "CA tracker process sliding window N " << statNwindows << ": time " << windowStart / 1.e6 - << " ms + " << fWindowLength / 1.e3 << " us) with " << statNwindowHits << " hits. " - << " Processing " << dataRead << " % of the TS time and " - << 100. * statNhitsProcessed / fStatNhitsTotal << " % of TS hits." - << " Already reconstructed " << fvRecoTracks[iThread].size() << " tracks on thread #" << iThread; + LOG(debug) << "CA tracker process sliding window N " << statNwindows << ": time " << windowStart / 1.e6 + << " ms + " << fWindowLength / 1.e3 << " us) with " << statNwindowHits << " hits. " + << " Processing " << dataRead << " % of the TS time and " + << 100. * statNhitsProcessed / fStatNhitsTotal << " % of TS hits." + << " Already reconstructed " << fvRecoTracks[iThread].size() << " tracks on thread #" << iThread; } } diff --git a/reco/L1/CbmCaTimeSliceReader.cxx b/reco/L1/CbmCaTimeSliceReader.cxx index f396a1f638dcf9d57904616eb79fe1519951db6e..8a4d7d87fd3ca362bbd128c2691097348ab93c7b 100644 --- a/reco/L1/CbmCaTimeSliceReader.cxx +++ b/reco/L1/CbmCaTimeSliceReader.cxx @@ -508,7 +508,7 @@ void TimeSliceReader::ReadHits() fNofHits = std::accumulate(fvNofHitsUsed.cbegin(), fvNofHitsUsed.cend(), 0); - LOG(info) << "CA: N hits used/tot = " << fNofHits << "/" << nHitsTot; + LOG(debug) << "CA: N hits used/tot = " << fNofHits << "/" << nHitsTot; // Update number of hit keys in input data object if (fpIODataManager) { diff --git a/reco/L1/CbmL1.cxx b/reco/L1/CbmL1.cxx index 59e4629e6052a12bf97263560aebe64f9856acc1..0158fd1f3c7ab8aff91c125fab299b8c5505970d 100644 --- a/reco/L1/CbmL1.cxx +++ b/reco/L1/CbmL1.cxx @@ -280,10 +280,15 @@ try { auto tofInterface = CbmTofTrackingInterface::Instance(); if (fUseTOF) { - LOG(info) << "TOF module map"; + LOG(debug) << "TOF module map"; + std::stringstream ssAddr; + std::stringstream ssStation; for (auto [addr, iSt] : tofInterface->GetAddressToStationMap()) { - LOG(info) << Form("%#010x %2d", addr, iSt); + ssAddr << Form("%#010x ", addr); + ssStation << Form("%10d ", iSt); } + LOG(debug) << ssAddr.str(); + LOG(debug) << ssStation.str(); } int nMvdStationsGeom = (fUseMVD) ? mvdInterface->GetNtrackingStations() : 0; @@ -639,17 +644,17 @@ void CbmL1::Reconstruct(CbmEvent* event) fpAlgo->SetMonitorData(monitorData); if (nullptr != event) { - LOG_IF(info, fVerbose > 0) << "\n======= Ca Track finder: process event " << event->GetNumber() << " ..."; + LOG_IF(debug, fVerbose > 0) << "\n======= Ca Track finder: process event " << event->GetNumber() << " ..."; } else { - LOG_IF(info, fVerbose > 0) << "\n======= Ca Track finder: process timeslice ..."; + LOG_IF(debug, fVerbose > 0) << "\n======= Ca Track finder: process timeslice ..."; } fpAlgo->FindTracks(); // IdealTrackFinder(); fTrackingTime = fpAlgo->fCaRecoTime; // TODO: remove (not used) - LOG_IF(info, fVerbose > 0) << "Ca Track Finder finished, found " << fpAlgo->fRecoTracks.size() << " tracks"; + LOG_IF(debug, fVerbose > 0) << "Ca Track Finder finished, found " << fpAlgo->fRecoTracks.size() << " tracks"; // Update monitor data after the actual tracking monitorData = fpAlgo->GetMonitorData(); @@ -680,7 +685,7 @@ void CbmL1::Reconstruct(CbmEvent* event) } //fMonitor.IncrementCounter(EMonitorKey::kRecoTrack, fvRecoTracks.size()); - LOG(info) << "CA Track Finder: " << fpAlgo->fCaRecoTime << " s/sub-ts"; + LOG(debug) << "CA Track Finder: " << fpAlgo->fCaRecoTime << " s/sub-ts"; // output performance if (fPerformance) { @@ -704,9 +709,9 @@ void CbmL1::Reconstruct(CbmEvent* event) } // TimeHist(); /// WriteSIMDKFData(); + LOG_IF(info, fVerbose > 1) << "Tracking performance... done"; } - LOG_IF(info, fVerbose > 1) << "Tracking performance... done"; - LOG_IF(info, fVerbose > 1) << "End of CA"; + LOG_IF(debug, fVerbose > 1) << "End of CA"; ++fEventNo; fMonitor.AddMonitorData(monitorData);