Skip to content

[PWGHF] Implement TPC pid for light nuclei based on Bethe-Bloch parametrization in HF track skimming task#14729

Draft
zhangbiao-phy wants to merge 9 commits intoAliceO2Group:masterfrom
zhangbiao-phy:master
Draft

[PWGHF] Implement TPC pid for light nuclei based on Bethe-Bloch parametrization in HF track skimming task#14729
zhangbiao-phy wants to merge 9 commits intoAliceO2Group:masterfrom
zhangbiao-phy:master

Conversation

@zhangbiao-phy
Copy link
Collaborator

@zhangbiao-phy zhangbiao-phy commented Jan 31, 2026

@fgrosa, the BB parametrization is validated with two diffrent analysis of LF

@github-actions github-actions bot added the pwghf PWG-HF label Jan 31, 2026
@github-actions github-actions bot changed the title Implement TPC pid for light nuclei based on Bethe-Bloch parametrization [PWGHF] Implement TPC pid for light nuclei based on Bethe-Bloch parametrization Jan 31, 2026
@zhangbiao-phy zhangbiao-phy changed the title [PWGHF] Implement TPC pid for light nuclei based on Bethe-Bloch parametrization Implement TPC pid for light nuclei based on Bethe-Bloch parametrization in HF track skimming task Jan 31, 2026
@github-actions github-actions bot changed the title Implement TPC pid for light nuclei based on Bethe-Bloch parametrization in HF track skimming task [PWGHF] Implement TPC pid for light nuclei based on Bethe-Bloch parametrization in HF track skimming task Jan 31, 2026
@zhangbiao-phy
Copy link
Collaborator Author

thanks @vkucera! I fixed your comments now, please take a look.

@zhangbiao-phy zhangbiao-phy marked this pull request as draft February 2, 2026 13:58
return false;
}

float itsPidNsigma = -999.f;
Copy link
Collaborator

@vkucera vkucera Feb 2, 2026

Choose a reason for hiding this comment

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

its is not a quantity, Pid is redundant, Nsigma is not a word.

Suggested change
float itsPidNsigma = -999.f;
float nSigmaIts = -999.f;

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Fixed

/// \param lightnuclei Species selector: 0=Deuteron, 1=Triton, 2=Helium3.
/// \return TPC nσ for the chosen nucleus hypothesis (or -999 if not applicable).
template <typename TrackType>
float getTPCnSigmaBB(const TrackType& track, ChannelsNucleiQA lightnuclei)
Copy link
Collaborator

Choose a reason for hiding this comment

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

Follow naming conventions.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

fixed

}
}
PROCESS_SWITCH(HfTrackIndexSkimCreatorTagSelTracks, processNoPid, "Process without PID selections", true);
PROCESS_SWITCH(HfTrackIndexSkimCreatorTagSelTracks, processNoPid, "Process without PID selections", false);
Copy link
Collaborator

Choose a reason for hiding this comment

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

Why do you change the default config?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Thanks for spotting it! I forgot to restore it

@zhangbiao-phy
Copy link
Collaborator Author

zhangbiao-phy commented Feb 8, 2026

Thanks @fgrosa's suggestions! I move to the light nuclei track quality and pid selection into the track tag task now. Then used it into the pid selection on top of 3prong candidates pre-selection

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.

2 participants