1
0
Fork 0
mirror of https://github.com/gwm17/Specter.git synced 2024-11-23 02:38:52 -05:00

Minor cleanup of leftover prints

This commit is contained in:
Gordon McCann 2022-02-19 15:00:44 -05:00
parent d1636839db
commit d1412560ff
4 changed files with 1 additions and 10 deletions

View File

@ -84,8 +84,6 @@ namespace Navigator {
class NAV_API CutMap class NAV_API CutMap
{ {
public: public:
using Iter = std::unordered_map<std::string, std::shared_ptr<Cut>>::iterator;
CutMap(); CutMap();
~CutMap(); ~CutMap();

View File

@ -17,7 +17,7 @@ namespace Navigator {
} }
SpectrumPanel::SpectrumPanel() : 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; m_tableSizes[0] = 1; m_tableSizes[1] = 1;
} }

View File

@ -13,8 +13,6 @@ namespace Navigator {
class NAV_API HistogramMap class NAV_API HistogramMap
{ {
public: public:
using Iter = std::unordered_map<std::string, std::shared_ptr<Histogram>>::iterator;
HistogramMap(); HistogramMap();
~HistogramMap(); ~HistogramMap();

View File

@ -129,7 +129,6 @@ namespace Navigator {
std::lock_guard<std::mutex> guard(m_sourceMutex); std::lock_guard<std::mutex> guard(m_sourceMutex);
if (m_source == nullptr || !m_source->IsValid()) 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; m_activeFlag = false;
return; return;
} }
@ -146,17 +145,13 @@ namespace Navigator {
} }
} }
//NAV_INFO("Doing a physics");
if (m_eventBuilder.AddDatumToEvent(datum)) if (m_eventBuilder.AddDatumToEvent(datum))
{ {
event = m_eventBuilder.GetReadyEvent(); event = m_eventBuilder.GetReadyEvent();
//NAV_INFO("Built event size: {0}", event.size());
for (auto& stage : m_physStack) for (auto& stage : m_physStack)
stage->AnalyzePhysicsEvent(event); stage->AnalyzePhysicsEvent(event);
histMap.UpdateHistograms(); histMap.UpdateHistograms();
//Cleanup to be ready for next event
ParameterMap::GetInstance().InvalidateParameters(); ParameterMap::GetInstance().InvalidateParameters();
} }
} }