Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PWGHF/HFL: Add 2DHistogram in electronselection table and correct electron trackid in HFelectron correlationtask #7751

Open
wants to merge 101 commits into
base: master
Choose a base branch
from

Conversation

rashigupt
Copy link
Contributor

@rashigupt rashigupt commented Sep 20, 2024

Replaced THnSparse with a 2D histogram to prevent failures with larger datasets in the electron selection task.

@@ -135,7 +135,7 @@ struct HfCorrelatorHfeHadrons {
registry.fill(HIST("hptElectron"), ptElectron);
for (const auto& hTrack : tracks) {

if (hTrack.globalIndex() == eTrack.globalIndex())
if (hTrack.globalIndex() == eTrack.gTrackId())
Copy link
Collaborator

Choose a reason for hiding this comment

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

It is not clear why globalIndex() is used for hadron track and gTrackId() is used for electron track. This can be error prone. If there is an issue with globalIndex function in the electron table, I would suggest to investigate that and fix it.

@rashigupt rashigupt changed the title PWGHF/HFL: Add 2DHistogram in electronselection table PWGHF/HFL: Add 2DHistogram in electronselection table and correct electron trackid in HFelectron correlationtask Oct 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants