20220801 ======== setup 2 on pulse generator: Sinuswaveform input on even channel, highest gain (3 = 27mV/fC), longest shaper (0=120ns). Amplitude/frequency adjusted to give all values between 0 and 1023 (pulse saturates ADC). Free running (internal trigger on pulse generator, i.e. unsynched with ADC clock). Purpose: to see how the ADC values are populated, ideally a smooth distribution. Run with 10000 events. Single event: plotchip-0-7-2-38.pdf single event with all channels ch8-7-2-38-full.pdf single event for one channel ch8-7-2-38-zoom.pdf single event shows detail of pulse Analysis: Frequency of ADC values (ADC value on X-axiz, entries åer ADC value on Y) protomcm-adcvalues-38-even-sinus-all.pdf raw plot with 0 < Y < 5000) protomcm-adcvalues-38-even-sinus-l10000.pdf raw plot with 0 < Y < 10000) protomcm-adcvalues-38-even-sinus-zoom0.pdf enlargement between ADC values 0-200. protomcm-adcvalues-38-even-sinus-zoom200.pdf enlargement between ADC values 200-400. protomcm-adcvalues-38-even-sinus-zoom400.pdf enlargement between ADC values 400-600. protomcm-adcvalues-38-even-sinus-zoom600.pdf enlargement between ADC values 600-800 protomcm-adcvalues-38-even-sinus-zoom800.pdf enlargement between ADC values 800-1023 protomcm-adcvalues-38-even-sinus-norm.pdf normalized to number of events Frequency of bits: Number of times a bit (0-9) is set (normalized to number of events). protomcm-bits-38-even-sinus-all.pdf 20220809 ======== Reanalysed the bit frequency since it was using all samples in the analysis above. This analysis do not use zero and 1023 valued samples since they are not providing any useful bit frequency information. Count number of 0 < value < 1023 samples (= nbsamples) and weight the bit frequency histogram filling with 1/nbsamples, for each channel and event by event. Scale with 100/(number of events) to get 0-100% frequency. Result: protomcm-bits-38-even-sinus-percent.pdf The frequency is now around 50% as one expect. It goes up at higher bits due to the shape of input sinus signal. Bit 0 deviates for most channels from 50%. Zerosuppression --------------- Have run with zerosuppression. Data not analysed. Got problems that intermittently the data taking stopped. Solved temporarily by inserting a delay efter data has been recieved and next trigger sent. There is one UDP packet in this case. Without zerosuppression it is three. Guess: SRU is still busy so it do not see the softtrigger command??? or something else???? 20220813 ======== Försökt klassificer peakar för olika gains med enkla algoritmen med data från zerosuppression. Fungerar inte riktigt för de två höga gainen (gain1 och gain3 nedan). Behöver finjusteras beroende på gain. Peaks ===== peaktype0 = ingen peak peaktype1 = samplar på toppen peaktype2 = samplar på sidan av toppen GAIN0 Peaktype0 112 0.00 0.000 0.0 113 0.00 0.000 500.0 114 0.00 0.000 0.0 115 0.00 0.000 500.0 116 0.00 0.000 0.0 117 0.00 0.000 500.0 118 0.00 0.000 0.0 119 0.00 0.000 500.0 120 0.00 0.000 0.0 121 0.00 0.000 500.0 122 0.00 0.000 0.0 123 0.00 0.000 500.0 124 0.00 0.000 0.0 125 0.00 0.000 500.0 126 0.00 0.000 0.0 127 0.00 0.000 499.0 Peaktype1 112 585.68 3.295 3048.0 113 0.00 0.000 0.0 114 555.25 3.776 3060.0 115 0.00 0.000 0.0 116 565.10 2.293 3048.0 117 0.00 0.000 0.0 118 557.23 2.611 3048.0 119 0.00 0.000 0.0 120 559.71 2.397 3048.0 121 0.00 0.000 0.0 122 577.75 2.415 3048.0 123 0.00 0.000 0.0 124 549.00 2.339 3048.0 125 0.00 0.000 0.0 126 584.76 2.386 3048.0 127 0.00 0.000 0.0 Peaktype2 112 553.22 2.626 2952.0 113 0.00 0.000 0.0 114 527.78 3.252 2940.0 115 0.00 0.000 0.0 116 532.75 2.691 2952.0 117 0.00 0.000 0.0 118 528.19 2.438 2952.0 119 0.00 0.000 0.0 120 528.26 2.491 2952.0 121 0.00 0.000 0.0 122 546.58 2.608 2952.0 123 0.00 0.000 0.0 124 521.16 2.461 2952.0 125 0.00 0.000 0.0 126 553.19 2.692 2952.0 127 0.00 0.000 0.0 GAIN1 Peaktype0 112 0.00 0.000 0.0 113 0.00 0.000 500.0 114 0.00 0.000 0.0 115 0.00 0.000 500.0 116 0.00 0.000 0.0 117 0.00 0.000 500.0 118 0.00 0.000 0.0 119 0.00 0.000 500.0 120 0.00 0.000 0.0 121 0.00 0.000 500.0 122 0.00 0.000 0.0 123 0.00 0.000 500.0 124 0.00 0.000 0.0 125 0.00 0.000 500.0 126 0.00 0.000 0.0 127 0.00 0.000 499.0 Peaktype1 112 541.29 26.418 3432.0 113 0.00 0.000 0.0 114 510.25 23.255 4692.0 115 0.00 0.000 0.0 116 523.63 25.804 3168.0 117 0.00 0.000 0.0 118 516.97 25.583 3216.0 119 0.00 0.000 0.0 120 519.25 24.398 3300.0 121 0.00 0.000 0.0 122 537.80 25.787 3156.0 123 0.00 0.000 0.0 124 505.32 23.289 4188.0 125 0.00 0.000 0.0 126 543.48 26.281 3360.0 127 0.00 0.000 0.0 Peaktype2 112 527.38 4.660 2568.0 113 0.00 0.000 0.0 114 500.81 5.153 1308.0 115 0.00 0.000 0.0 116 507.06 4.058 2832.0 117 0.00 0.000 0.0 118 501.79 4.273 2784.0 119 0.00 0.000 0.0 120 506.95 4.368 2700.0 121 0.00 0.000 0.0 122 520.80 4.134 2844.0 123 0.00 0.000 0.0 124 495.96 4.900 1812.0 125 0.00 0.000 0.0 126 528.32 4.402 2640.0 127 0.00 0.000 0.0 GAIN2 Peaktype0 112 0.00 0.000 0.0 113 0.00 0.000 500.0 114 0.00 0.000 0.0 115 0.00 0.000 500.0 116 0.00 0.000 0.0 117 0.00 0.000 500.0 118 0.00 0.000 0.0 119 0.00 0.000 500.0 120 0.00 0.000 0.0 121 0.00 0.000 500.0 122 0.00 0.000 0.0 123 0.00 0.000 500.0 124 0.00 0.000 0.0 125 0.00 0.000 500.0 126 0.00 0.000 0.0 127 0.00 0.000 499.0 Peaktype1 112 719.37 3.096 2808.0 113 0.00 0.000 0.0 114 672.84 13.104 3912.0 115 0.00 0.000 0.0 116 692.69 3.196 2808.0 117 0.00 0.000 0.0 118 684.41 2.920 2808.0 119 0.00 0.000 0.0 120 692.74 2.931 2808.0 121 0.00 0.000 0.0 122 710.88 2.987 2808.0 123 0.00 0.000 0.0 124 675.69 8.253 2988.0 125 0.00 0.000 0.0 126 717.82 3.043 2808.0 127 0.00 0.000 0.0 Peaktype2 112 682.05 3.320 3192.0 113 0.00 0.000 0.0 114 647.85 4.056 2088.0 115 0.00 0.000 0.0 116 657.59 2.978 3192.0 117 0.00 0.000 0.0 118 650.20 3.157 3192.0 119 0.00 0.000 0.0 120 655.10 16.691 3194.0 121 0.00 0.000 0.0 122 673.84 3.220 3192.0 123 0.00 0.000 0.0 124 644.21 3.293 3012.0 125 0.00 0.000 0.0 126 682.21 3.258 3192.0 127 0.00 0.000 0.0 GAIN3 Peaktype0 112 0.00 0.000 0.0 113 0.00 0.000 500.0 114 0.00 0.000 0.0 115 0.00 0.000 500.0 116 0.00 0.000 0.0 117 0.00 0.000 500.0 118 0.00 0.000 0.0 119 0.00 0.000 500.0 120 0.00 0.000 0.0 121 0.00 0.000 500.0 122 0.00 0.000 0.0 123 0.00 0.000 500.0 124 0.00 0.000 0.0 125 0.00 0.000 500.0 126 0.00 0.000 0.0 127 0.00 0.000 499.0 Peaktype1 112 772.16 32.094 5532.0 113 0.00 0.000 0.0 114 732.00 30.828 5772.0 115 0.00 0.000 0.0 116 745.41 30.884 5220.0 117 0.00 0.000 0.0 118 735.09 29.960 5472.0 119 0.00 0.000 0.0 120 743.49 32.835 5184.0 121 0.00 0.000 0.0 122 765.74 32.416 4932.0 123 0.00 0.000 0.0 124 725.34 31.171 5832.0 125 0.00 0.000 0.0 126 774.43 31.307 5640.0 127 0.00 0.000 0.0 Peaktype2 112 759.79 7.105 468.0 113 0.00 0.000 0.0 114 719.32 8.530 228.0 115 0.00 0.000 0.0 116 732.24 6.647 780.0 117 0.00 0.000 0.0 118 723.51 6.639 528.0 119 0.00 0.000 0.0 120 729.17 6.485 816.0 121 0.00 0.000 0.0 122 751.33 6.652 1068.0 123 0.00 0.000 0.0 124 714.77 7.100 168.0 125 0.00 0.000 0.0 126 762.64 7.257 360.0 127 0.00 0.000 0.0 Filer peakpulshöjder: protomcm-run4-peaktype0-gainN.pdf protomcm-run4-peaktype1-gainN.pdf protomcm-run4-peaktype2-gainN.pdf Ett event med alla pulser + cluster length + antal clusters för det eventet plotchipzsup-7-2-4.pdf Ett event med första pulsen + cluster lengths + antal clusters för alla events plotchipzsup-7-500-4.pdf