Skip to content

Store TPC track A/C side info in the AO2D TrackExtra.fFlags unused bits#15014

Open
shahor02 wants to merge 1 commit intoAliceO2Group:devfrom
shahor02:pr_aodTPCSide
Open

Store TPC track A/C side info in the AO2D TrackExtra.fFlags unused bits#15014
shahor02 wants to merge 1 commit intoAliceO2Group:devfrom
shahor02:pr_aodTPCSide

Conversation

@shahor02
Copy link
Collaborator

@shahor02 shahor02 commented Feb 4, 2026

No description provided.

@shahor02 shahor02 requested review from a team as code owners February 4, 2026 14:16
@github-actions
Copy link
Contributor

github-actions bot commented Feb 4, 2026

REQUEST FOR PRODUCTION RELEASES:
To request your PR to be included in production software, please add the corresponding labels called "async-" to your PR. Add the labels directly (if you have the permissions) or add a comment of the form (note that labels are separated by a ",")

+async-label <label1>, <label2>, !<label3> ...

This will add <label1> and <label2> and removes <label3>.

The following labels are available
async-2023-pbpb-apass4
async-2023-pp-apass4
async-2024-pp-apass1
async-2022-pp-apass7
async-2024-pp-cpass0
async-2024-PbPb-apass1
async-2024-ppRef-apass1
async-2024-PbPb-apass2
async-2023-PbPb-apass5

@miranov25
Copy link
Contributor

Thanks Ruben for the quick implementation — this is exactly what we discussed.

Summary: This PR adds TPC side information (A/C/both) to the AO2D track flags.

Changes:

  • New flags in DataTypes.h: TPCSideA = 0x20 (bit 5), TPCSideC = 0x40 (bit 6)
  • Uses existing hasASideClusters() / hasCSideClusters() methods from TPC track class

Interpretation:

  • 00 = No TPC
  • 10 = A-side only
  • 01 = C-side only
  • 11 = Both sides (crosses CE)

Use cases:

  • Cosmic muon association — know which side each half-track is on
  • Fake split rejection — identify incorrectly split CE-crossing tracks
  • Efficiency studies — we observed a spike excess for TPC-only tracks and a corresponding decrease for combined tracks near CE; this variable provides a handle to diagnose it
  • Jet energy bias — efficiency loss near CE affects jet reconstruction; we lose part of the fiducial volume within the jet, registering only a fraction of the energy
  • Time reassociation — constrain allowed drift direction, reducing combinatorial background

Cost: No AO2D schema change, uses 2 unused bits, ~1 bit effective entropy.

=== Diff summary was automatically compared with agrrement in matermost discussion

Lets merge

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

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants