Skip to content

[PWGDQ] Add UPC-mode filter for QA matching AO2D output - #16

Merged
nivram-phy merged 1 commit into
masterfrom
add-upc-mode-aod-filter
Nov 24, 2026
Merged

nivram-phy merged 1 commit into
masterfrom
add-upc-mode-aod-filter

Conversation

@nivram-phy

Copy link
Copy Markdown
Owner

Summary

Adds cfgUPCMode to control which collision UPC modes are written to QA matching AO2D output.

  • -1 (default): write all collisions
  • 0: write only collisions with qamatching::UPCMode == 0
  • 1: write only collisions with qamatching::UPCMode == 1
  • Any other value logs a warning and behaves as -1

The filter is applied consistently to the event, MCH-track, and candidate output tables. QA histograms and matching processing remain unchanged.

Configuration example

{
  "o2-analysis-qa-matching": {
    "cfgUPCMode": 1
  }
}

Use 0 for non-UPC output or omit the setting (or use -1) to preserve the existing behavior.

Validation

  • Reviewed the resulting one-file diff.
  • The change is limited to output gating and configuration; no local O2Physics build was available in this environment.

@github-actions github-actions Bot added the pwgdq label Nov 24, 2026
@github-actions

Copy link
Copy Markdown

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

@github-actions github-actions Bot changed the title Add UPC-mode filter for QA matching AO2D output [PWGDQ] Add UPC-mode filter for QA matching AO2D output Nov 24, 2026
@nivram-phy
nivram-phy merged commit a978ee7 into master Nov 24, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant