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

Change the default ctag value to be true for truth c-jets #253

Merged
merged 3 commits into from
May 6, 2024

Conversation

prbbing
Copy link
Contributor

@prbbing prbbing commented May 5, 2024

Set the default ctag value for truth c-jet to True

Context:

When testing the c-tagging functionality, it was found that the default c-tag value is not set to "true" for truth c-jets. As the default tagger logic is to set the c-tag to false when the criterion is met, this feature prevents the c-tagging from working out of the box (one can still makes it work by modifying the user code).

Description of the Change:

Adding a similar line in btagger.cpp as it was done for b-tagging b-jets solves the above issue, allowing us to perform c-tagging properly.

Benefits:

Now if one loads a customized card involving c-tagging, the code generated by default works out of the box.

Possible Drawbacks:

Related GitHub Issues:

Set the default ctag value for truth c-jet to True
@BFuks BFuks merged commit d0fe58b into MadAnalysis:main May 6, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants