Skip to content

Add conditional hyperedge construction #49

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

tzuhanchang
Copy link
Owner

Add conditional hyperedge construction #48. Adding the option Restriction in the dataset configuration file (db.yaml). Restriction takes the following values:

  • none (No restrictions applied)
  • list, for example [[0,-1,1], [0,-2,1], [1,1,1]], these integers are id defined in the Features.

Only hyperedges that satisfy one of the conditions will be used for the subsequent computing.

If id -1 represents electron, -2 represents muon, 0 represents MET, and 1 represents jet, then restriction [[0,-1,1], [0,-2,1], [1,1,1]] will prohibit non-physical cases such as a hyperedge containing two jets and one lepton.

@tzuhanchang tzuhanchang added Dataset Dataset related issue features New features labels May 20, 2024
@tzuhanchang tzuhanchang requested a review from els285 May 20, 2024 10:47
@tzuhanchang tzuhanchang self-assigned this May 20, 2024
@tzuhanchang
Copy link
Owner Author

@els285 can you test this on lep+jet ttbar events?

@tzuhanchang
Copy link
Owner Author

Complete task list:

  • Test on ttbar lep+jet events
  • Update CHANGELOG.md
  • Update documentation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Dataset Dataset related issue features New features
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant