Skip to content

[PWGJE] slimTablesProducer: add generated cross section and pT hat - #18801

Merged
nzardosh merged 6 commits into
AliceO2Group:masterfrom
louisemillot:OccupancySlimTables
Nov 19, 2026
Merged

nzardosh merged 6 commits into
AliceO2Group:masterfrom
louisemillot:OccupancySlimTables

Conversation

@louisemillot

Copy link
Copy Markdown
Contributor

Add the generated cross section and the pT hat of MC collisions to the slim tables producer, needed to normalise jet-jet MC analyses (e.g. embedding / purity studies)

  • New profile p_xSection: fills mccollision.xsectGen() for jet-jet events only (min. bias gap events are skipped when skipMBGapEvents is set), weighted by accepted() so that the converged (late) values dominate.
  • New column PtHard in SlMcCollisions, filled with mccollision.ptHard().

Reject MB gap events before filling the cross-section profile, so that
the MB and jet-jet generator cross sections are no longer averaged
together. Weight each xsectGen value by accepted(), since it is Pythia's
running estimate and is unstable for the first events of each
generator instance.
@github-actions

Copy link
Copy Markdown

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

slimTracks(slimCollIndex, track.px(), track.py(), track.pz());
}
slimMcCollisions(mccollision.posZ(), eventWeightMC);
slimMcCollisions(mccollision.posZ(), eventWeightMC, ptHardTrue);

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just so you know here if multiple collisions point to the same MC collision the mc collision is filled once for each one

@nzardosh
nzardosh merged commit 0663219 into AliceO2Group:master Nov 19, 2026
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

2 participants