Skip to content

Conversation

@torkjellsdatter
Copy link
Contributor

This PR introduces a table converter to handle updates in the REDUCEDMCEVENT table structure, introduced by #13569

Table definitions

Added two explicit table definitions in ReducedInfoTables.h:

  • ReducedMCEvents_000 — the old version of the REDUCEDMCEVENT table
  • ReducedMCEvents_001 — the new version including the additional variables

Converter task

Implemented a new converter task: ModelConverterReducedMCEvents

  • Reads from ReducedMCEvents_000 (old table)
  • Converts to ReducedMCEvents_001 (new table)
  • Sets newly introduced variables to -1 by default

Build integration

  • Updated CMakeLists.txt to include the new converter in the build system.

Usage

The converter can be run as part of the analysis chain:

o2-analysis-dq-efficiency-with-assoc -b --configuration json://config.json \
  | o2-analysis-dq-model-converter-mc-reduced-event -b --configuration json://config.json

@github-actions
Copy link

github-actions bot commented Oct 31, 2025

O2 linter results: ❌ 149 errors, ⚠️ 11 warnings, 🔕 0 disabled

@github-actions github-actions bot changed the title Add converter for updated REDUCEDMCEVENT table (ReducedInfoTables.h, CMakeList.txt, new task) [PWGDQ] Add converter for updated REDUCEDMCEVENT table (ReducedInfoTables.h, CMakeList.txt, new task) Oct 31, 2025
@lucamicheletti93
Copy link
Collaborator

Thanks a lot for adding the converter!

@lucamicheletti93 lucamicheletti93 enabled auto-merge (squash) October 31, 2025 10:39
auto-merge was automatically disabled October 31, 2025 10:44

Pull request was closed

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.

3 participants