Skip to content

[PWGJE] Add multiple-b-jet definition tables - #18992

Merged
nzardosh merged 3 commits into
AliceO2Group:masterfrom
choich08365:gnnbjet
Dec 1, 2026
Merged

nzardosh merged 3 commits into
AliceO2Group:masterfrom
choich08365:gnnbjet

Conversation

@choich08365

@choich08365 choich08365 commented Nov 30, 2026 •

Copy link
Copy Markdown
Contributor

PWGJE/DataModel/JetTagging.h

  • Add tables on multiple-b-jet definition.

PWGJE/TableProducer/heavyFlavourDefinition.cxx

  • Add processes to fill multiple-b-jet definition tables.

PWGJE/Core/JetTaggingUtilities.h

  • Add helper functions for multiple-b-jet definition.
  • Correct invalid PDG codes in isBHadron and isCHadron.

PWGJE/Tasks/bjetTreeCreator.cxx

  • Revise the processMCJetsForGNN to fill multiple-b-jet definition tables.

PWGJE/Tasks/bjetTaggingGnn.cxx

  • Set variable names to be consistent.
  • Add a configurable withSubMcp, which decides whether we subtract UE from MCP jet pT or not.

PWGJE/TableProducer/jetGnnDefinition.cxx, PWGJE/TableProducer/jetGnnInference.cxx

  • Include single-track jets to process.

@github-actions github-actions Bot added the pwgje label Nov 30, 2026
@github-actions github-actions Bot changed the title Revise UE subtraction of MCP b-jet analysis [PWGJE] Revise UE subtraction of MCP b-jet analysis Nov 30, 2026
@github-actions

github-actions Bot commented Nov 30, 2026 •

Copy link
Copy Markdown

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

@choich08365
choich08365 marked this pull request as ready for review November 30, 2026 11:01
@choich08365
choich08365 marked this pull request as draft December 1, 2026 05:55
@choich08365 choich08365 changed the title [PWGJE] Revise UE subtraction of MCP b-jet analysis [PWGJE] Add multiple-b-jet definition tables Dec 1, 2026
@choich08365
choich08365 marked this pull request as ready for review December 1, 2026 06:12
for (auto const& mcdjet : mcdjets) {
jettaggingutilities::JetFlavourMultipleB flavour{JetTaggingSpecies::none, -1, false, false};
int8_t origin = JetTaggingSpecies::none;
if (collision.has_mcCollision() && mcdjet.has_matchedJetGeo()) {

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.

if this condition isnt met then origin is set to none instead of -1. Is this intended?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Hi @nzardosh, thanks for reviewing. Yes, -1 in other processes will be anyway overwritten by none if there is no matched MCP jet.

@nzardosh
nzardosh merged commit 070ff7f into AliceO2Group:master Dec 1, 2026
14 checks passed
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.

2 participants