Skip to content

[PWGLF] Change event-selection in nucleiSpectra.cxx#15022

Open
Cristian-Moscatelli wants to merge 2 commits intoAliceO2Group:masterfrom
Cristian-Moscatelli:deutInJets
Open

[PWGLF] Change event-selection in nucleiSpectra.cxx#15022
Cristian-Moscatelli wants to merge 2 commits intoAliceO2Group:masterfrom
Cristian-Moscatelli:deutInJets

Conversation

@Cristian-Moscatelli
Copy link
Contributor

I changed the event selection function in the nucleiSpectra.cxx task (PWGLF/TableProducer/Nuspex).
Originally, the event selection criteria were hardcoded in the function eventSelection (line 387). Instead, I used the already defined function eventSelectionWithHisto (line 393) to select the events of interest. This allows the event selection criteria to be configured via configurable parameters.

The default event selection configuration is left unchanged, and consists of: isTriggerTVX + |z_ver| < 10 cm + kNoTimeFrameBorder.

The modifications are applied to:

  1. ProcessData: line 825
  2. ProcessMC: line 922

Furthermore, I added the possibility to select INEL > 0 events, to compare the results with the Run 2 analysis. I introduced a dedicated configurable, named kINELgt0, which is set to 0 by default, so as not to alter the current task event-selection configuration.

@github-actions github-actions bot added the pwglf label Feb 18, 2026
@github-actions github-actions bot changed the title Change event-selection in nucleiSpectra.cxx [PWGLF] Change event-selection in nucleiSpectra.cxx Feb 18, 2026
@Cristian-Moscatelli Cristian-Moscatelli marked this pull request as ready for review February 18, 2026 10:57
@mpuccio mpuccio enabled auto-merge (squash) February 18, 2026 11:01
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