Commit Graph

43 Commits

Author SHA1 Message Date
Ryan Tang fe6bdb82ff simplify code for multi thread 2024-10-22 13:56:26 -04:00
Ryan Tang b8011bc834 [Major] True parallel thread for filling histogram 2024-10-22 12:56:26 -04:00
Ryan Tang ae0e0f2c7b add ClassData::GetAbsDataIndex() 2024-10-21 19:47:02 -04:00
Ryan Tang 39f479534e simplify SingleSpectra.cpp 2024-10-21 19:25:30 -04:00
Ryan Tang 804fa07c9c add QCoreApplication::processEvent() to solve the GUI lagging 2024-10-21 19:11:44 -04:00
Ryan Tang 4e111085c0 in ClassDigitizer, get data can use totalIndex, which will % dataSize. simplify HistFilling. Qthread will block mainGUI ? 2024-10-21 19:09:44 -04:00
Ryan Tang 921580a6c6 small bug fix for Filling Historgam when trigge rate > 10k 2024-10-16 18:32:20 -04:00
Ryan Tang 84b89cb36a change the SingleSpectra::FillHistogram() Algorithm 2024-10-16 16:56:59 -04:00
Ryan Tang f8b9abc70d remove any UpdatePlot in SingleSpectra::FillHistogram 2024-10-15 17:27:16 -04:00
Ryan Tang 25d074a393 update the master branch from 0ee20bc 2024-09-30 18:38:48 -04:00
Ryan Tang b3ace2cc84 [MAJOR] Analayzer::UpdateHistograms moved to a worker that in a thread, only tested with CoincidentAnalyzer, need to change others 2024-08-29 14:45:11 -04:00
Ryan Tang a5914f8ff8 restructure the workers 2024-08-28 17:58:12 -04:00
Ryan Tang fbd98067da remove some printf, remove Rebin button in SingleSpatra class 2024-08-28 16:53:25 -04:00
Ryan Tang 0a751eaab1 [Major] remove histogram timing thread, make a new worker, move to a thread to fill histograms 2024-08-28 16:45:23 -04:00
Ryan Tang 6faeaf7c9b add Toggle line display on histogram 1D 2024-08-20 12:22:26 -04:00
Ryan Tang a58ddbc6d4 bugs fix for online histograms 2024-08-20 11:20:12 -04:00
Ryan Tang 0895ad57ed SingleHistogram add energy Long for PSD, add SplotPolePlotter_MT.C 2024-08-19 18:53:59 -04:00
Ryan Tang e13db06ed3 remove unneccesary mutex lock aand unlock for read only operations 2024-08-19 12:27:51 -04:00
MUSIC 002a10b4e0 bug fix on MUSICAnalyzer.h 2024-08-01 16:03:50 -05:00
MUSIC 478d1cdf38 add MUSIC Analyr. Online evt buidr fail... 2024-07-30 11:56:10 -05:00
MUSIC f7a7dff2a3 screen too small fix again 2024-07-26 14:48:20 -05:00
Calem@RAISOR 779c4a87c9 resize window when screen too small 2024-07-26 14:21:16 -05:00
Ryan Tang d0133cc864 bugs fix on SingleSpectrum 2D historgram not loading saved setting 2024-06-17 17:44:31 -04:00
Ryan Tang 513608e991 SingleSpectrum, add button to rebin y-axis for whole digitizer 2024-04-25 18:24:05 -04:00
Ryan Tang dfe4c4738b solved the slow down problem by repaint the main window 2024-04-18 10:06:55 -04:00
Ryan Tang 3c8229fbfb fixed histogram fill zero 2024-04-12 18:53:00 -04:00
Ryan Tang bedbe44164 improved Histogram2D color map, set every cell to nan = white; improve the SingleSpectrum filling algorithm, fill random digi and random ch 2024-04-05 22:33:05 -04:00
Ryan Tang 1af2bd4ce9 slightly reduce function call 2024-03-22 17:20:07 -04:00
Ryan Tang a0f9c4d727 add DebugPrint() Macro, for detail debug, fixed the histogram always fill old data 2024-03-22 16:47:33 -04:00
Ryan Tang 6a55ceb884 added maxFillTimeMilliSec for filling single spectra 2024-03-22 12:43:17 -04:00
Ryan Tang 66f3ba2f02 when data rate > 10k/sec, histogram will only fill the latest 10k data 2024-03-21 16:57:34 -04:00
carina@hades 0927cca571 better data encaptule for ClassData.h 2024-01-26 14:53:52 -05:00
splitPoleDAQ 14c2ceab6c [MAJOR CHANGE] change ClassData, Timestamp, energy, etc, be dynamically allocated, NOT TESTED, compiled not problem 2024-01-18 23:09:50 -05:00
carina@hades f50383d336 fixed histogram. stay at all ch when change digi 2023-12-12 18:09:43 -05:00
splitPoleDAQ a34bf75d5f fix soem display bugs, fix 2D historgram mergin 2023-11-21 15:34:29 -05:00
carina@hades f9758a670a added 2D historgam (ch vs energy) for single spectrum 2023-11-06 17:46:43 -05:00
carina@hades 05cf434d6e chaneg the way to open digitizer, provide option to load settings, fix Single SPrectrum bug 2023-10-26 17:57:06 -04:00
carina@hades 739fa105c5 varibles name improve, tested more GUI 2023-10-09 17:46:32 -04:00
carina@hades 1faaea4dcb add MaxRegChannels to solve the channel number and register channel number are different 2023-10-06 16:50:28 -04:00
carina@hades c20771567b histogram bug fix. histogram internal counter not reset after ACQ stop or histogram clear 2023-08-16 17:54:35 -04:00
splitPoleDAQ 983c8b6cb5 remove rebin settings for SingleSpectra, use rigth click 2023-07-11 18:29:38 -04:00
splitPoleDAQ 02d5964de7 added rebin Histogram1D by right click 2023-06-05 19:06:07 -04:00
splitPoleDAQ b39a1eff4a rename CanvasClass to SingleSPectra, OnlineAnalyzer to Analyser, add historgam settings in SingleSpectra class 2023-06-02 15:41:26 -04:00