-
Notifications
You must be signed in to change notification settings - Fork 628
[PWGHF] Added trigger for Sc-proton correlation #14786
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
base: master
Are you sure you want to change the base?
Conversation
Added parameters for Sigma_C trigger selection and updated event tagging logic for SigmaC candidates.
Added support for SigmaC particle selection in the HfFilterHelper class.
[Trigger,PWGHF] Please consider the following formatting changes to AliceO2Group#14786
fgrosa
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @singhra1994 I still didn't look into the helper functions, but I already spotted several issues in the logic of the filter itself. Please implement the suggestions, and then I will take a look at the helper functions as well.
[Trigger,PWGHF] Please consider the following formatting changes to AliceO2Group#14786
fgrosa
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @singhra1994, thanks for addressing my comments! The code looks correct to me now, but I would like to ask @mfaggin also to check that I didn't overlook any other bug that might affect the SigmaC-K triggers.
Please also address my remaining comments and then as discussed in the trigger meeting, verify that the output of the task is identical for the other triggers before and after your changes, so that we can then merge it. Thanks!
EventFiltering/PWGHF/HFFilter.cxx
Outdated
|
|
||
| // array of BDT thresholds | ||
| std::array<LabeledArray<double>, kNCharmParticles> thresholdBDTScores; | ||
| std::array<LabeledArray<double>, kNCharmParticles + 1> thresholdBDTScores; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please put it separately
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree with this comment: leave your BDT fully independent from the others which are general for the triggers.
mfaggin
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @fgrosa @singhra1994 I tried to go through the modifications and I posted some comments. It looks to me that the already existing trigger Sc-K is not affected by the proposed modifications, but I have a couple of warnings/comments for the Sc-p part.
EventFiltering/PWGHF/HFFilter.cxx
Outdated
|
|
||
| // array of BDT thresholds | ||
| std::array<LabeledArray<double>, kNCharmParticles> thresholdBDTScores; | ||
| std::array<LabeledArray<double>, kNCharmParticles + 1> thresholdBDTScores; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree with this comment: leave your BDT fully independent from the others which are general for the triggers.
Updated PID cuts and added new parameters for SigmaC-pr correlation. Adjusted track selection criteria and improved comments for clarity.
[Trigger,PWGHF] Please consider the following formatting changes to AliceO2Group#14786
EventFiltering/PWGHF/HFFilter.cxx
Outdated
| } | ||
| float deltaEta = std::abs(RecoDecay::eta(pVecSigmaC) - track.eta()); | ||
| if (!keepEvent[kSigmaCPr] && (isTrackProton && deltaEta < 1.0)) { | ||
| auto tagBDT = helper.isBDTSelected(scores[2], thresholdBDTScoreScLcToPiKP.value); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Move this cut as suggested in the previous round of review
Updated configurable parameters for SigmaCPr trigger and added logic for SigmaC-proton correlation. Enhanced event tagging and BDT score handling for SigmaC candidates.
[Trigger,PWGHF] Please consider the following formatting changes to AliceO2Group#14786
I have modified the block trigger SigmaCPPK in such a way that both SigmaCPPK and SigmaCP can be filled in the same block