Skip to content

[PWGLF] Add new task: PWGLF/TableProducer/Nuspex/deuteronInTriggeredEvents#16128

Draft
Cristian-Moscatelli wants to merge 4 commits intoAliceO2Group:masterfrom
Cristian-Moscatelli:deutInJets
Draft

[PWGLF] Add new task: PWGLF/TableProducer/Nuspex/deuteronInTriggeredEvents#16128
Cristian-Moscatelli wants to merge 4 commits intoAliceO2Group:masterfrom
Cristian-Moscatelli:deutInJets

Conversation

@Cristian-Moscatelli
Copy link
Copy Markdown
Contributor

I created a new task, named deuteronInTriggeredEvents.cxx (PWGLF/TableProducer/Nuspex), to study the (anti-)deuteron pT spectrum in jet-triggered pp collisions. The task is based on nucleiSpectra.cxx (same directory), but provides further selections for events. The analysis flow is the following:

  1. Apply standard event selection: sel8 + |z_vtx| < 10 cm;
  2. Select events "containing" at least one jet with pT above a given threshold (valid jet);
  3. Produce derived data containing (anti-)deuteron candidates for offline analysis.

Regarding the processData, the event selection is performed using the skimmed dataset. Specifically, the trigger list used are fChJetLowPt and fChJetHighPt. Apart from this, this part is analogous to nucleiSpectra.cxx.

As for the processMC, the event selection is applied by checking if the event "contains" one valid jet. The same jet definition used in the skimming procedure is adopted:

  • R_jet < 0.6;
  • |eta_jet| < 0.9;
  • pT thresholds of 30 and 55 GeV/c for the two triggers, respectively.

These event selections are applied to the reconstructed events, and (anti-)deuteron candidate selection follows the same strategy as in nucleiSpectra.cxx. In addition, a dedicated table has been introduced to store MC generated events containing at least one valid jet. This is intended for normalization of the final spectra to the number of jet-triggered events.

This task can also provide a MB analysis, as the jet-triggered event selection is configurable and can be disabled. Furthermore, the analysis can be extended to (anti-)p, (anti-)t, (anti-)He-3 and (anti-)He-4.

I would appreciate any feedback or suggestions. Thanks in advance.

@github-actions github-actions Bot added the pwglf label May 6, 2026
@github-actions github-actions Bot changed the title Add new task: PWGLF/TableProducer/Nuspex/deuteronInTriggeredEvents [PWGLF] Add new task: PWGLF/TableProducer/Nuspex/deuteronInTriggeredEvents May 6, 2026
@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 6, 2026

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

@vkucera
Copy link
Copy Markdown
Collaborator

vkucera commented May 6, 2026

Why is this not in PWGJE?

@Cristian-Moscatelli
Copy link
Copy Markdown
Contributor Author

Why is this not in PWGJE?

Good afternoon Vit. Thanks for your reply. I decided to put the task in PWGLF/TableProducer/Nuspex since I modify the task nucleiSpectra.cxx, which is in the same directory. What do you think?

Comment on lines +31 to +33
#include "PWGJE/Core/JetBkgSubUtils.h"
#include "PWGJE/Core/JetUtilities.h"
#include "PWGLF/DataModel/LFSlimNucleiTables.h"
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.

Suggested change
#include "PWGJE/Core/JetBkgSubUtils.h"
#include "PWGJE/Core/JetUtilities.h"
#include "PWGLF/DataModel/LFSlimNucleiTables.h"
#include "PWGLF/DataModel/LFSlimNucleiTables.h"
//
#include "PWGJE/Core/JetBkgSubUtils.h"
#include "PWGJE/Core/JetUtilities.h"

Comment on lines +50 to +61
#include "CCDB/BasicCCDBManager.h"
#include "DataFormatsParameters/GRPMagField.h"
#include "DataFormatsParameters/GRPObject.h"
#include "DetectorsBase/GeometryManager.h"
#include "DetectorsBase/Propagator.h"
#include "Framework/ASoAHelpers.h"
#include "Framework/AnalysisDataModel.h"
#include "Framework/AnalysisTask.h"
#include "Framework/HistogramRegistry.h"
#include "Framework/runDataProcessing.h"
#include "MathUtils/BetheBlochAleph.h"
#include "ReconstructionDataFormats/Track.h"
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.

Fix the format.

Comment on lines +85 to +88
struct NucleusCandidate {
int globalIndex;
int collTrackIndex;
float pt;
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.

All members are uninitialised.

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