Skip to content

[PWGLF] Add new task - PWGLF/Tasks/Nuspex/deutInJetsTrgPt#14781

Open
Cristian-Moscatelli wants to merge 6 commits intoAliceO2Group:masterfrom
Cristian-Moscatelli:deutInJet
Open

[PWGLF] Add new task - PWGLF/Tasks/Nuspex/deutInJetsTrgPt#14781
Cristian-Moscatelli wants to merge 6 commits intoAliceO2Group:masterfrom
Cristian-Moscatelli:deutInJet

Conversation

@Cristian-Moscatelli
Copy link

Add a new task for studying (anti-)deuteron spectra inside jets and in the UE using the anti-kT algorithm.
The measurement is conducted on skimmed datasets, with the filters "fJetFullLowPt" and "fJetFullHighPt", using the helper Zorro.
Update: 03-02-2026
Include only the processData function to obtain raw spectra.

@github-actions github-actions bot added the pwglf label Feb 3, 2026
@github-actions github-actions bot changed the title Add new task - PWGLF/Tasks/Nuspex/deutInJetsTrgPt [PWGLF] Add new task - PWGLF/Tasks/Nuspex/deutInJetsTrgPt Feb 3, 2026
@maciacco
Copy link
Collaborator

maciacco commented Feb 3, 2026

hi @Cristian-Moscatelli could you please check the remaining formatting issues before merging? thanks

@Cristian-Moscatelli Cristian-Moscatelli marked this pull request as draft February 3, 2026 16:00
@Cristian-Moscatelli Cristian-Moscatelli marked this pull request as ready for review February 4, 2026 16:26
@maciacco
Copy link
Collaborator

maciacco commented Feb 4, 2026

Hi @Cristian-Moscatelli could you fix the linter error adding the required include?

PWGLF/Tasks/Nuspex/DeuteronInJetsTrgPt.cxx:109:  Add #include <string> for string  [build/include_what_you_use] [4]

}

// Compute delta phi
double getDeltaPhi(double a1, double a2)
Copy link
Collaborator

Choose a reason for hiding this comment

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

RecoDecay::constrainAngle does this.

Copy link
Author

Choose a reason for hiding this comment

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

Thank you very much for the comment. I am implementing your suggestion right now


// Find ITS hit
template <typename TrackIts>
bool hasITShit(const TrackIts& track, int layer)
Copy link
Collaborator

Choose a reason for hiding this comment

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

Quite an unfortunate name. :-D

Copy link
Collaborator

Choose a reason for hiding this comment

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

@vkucera @Cristian-Moscatelli hasHitITS should do the trick

PUBLIC_LINK_LIBRARIES O2Physics::AnalysisCore
COMPONENT_NAME Analysis)

o2physics_add_dpl_workflow(deuteron-in-jet-trg-pt
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
o2physics_add_dpl_workflow(deuteron-in-jet-trg-pt
o2physics_add_dpl_workflow(deuteron-in-jets-trg-pt

Copy link
Collaborator

Choose a reason for hiding this comment

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

@Cristian-Moscatelli please have a look at this suggestions before we merge

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.

3 participants