[Common] Add zdc-extra-table-reader task#16028
Conversation
zdc-extra-table-reader is needed to read AOD/ZDCEXTRA derived data and proceed with multistep calibration (Q-vectors recentering) of ZDC data
|
O2 linter results: ❌ 1 errors, |
Refactor logging and constants in zdcExtraTableReader. Replaced std::cerr logging with LOGF for error handling and updated constant names for consistency.
Add check number of fired towers with isZN*SpDeterminable (to reconstruct Q-vector at least 2 fired towers needed); Replace FindBin with FindFixBin; update variables.
Please consider the following formatting changes to AliceO2Group#16028
|
Dear code owners, There are no O2 linter errors connected to my changes. |
|
Error while checking build/O2Physics/staging for 5397abb at 2026-05-07 21:51: Full log here. |
|
Dear @vkucera, I am planning to update this PR this week, addressing your comments. |
Updated event selection configuration and histogram handling in zdcExtraTableReader.cxx. Refactored selection bits and improved memory management in the clearCache method.
Formatting changes to AliceO2Group#16028
| Configurable<int> qxyNbins{"qxyNbins", 100, "Number of bins in QxQy histograms"}; | ||
| Configurable<float> qxyMin{"qxyMin", -2.0f, "Lower edge for QxQy histograms"}; | ||
| Configurable<float> qxyMax{"qxyMax", 2.0f, "Upper edge for QxQy histograms"}; |
There was a problem hiding this comment.
Hi @vkucera,
The 5D histograms require a different number of bins (qNbins5D) but share the same min/max limits as the standard 1D/2D histograms. Since I can't reuse the limits for the 5D AxisSpec, switching to ConfigurableAxis would force me to either hardcode the limits for the 5D axes or duplicate the configurable variables, which actually makes no sense
There was a problem hiding this comment.
It is not the case here. These configurables are used always together as {qxyNbins, qxyMin, qxyMax, ...}.
- Replace 0.0 returns with fatal logs for missing CCDB objects - Rename Configurable flags - Rename 'nShift' to 'nHarmonics' to clarify its physical meaning - Remove 'm' prefixes from variable names - Reduce nesting in `loadCalibrations`
Fix code formatting
|
Dear code owners, Please note that the failed CI checks are not related to my zdc-extra-table-reader task:
|
|
@udmitrie Since you are adding a new file, please fix the warnings as well. |
Replaced individual Qx and Qy axis configurables with a shared ConfigurableAxis
zdc-extra-table-reader is needed to read AOD/ZDCEXTRA derived data and proceed with multi-step calibration (Q-vectors recentering) of ZDC data