Commit 488109c
Refactor UPC gap determination thresholds using ConfigurableGroup
- Add HfUpcGapThresholds ConfigurableGroup in utilsUpcHf.h
- Includes fv0aThreshold, ft0aThreshold, ft0cThreshold, zdcThreshold
- Enables reusability across multiple HF tasks
- Uses "upc" as JSON group name prefix
- Add determineGapType() overload accepting HfUpcGapThresholds
- Simplifies function calls by passing threshold group directly
- Improves code readability and maintainability
- Replace individual Configurables in taskD0.cxx and taskDplus.cxx
- Remove 4 separate threshold Configurables per task
- Replace with single HfUpcGapThresholds member
- Simplify determineGapType() calls from 3 parameters to 1
- Update thnConfigAxisGapType description to reference TrueGap enum
- Change from hardcoded values to enum reference
- Improves documentation clarity
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>1 parent 2f23121 commit 488109c
3 files changed
+40
-21
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | | - | |
103 | | - | |
104 | | - | |
105 | | - | |
| 99 | + | |
| 100 | + | |
106 | 101 | | |
107 | 102 | | |
108 | 103 | | |
| |||
158 | 153 | | |
159 | 154 | | |
160 | 155 | | |
161 | | - | |
| 156 | + | |
162 | 157 | | |
163 | 158 | | |
164 | 159 | | |
| |||
589 | 584 | | |
590 | 585 | | |
591 | 586 | | |
592 | | - | |
593 | | - | |
| 587 | + | |
594 | 588 | | |
595 | 589 | | |
596 | 590 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | | - | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
97 | 92 | | |
98 | 93 | | |
99 | 94 | | |
| |||
134 | 129 | | |
135 | 130 | | |
136 | 131 | | |
137 | | - | |
| 132 | + | |
138 | 133 | | |
139 | 134 | | |
140 | 135 | | |
| |||
726 | 721 | | |
727 | 722 | | |
728 | 723 | | |
729 | | - | |
730 | | - | |
| 724 | + | |
731 | 725 | | |
732 | 726 | | |
733 | 727 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
24 | 28 | | |
25 | 29 | | |
26 | 30 | | |
27 | 31 | | |
28 | 32 | | |
29 | 33 | | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
30 | 43 | | |
31 | 44 | | |
32 | 45 | | |
| |||
81 | 94 | | |
82 | 95 | | |
83 | 96 | | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
84 | 115 | | |
85 | 116 | | |
86 | 117 | | |
| |||
0 commit comments