Skip to content

[PWGHF] Add histograms in Non-HFE analysis#15491

Open
rashigupt wants to merge 2 commits intoAliceO2Group:masterfrom
rashigupt:rashi
Open

[PWGHF] Add histograms in Non-HFE analysis#15491
rashigupt wants to merge 2 commits intoAliceO2Group:masterfrom
rashigupt:rashi

Conversation

@rashigupt
Copy link
Contributor

Added additional histograms in the Non-HFE analysis to store Non-HFE electron information in the electronSelectionWithTPCEMCal task.

@github-actions github-actions bot added the pwghf PWG-HF label Mar 23, 2026
@github-actions github-actions bot changed the title Add histograms in Non-HFE analysis [PWGHF] Add histograms in Non-HFE analysis Mar 23, 2026
@vkucera
Copy link
Collaborator

vkucera commented Mar 23, 2026

Your branch is very outdated. Please update it, test everything, and push the update to your remote branch.

@rashigupt rashigupt closed this Mar 23, 2026
@vkucera
Copy link
Collaborator

vkucera commented Mar 23, 2026

You didn't have to close the PR. You just need to update your branch.

@rashigupt
Copy link
Contributor Author

okay Thankyou @vkucera

@rashigupt
Copy link
Contributor Author

Dear expert, if everything looks fine, kindly approve and merge the code.

Copy link
Collaborator

@apalasciano apalasciano left a comment

Choose a reason for hiding this comment

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

Hello @rashigupt,
I have comments on a few of the if conditions you just added.

if (!isEMcal) {
registry.fill(HIST("hLikeMass_EMCAL"), massLike);
} else {
registry.fill(HIST("hLikeMass_NoEMCAL"), massLike);
Copy link
Collaborator

Choose a reason for hiding this comment

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

This can be a source of confusion.
For example:
If isEMcal==TRUE you fill hLikeMass_NoEMCAL
If isEMcal==FALSE you fill hLikeMass_EMCAL

Shouldn't the if condition be the opposite?

if (!isEMcal) {
registry.fill(HIST("hUnLikeMass_EMCAL"), massUnLike);
} else {
registry.fill(HIST("hUnLikeMass_NoEMCAL"), massUnLike);
Copy link
Collaborator

Choose a reason for hiding this comment

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

same here

Copy link
Contributor Author

Choose a reason for hiding this comment

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

okay Thankyou @apalasciano , I will correct it accordingly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pwghf PWG-HF

Development

Successfully merging this pull request may close these issues.

4 participants