From d1412560fff8a297691a768e92f91ee41e3b31c8 Mon Sep 17 00:00:00 2001 From: Gordon McCann Date: Sat, 19 Feb 2022 15:00:44 -0500 Subject: [PATCH] Minor cleanup of leftover prints --- Navigator/src/Navigator/CutMap.h | 2 -- Navigator/src/Navigator/Editor/SpectrumPanel.cpp | 2 +- Navigator/src/Navigator/HistogramMap.h | 2 -- Navigator/src/Navigator/Physics/PhysicsLayer.cpp | 5 ----- 4 files changed, 1 insertion(+), 10 deletions(-) diff --git a/Navigator/src/Navigator/CutMap.h b/Navigator/src/Navigator/CutMap.h index 89642b9..dc3cd66 100644 --- a/Navigator/src/Navigator/CutMap.h +++ b/Navigator/src/Navigator/CutMap.h @@ -84,8 +84,6 @@ namespace Navigator { class NAV_API CutMap { public: - using Iter = std::unordered_map>::iterator; - CutMap(); ~CutMap(); diff --git a/Navigator/src/Navigator/Editor/SpectrumPanel.cpp b/Navigator/src/Navigator/Editor/SpectrumPanel.cpp index a4dfa7b..12d198c 100644 --- a/Navigator/src/Navigator/Editor/SpectrumPanel.cpp +++ b/Navigator/src/Navigator/Editor/SpectrumPanel.cpp @@ -17,7 +17,7 @@ namespace Navigator { } SpectrumPanel::SpectrumPanel() : - m_zoomedFlag(false), m_cutModeFlag(false), m_zoomedGram(), m_nRegions(0), m_totalSlots(1) + m_zoomedFlag(false), m_cutModeFlag(false), m_zoomedGram(), m_totalSlots(1), m_nRegions(0) { m_tableSizes[0] = 1; m_tableSizes[1] = 1; } diff --git a/Navigator/src/Navigator/HistogramMap.h b/Navigator/src/Navigator/HistogramMap.h index 04da155..2a56520 100644 --- a/Navigator/src/Navigator/HistogramMap.h +++ b/Navigator/src/Navigator/HistogramMap.h @@ -13,8 +13,6 @@ namespace Navigator { class NAV_API HistogramMap { public: - using Iter = std::unordered_map>::iterator; - HistogramMap(); ~HistogramMap(); diff --git a/Navigator/src/Navigator/Physics/PhysicsLayer.cpp b/Navigator/src/Navigator/Physics/PhysicsLayer.cpp index 8f21dcc..50e54b2 100644 --- a/Navigator/src/Navigator/Physics/PhysicsLayer.cpp +++ b/Navigator/src/Navigator/Physics/PhysicsLayer.cpp @@ -129,7 +129,6 @@ namespace Navigator { std::lock_guard guard(m_sourceMutex); if (m_source == nullptr || !m_source->IsValid()) { - //NAV_WARN("Internal state of PhysicsEventBuilder not set properly! Either histogram map or data source not initialized!"); m_activeFlag = false; return; } @@ -146,17 +145,13 @@ namespace Navigator { } } - //NAV_INFO("Doing a physics"); - if (m_eventBuilder.AddDatumToEvent(datum)) { event = m_eventBuilder.GetReadyEvent(); - //NAV_INFO("Built event size: {0}", event.size()); for (auto& stage : m_physStack) stage->AnalyzePhysicsEvent(event); histMap.UpdateHistograms(); - //Cleanup to be ready for next event ParameterMap::GetInstance().InvalidateParameters(); } }