Skip to content

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

[PWGHF] Please consider the following formatting changes to AliceO2Group#14729
template <int PidStrategy, typename T>
uint8_t isSelectedPid(const T& hfTrack)
template <int PidStrategy, typename T, typename TrackWithIts>
uint8_t isSelectedPid(const T& hfTrack, const TrackWithIts& hfTrackWithIts)
Copy link
Collaborator

Choose a reason for hiding this comment

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

Please update the documentation.

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

Copy link
Collaborator

Choose a reason for hiding this comment

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

Not fixed. The function does not return bool.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

ah, I didn't get your point before. It's fixed now

Please consider the following formatting changes to AliceO2Group#14729
@zhangbiao-phy zhangbiao-phy marked this pull request as ready for review February 10, 2026 14:42
@zhangbiao-phy
Copy link
Collaborator Author

Hi @vkucera, Could you please take a look this pr? let me know if you have any further comments. Thanks a lot!

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