From f8b9abc70d322d5e6793e08d585cd42b24dd6dc7 Mon Sep 17 00:00:00 2001 From: "Ryan@SOLARIS_testStation" Date: Tue, 15 Oct 2024 17:27:16 -0400 Subject: [PATCH] remove any UpdatePlot in SingleSpectra::FillHistogram --- SingleSpectra.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SingleSpectra.cpp b/SingleSpectra.cpp index 95a1081..be0c05e 100644 --- a/SingleSpectra.cpp +++ b/SingleSpectra.cpp @@ -302,13 +302,13 @@ void SingleSpectra::FillHistograms(){ } hist2D[ID]->Fill(ch, data); } - if( histVisibility[ID][ch] ) hist[ID][ch]->UpdatePlot(); + // if( histVisibility[ID][ch] ) hist[ID][ch]->UpdatePlot(); clock_gettime(CLOCK_REALTIME, &t1); if( t1.tv_nsec - t0.tv_nsec + (t1.tv_sec - t0.tv_sec)*1e9 > maxFillTimePerDigi * 1e6 ) break; } - if( hist2DVisibility[ID] ) hist2D[ID]->UpdatePlot(); + // if( hist2DVisibility[ID] ) hist2D[ID]->UpdatePlot(); // digiMTX[ID].unlock(); }