Commit Graph

371 Commits

Author SHA1 Message Date
Ryan Tang b79fd72fe7 kind of complete single channel scope for PHA 2024-05-17 16:41:44 -04:00
Ryan Tang ab61ee1bb0 when EventAgg = 0, set to 30 2024-05-06 18:22:10 -04:00
Ryan Tang ff5120395b use a4818_list.txt for a4818 PID 2024-05-06 16:42:17 -04:00
Ryan Tang 952b352e8a fix display bug on QDC scope RecordLength 2024-05-06 14:06:00 -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 8fd4c92c2b Scalar UI update 2024-04-25 17:01:45 -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 03c3e79497 added SoftwareDisable Digitizer, Replace SW trigger button with SetNoTrace button 2024-04-09 15:18:48 -04:00
Ryan Tang 6d7daaa13c move saving file size to Scalar 2024-04-09 13:54:44 -04:00
Ryan Tang ff3f94e0de bug fix Histogram2D.h; now no data is white, at least one data is non-white 2024-04-08 20:51:57 -04:00
Ryan Tang 8a0503629c added CustomApplication in main.cpp, for debug what cause the slow down 2024-04-05 22:47:58 -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 0cf64daf2e some test code in test.cpp 2024-03-22 14:26:39 -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
Ryan Tang 5c26d60a58 update ACQ status every 1 sec instead of 2 sec 2024-03-20 18:37:26 -04:00
Ryan Tang e947fccd96 fix fileSize not display every 3 sec 2024-03-20 18:36:24 -04:00
Ryan Tang 55ec7995c7 when the trigger rate is small and Event/Agg is large, the trigger rate would be 0/0 = nan, fixed this. disable digiPlanel button when ACQ started 2024-03-20 15:35:48 -04:00
Ryan Tang 405b255344 QDC: fix bug when charge sensitiy change, parity change 2024-03-20 14:13:16 -04:00
Ryan Tang ecd7ea9afd add a buffer safe guard for QDC 2024-03-20 12:57:54 -04:00
Ryan Tang b73505695e added SetOptimalAggOrg() for QDC. This is the key for taking trace 2024-03-19 20:20:33 -04:00
Ryan Tang 64dfac3ee2 QDC Recordlength only for the whole board 2024-03-19 18:36:49 -04:00
Ryan Tang bebff94e62 fix RecordLength bug for QDC. Can't 100% trust CAEN manual 2024-03-19 16:13:44 -04:00
Ryan Tang 00a16ffc2e update Discord link 2024-03-15 12:27:00 -04:00
Ryan Tang 2199f4efd6 fix bugs in MultiBuilder.cpp, some bugs in ClassDigitizer for DT5730 2024-03-13 17:07:34 -04:00
Ryan Tang 4276f7a149 update README.md 2024-03-12 18:10:10 -04:00
Ryan Tang cab0f1d5c4 add README.md for the Aux folder 2024-03-12 18:09:02 -04:00
Ryan Tang 729b8bc4f1 bug fix on EventBuilder 2024-03-12 17:34:33 -04:00
Ryan Tang 2be2b21923 clean up Aux folder 2024-03-12 17:11:04 -04:00
Ryan Tang 2dd4f3fd78 add back the .gitignore 2024-03-12 16:49:14 -04:00
Ryan Tang ed7ee00510 rebuild the eventbuilder using wonderful method 2024-03-12 16:43:12 -04:00
Ryan Tang 663d99a5f8 fsuReader can read list of file like a chain; SortAndSaveTS() to sort and save as TS file. 2024-03-09 12:08:16 -05:00
Ryan Tang 128f7da0ff use CAEN method for cal the buffer size 2024-03-07 16:11:08 -05:00
Ryan Tang 98cddbd5b3 add ClassDigitizer::CalByteForBufferCAEN() 2024-03-06 20:10:33 -05:00
Ryan Tang 8cb3908043 bug fix on EncoreChMap 2024-03-04 12:22:23 -05:00
Ryan Tang cc79c7ea3c Chnage enum DPPType -> DPPTypeCode; reduce the fsu.ts size; remove Hit::bd 2024-03-02 00:33:08 -05:00
Ryan Tang b3ab5da207 hide the token from GUI 2024-03-01 20:22:51 -05:00
Ryan Tang 7eb02891a5 update README.md 2024-03-01 19:56:31 -05:00
Ryan Tang 8f614e98cc add discord channel information 2024-03-01 19:28:48 -05:00
Ryan Tang 1b07b043aa Number of Coupled channel for DT5730 is number of channel /2 2024-03-01 19:19:33 -05:00
Ryan Tang eb799802ab added inlfux token for supporting influxDB 2, and update ClassDigitizer for DT5730 model 2024-03-01 19:18:23 -05:00
Ryan Tang aa361938a4 modified InfluxDB class for inlfuxDB V2 2024-03-01 16:58:27 -05:00
Ryan Tang 661aa5f928 added AggCount and ReadCount in Scalar. AggCount is the agg decoded. readcount is the number of read attemp 2024-02-26 19:05:16 -05:00
Ryan Tang 257874c822 fix fsuReader.h for modified ClassData 2024-02-26 18:02:34 -05:00
Ryan Tang 3039a20f61 save setting for each digitizer before run 2024-02-26 16:17:41 -05:00
Ryan Tang 08b7a60ec2 various changes on data rate. Scope will set the Agg/Read = 1, and restore when scope stop 2024-02-26 15:37:06 -05:00
Ryan Tang 93f89d9264 simplify trigger rate calculation 2024-02-23 18:31:39 -05:00