Commit 22d9e2f
Address code review comments: rename thresholds and remove unnecessary copy
Changes based on code review feedback from vkucera:
1. Rename threshold constants to follow "quantity + object" naming pattern:
- FT0AThreshold → AmplitudeThresholdFT0A
- FT0CThreshold → AmplitudeThresholdFT0C
- ZDCThreshold → EnergyThresholdZDC
Updated function parameters and all usages in utilsUpcHf.h.
2. Remove unnecessary centrality copy in UPC process function:
- Removed `float cent{centrality};` declaration
- Use `centrality` variable directly throughout the function
This eliminates redundant variable and improves code clarity.
3. Use literal values for Configurable defaults:
- Configurables require literal values, not constexpr references
- Changed from using defaults namespace to 100.0f, 50.0f, 1.0f
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>1 parent 4cef76d commit 22d9e2f
2 files changed
+16
-16
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
88 | | - | |
89 | | - | |
90 | | - | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
36 | | - | |
37 | | - | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
46 | | - | |
47 | | - | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
51 | | - | |
52 | | - | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
56 | | - | |
| 55 | + | |
| 56 | + | |
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
61 | | - | |
62 | | - | |
| 61 | + | |
| 62 | + | |
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
| |||
0 commit comments