Commit 9d0c942
committed
[PWGHF] Add configurable UPC gap thresholds and enable occupancy storage
This commit introduces configurable thresholds for UPC gap determination
and enables occupancy/IR storage for UPC processes in taskD0 and taskDplus.
Changes:
- Add configurable parameters for FT0A, FT0C, and ZDC thresholds in taskD0
and taskDplus, with defaults from utilsUpcHf.h
- Update determineGapType calls to use configurable thresholds instead of
hardcoded values
- Enable storeOccupancyAndIR for UPC process in taskD0 by updating validation
check to include doprocessDataWithDCAFitterNMlWithUpc
- Add occupancy calculation in taskDplus UPC process to properly store
occupancy values when storeOccupancy is enabled
Benefits:
- Allows users to optimize gap selection criteria via configuration files
- Enables occupancy and interaction rate studies in UPC analyses
- Maintains consistency with taskLc approach for occupancy handling
- Provides flexibility for different beam conditions and physics requirements
Default threshold values (defined in utilsUpcHf.h):
- FT0A: 100.0 a.u.
- FT0C: 50.0 a.u.
- ZDC: 1.0 a.u.1 parent 1c10742 commit 9d0c942
2 files changed
+19
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
157 | 157 | | |
158 | 158 | | |
159 | 159 | | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
160 | 165 | | |
161 | 166 | | |
162 | 167 | | |
| |||
244 | 249 | | |
245 | 250 | | |
246 | 251 | | |
247 | | - | |
248 | | - | |
| 252 | + | |
| 253 | + | |
249 | 254 | | |
250 | 255 | | |
251 | 256 | | |
| |||
584 | 589 | | |
585 | 590 | | |
586 | 591 | | |
587 | | - | |
| 592 | + | |
| 593 | + | |
588 | 594 | | |
589 | 595 | | |
590 | 596 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
128 | 128 | | |
129 | 129 | | |
130 | 130 | | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
131 | 136 | | |
132 | 137 | | |
133 | 138 | | |
| |||
712 | 717 | | |
713 | 718 | | |
714 | 719 | | |
715 | | - | |
| 720 | + | |
| 721 | + | |
716 | 722 | | |
717 | 723 | | |
718 | 724 | | |
| |||
721 | 727 | | |
722 | 728 | | |
723 | 729 | | |
| 730 | + | |
| 731 | + | |
| 732 | + | |
724 | 733 | | |
725 | 734 | | |
726 | 735 | | |
| |||
0 commit comments