Manage wfType cuts and raw hit cuts

Lognumber 39.

Submitted on Sat, 16 Aug 2025 - 03:00:16 CEST

Marker: amon

Send to:

Added new features :

1) If "Apply these cuts" is OFF, do no cut (show all hits)

2) Else, if set to ON, take note of all type authorised (e.g wfTypes 0 and 1 are ON); then require the actual wfType is wether 0 or 1

THEN

3) If one of adcMax, adcOffset, leadingEdegeTime, timeOverThreshold, timeMax is negative (non standard values like -9999, -99, ...) ignore this hit

4) Else, if require than apart of being a good wfType, the hit should also satistfy the raw hit cuts.

5) I have made some cleaning and add a "Restart histogram button" --> this is done to do not use the reset button and have to select again the same file.

---
Meaning of the wfType :

0 is good,
1 is saturating,
2 has too short of a baseline,
3 is late and only has a rising edge,
4 is a trailing edge from a previous wf,
5 has low ADC ("flat"),
6 is invalid

Attachments (5)

1.

files/2025/08/16/39/screenshot_2025-08-16_02-58-07.png

2.

files/2025/08/16/39/screenshot_2025-08-16_02-58-24.png

3.

files/2025/08/16/39/screenshot_2025-08-16_02-58-32.png

4.

files/2025/08/16/39/screenshot_2025-08-16_02-58-41.png

5.

files/2025/08/16/39/screenshot_2025-08-16_02-59-44.png