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,PWGJE] Adding B+ to the jet workflow #8726

Closed
wants to merge 1 commit into from

Conversation

nzardosh
Copy link
Collaborator

No description provided.

@nzardosh nzardosh marked this pull request as draft November 29, 2024 08:53
@github-actions github-actions bot changed the title WIP Adding B+ to the jet workflow [PWGHF,PWGJE] WIP Adding B+ to the jet workflow Nov 29, 2024
@nzardosh nzardosh force-pushed the jetsbackup branch 2 times, most recently from d56e03f to 9824443 Compare December 1, 2024 17:09
@nzardosh nzardosh changed the title [PWGHF,PWGJE] WIP Adding B+ to the jet workflow [PWGHF,PWGJE] Adding B+ to the jet workflow Dec 1, 2024
@nzardosh nzardosh marked this pull request as ready for review December 1, 2024 18:54
@vkucera vkucera marked this pull request as draft December 2, 2024 09:44
Copy link
Collaborator

@vkucera vkucera left a comment

Choose a reason for hiding this comment

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

This PR is mixing at least 4 completely independent features and must be adjusted:

  • Adding B+ in the jet workflow
    • This part has nothing to do with the HF code and should be the only content of this PR (as the title suggests).
  • Renaming the common and 3P derived HF tables
    • This is not required to add the B+ in jets. It should be done in a separate PR before or after this one.
  • Declaring derived HF tables with macros
    • This is not required to add the B+ in jets. This part is only relevant to making the HF tables unique as a part of the table content unification. It should be done in a separate PR.
  • Factoring out common methods for filling derived HF tables into a utility class

Comment on lines -182 to +133
void fillTablesCandidate(const T& candidate, const U& prongCharm, const V& prongBachelor, int candFlag, double invMass,
void fillTablesCandidate(const T& candidate, const U& prongCharm, const V& prongBachelor, int candFlag, float invMass,
Copy link
Collaborator

Choose a reason for hiding this comment

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

This is wrong.

DECLARE_SOA_TABLE_STAGED(HfBplusMls, "HFBPML", //! Table with candidate selection ML scores
hf_cand_mc::MlScoreSig,
DECLARE_SOA_TABLE_STAGED(HfBplusMls, "HFBPML", //! Table with candidate selection ML scores
hf_cand_mc::MlScoreSig, // why is this the signal ML score instead of the full one?
Copy link
Collaborator

Choose a reason for hiding this comment

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

Please remove the comment.

@nzardosh nzardosh closed this Dec 3, 2024
@nzardosh nzardosh deleted the jetsbackup branch December 3, 2024 15:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

2 participants