Commit Graph

369 Commits

Author SHA1 Message Date
Ryan Tang 8b7d93a9fe When open digi setting or Scope, update settings from memory 2024-10-28 13:24:38 -04:00
Ryan Tang 4ab72dc43d fix all code with parallel thread 2024-10-22 16:38:01 -04:00
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 0d379fec92 use AbsDataIndex in MultiBuilder 2024-10-21 19:53:42 -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 ae567c0714 improve scope for QDC and PSD, add subChannelMask in Scope 2024-10-21 15:11:33 -04:00
Ryan Tang 9367670a53 bug fix of Scope, only-1-channel for QDC 2024-10-18 17:54:43 -04:00
Ryan Tang d67dc8d3ed add elog port number 2024-10-18 16:30:21 -04:00
Ryan Tang 2e9a64ccfd Histogram2D, nan value is transperant 2024-10-16 19:11:15 -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 3f007cebbd comment out more 2024-10-16 18:18:50 -04:00
Ryan Tang c2e76c75ae comment out printf 2024-10-16 18:00:07 -04:00
Ryan Tang 88823af2c6 change the Decimation for QDC to be average of 2^n 2024-10-16 17:57:12 -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 83fbea2743 bug fix on Histogram2D 2024-10-15 17:23:43 -04:00
Ryan Tang fa3e015e3e Created an artifical Register 0x8044 for SWDecimation. Simplify a lot of things 2024-10-14 18:33:18 -04:00
Ryan Tang 256390ffaf added SW Decimation on the Digi setting panle for QDC. this setting is not saved in setting file 2024-10-14 17:47:11 -04:00
Ryan Tang 2f55f6ecb5 add software waveform decimation to reduce raw data file size 2024-10-14 16:51:02 -04:00
Ryan Tang 25d074a393 update the master branch from 0ee20bc 2024-09-30 18:38:48 -04:00
Ryan Tang d8c6fa2246 add FSUDAQ bash script, to pipe the stout to a log file 2024-09-09 14:38:08 -04:00
Ryan Tang d738971435 add maskText to mask password 2024-09-09 14:22:21 -04:00
Ryan Tang b3692705ab add core dump when segfault 2024-09-09 14:00:43 -04:00
Ryan Tang 968259787b when open digitizer, always set no trace recording 2024-09-06 18:16:18 -04:00
carina@hades 3b3a22382b [Major] Scalar cannot be put in Thread, becuase it update QLineEdit of the MainThread and it is not thread-safe 2024-09-04 17:50:59 -04:00
Ryan Tang dfdc5c4700 fixed a UI issue for PSD channel, the SetUpComBoBoxBit cannot span col 2024-09-04 16:39:19 -04:00
Ryan Tang 13b2a3d63d Set PSD default is fine time. fix UI bug for PSD 2024-09-04 16:26:21 -04:00
carina@hades 8baa37142c add some debug code in EventBuilder and fsuReader.h, ReadBatch can switch off trace 2024-09-04 03:09:08 -04:00
Ryan Tang 06592c6aca ClassData.h, fix PSD decoder verbose display 2024-09-03 15:55:58 -04:00
Ryan Tang 540f967d70 ClassData.h, fine_time = -1 as default 2024-09-03 15:49:15 -04:00
Ryan Tang e79f93e9ab add Locale 2024-08-30 12:27:24 -04:00
Ryan Tang 11ae70db18 remove scope Qtimer for scalar, use the Scope::TellACQOnOff to start/stop work for scalar, singleHostogram, and onlineAnalyzer 2024-08-29 17:15:36 -04:00
Ryan Tang c2265f3cc6 remove TimingThread, Scope::UpdateScope() in Qthread via a worker. ScalarUpdateTimeinMiliSec in macro.h 2024-08-29 16:49:52 -04:00
Ryan Tang 2abdc83549 added analyzer/README.md, move the isWorking from the custom analyzer to Analyzer, so user don't need to worry 2024-08-29 15:47:07 -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 a08297d5cc Move updateScalar into a ScalarWorker, which live in a new Thread 2024-08-28 17:22:41 -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 55210083fc in Aux/test.cpp, compare CAEN_DGTZ_GetDPPEvents for decode data 2024-08-28 14:17:39 -04:00
Ryan Tang 76f8f22204 default PSD program set baseline to be 16 samples 2024-08-27 18:13:01 -04:00
Ryan Tang ffb009e6da bug fix on Data::CopyBuffer() 2024-08-27 12:48:00 -04:00
Ryan Tang a32a1e0e71 bug fix, remove trailling space for influx inputs 2024-08-26 15:25:19 -04:00
Ryan Tang dbfb9f96bf add SetDataBase in Analysis, so all analyzsis class can use 2024-08-26 13:59:04 -04:00
Ryan Tang ef8dca5430 remove printf in NeutronGamma::UpdateHistograms 2024-08-23 18:39:21 -04:00
Ryan Tang f3fea48bf6 bug fix on filling Historgram 1D 2024-08-23 18:26:56 -04:00