Skip to content

[PWGLF] Add occupancy column in hypertriton tables - #17746

Open
zhengqi-w wants to merge 4 commits into
AliceO2Group:masterfrom
zhengqi-w:master
Open

[PWGLF] Add occupancy column in hypertriton tables#17746
zhengqi-w wants to merge 4 commits into
AliceO2Group:masterfrom
zhengqi-w:master

Conversation

@zhengqi-w

@zhengqi-w zhengqi-w commented Sep 3, 2026

Copy link
Copy Markdown
Contributor

Main updates:

  1. Add occupancy column to hyper candidates table
  2. Fix the collision index of hyper candidates with CollisionID
  3. Fix the generated MC candidates PV information
  4. Fixing the o2linter issue(Notice: name of the output AO2D branch would be updated)

@github-actions github-actions Bot changed the title Add occupancy column in hypertriton tables [PWGLF] Add occupancy column in hypertriton tables Sep 3, 2026
@github-actions

github-actions Bot commented Sep 3, 2026

Copy link
Copy Markdown

O2 linter results: ❌ 0 errors, ⚠️ 12 warnings, 🔕 3 disabled

@maciacco
maciacco enabled auto-merge (squash) September 3, 2026 13:44
@alibuild

alibuild commented Sep 3, 2026

Copy link
Copy Markdown
Collaborator

Error while checking build/O2Physics/code-check for a7d31d4 at 2026-09-03 15:51:

## sw/BUILD/O2Physics-code-check-latest/log
--
========== List of issues found ==========
++ echo 'Found 50 errors and 43 warnings.'
Found 50 errors and 43 warnings.
++ [[ 50 -gt 0 ]]
++ cat /sw/BUILD/6684eac1908003a428d834e6e94f09e6084635ce/O2Physics-code-check/errors.txt
PWGLF/TableProducer/Nuspex/hyperRecoTask.cxx:88:22: error: variable 'hEvents' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables,-warnings-as-errors]
PWGLF/TableProducer/Nuspex/hyperRecoTask.cxx:89:22: error: variable 'hEventsZorro' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables,-warnings-as-errors]
PWGLF/TableProducer/Nuspex/hyperRecoTask.cxx:90:22: error: variable 'hZvtx' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables,-warnings-as-errors]
PWGLF/TableProducer/Nuspex/hyperRecoTask.cxx:91:22: error: variable 'hCentFT0A' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables,-warnings-as-errors]
PWGLF/TableProducer/Nuspex/hyperRecoTask.cxx:92:22: error: variable 'hCentFT0C' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables,-warnings-as-errors]
PWGLF/TableProducer/Nuspex/hyperRecoTask.cxx:93:22: error: variable 'hCentFT0M' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables,-warnings-as-errors]
PWGLF/TableProducer/Nuspex/hyperRecoTask.cxx:94:22: error: variable 'hNsigma3HeSel' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables,-warnings-as-errors]
PWGLF/TableProducer/Nuspex/hyperRecoTask.cxx:95:22: error: variable 'hDeDx3HeSel' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables,-warnings-as-errors]
PWGLF/TableProducer/Nuspex/hyperRecoTask.cxx:96:22: error: variable 'hDeDxTot' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables,-warnings-as-errors]
PWGLF/TableProducer/Nuspex/hyperRecoTask.cxx:97:22: error: variable 'hH3LMassBefSel' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables,-warnings-as-errors]
PWGLF/TableProducer/Nuspex/hyperRecoTask.cxx:98:22: error: variable 'hH3LMassTracked' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables,-warnings-as-errors]
PWGLF/TableProducer/Nuspex/hyperRecoTask.cxx:99:22: error: variable 'hH4LMassBefSel' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables,-warnings-as-errors]
PWGLF/TableProducer/Nuspex/hyperRecoTask.cxx:100:22: error: variable 'hH4LMassTracked' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables,-warnings-as-errors]
PWGLF/TableProducer/Nuspex/hyperRecoTask.cxx:101:22: error: variable 'hDecayChannel' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables,-warnings-as-errors]
PWGLF/TableProducer/Nuspex/hyperRecoTask.cxx:102:22: error: variable 'hIsMatterGen' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables,-warnings-as-errors]
PWGLF/TableProducer/Nuspex/hyperRecoTask.cxx:103:22: error: variable 'hIsMatterGenTwoBody' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables,-warnings-as-errors]
PWGLF/TableProducer/Nuspex/hyperRecoTask.cxx:104:22: error: variable 'hEvtMC' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables,-warnings-as-errors]
PWGLF/TableProducer/Nuspex/hyperRecoTask.cxx:105:22: error: variable 'hImpactParamGen' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables,-warnings-as-errors]
PWGLF/TableProducer/Nuspex/hyperRecoTask.cxx:106:22: error: variable 'hImpactParamGenOneReco' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables,-warnings-as-errors]
PWGLF/TableProducer/Nuspex/hyperRecoTask.cxx:107:22: error: variable 'hImpactParamReco' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables,-warnings-as-errors]
PWGLF/TableProducer/Nuspex/hyperRecoTask.cxx:108:22: error: variable 'hGen3HLBeforeEvtSel' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables,-warnings-as-errors]
PWGLF/TableProducer/Nuspex/hyperRecoTask.cxx:109:22: error: variable 'hGen3HLAfterSel' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables,-warnings-as-errors]
PWGLF/TableProducer/Nuspex/hyperRecoTask.cxx:110:22: error: variable 'hGenOneRecoCentrality' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables,-warnings-as-errors]
PWGLF/TableProducer/Nuspex/hyperRecoTask.cxx:111:22: error: variable 'hRecoCentrality' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables,-warnings-as-errors]
PWGLF/TableProducer/Nuspex/hyperRecoTask.cxx:112:22: error: variable 'hGenEventsNchEta05' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables,-warnings-as-errors]
PWGLF/TableProducer/Nuspex/hyperRecoTask.cxx:113:22: error: variable 'hGenEventsNchEta08' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables,-warnings-as-errors]
PWGLF/TableProducer/Nuspex/hyperRecoTask.cxx:114:22: error: variable 'hGenCentralityColvsMultiplicityGenEta05' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables,-warnings-as-errors]
PWGLF/TableProducer/Nuspex/hyperRecoTask.cxx:115:22: error: variable 'hGenCentralityColvsMultiplicityGenEta08' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables,-warnings-as-errors]
PWGLF/TableProducer/Nuspex/hyperRecoTask.cxx:116:22: error: variable 'hGenCentralityColvsImpactParamGen' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables,-warnings-as-errors]
PWGLF/TableProducer/Nuspex/hyperRecoTask.cxx:117:22: error: variable 'hGenCentralityColvsFT0Cmultiplicity' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables,-warnings-as-errors]
PWGLF/TableProducer/Nuspex/hyperRecoTask.cxx:118:22: error: variable 'hRecoCentralityColvsMultiplicityRecoEta05' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables,-warnings-as-errors]
PWGLF/TableProducer/Nuspex/hyperRecoTask.cxx:119:22: error: variable 'hRecoCentralityColvsMultiplicityRecoEta08' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables,-warnings-as-errors]
PWGLF/TableProducer/Nuspex/hyperRecoTask.cxx:120:22: error: variable 'hRecoCentralityColvsImpactParamReco' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables,-warnings-as-errors]
PWGLF/TableProducer/Nuspex/hyperRecoTask.cxx:121:22: error: variable 'hRecoCentralityColvsFT0Cmultiplicity' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables,-warnings-as-errors]
PWGLF/TableProducer/Nuspex/hyperRecoTask.cxx:122:22: error: variable 'hGen3HLvsImpactParameterBeforeEvtSel' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables,-warnings-as-errors]
PWGLF/TableProducer/Nuspex/hyperRecoTask.cxx:123:22: error: variable 'hGen3HLvsImpactParameterAfterSel' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables,-warnings-as-errors]
PWGLF/TableProducer/Nuspex/hyperRecoTask.cxx:124:22: error: variable 'hGen3HLvsMultiplicityGenEta05BeforeEvtSel' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables,-warnings-as-errors]
PWGLF/TableProducer/Nuspex/hyperRecoTask.cxx:125:22: error: variable 'hGen3HLvsMultiplicityGenEta05AfterSel' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables,-warnings-as-errors]
PWGLF/TableProducer/Nuspex/hyperRecoTask.cxx:126:22: error: variable 'hGen3HLvsMultiplicityGenEta08BeforeEvtSel' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables,-warnings-as-errors]
PWGLF/TableProducer/Nuspex/hyperRecoTask.cxx:127:22: error: variable 'hGen3HLvsMultiplicityGenEta08AfterSel' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables,-warnings-as-errors]
PWGLF/TableProducer/Nuspex/hyperRecoTask.cxx:128:22: error: variable 'hGen3HLvsMultiplicityFT0CBeforeEvtSel' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables,-warnings-as-errors]
PWGLF/TableProducer/Nuspex/hyperRecoTask.cxx:129:22: error: variable 'hGen3HLvsMultiplicityFT0CAfterSel' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables,-warnings-as-errors]
[0 more errors; see full log]

Full log here.

@dsekihat

dsekihat commented Sep 3, 2026

Copy link
Copy Markdown
Collaborator

Dear @vkucera , the test on macOS-arm failed, but the error messages seems to be not related to this PR. Other PRs are affected too. Can you have a look at them?

@vkucera

vkucera commented Sep 3, 2026

Copy link
Copy Markdown
Collaborator

Dear @vkucera , the test on macOS-arm failed, but the error messages seems to be not related to this PR. Other PRs are affected too. Can you have a look at them?

The machine is being updated and temporarily unavailable. It will become available soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

5 participants