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

Tests for Lepton number, Baryon number and a function for R-parity #498

Open
2 tasks
amanmdesai opened this issue May 26, 2023 · 3 comments
Open
2 tasks

Comments

@amanmdesai
Copy link
Contributor

As per discussion in #494 with @eduardo-rodrigues

  • To write tests for lepton number and baryon number
  • Add a function to extract r-parity of susy particles

c.c. @eduardo-rodrigues @redeboer

@redeboer
Copy link
Contributor

To write tests for lepton number and baryon number

Is the idea to check with Gell-Mann–Nishijima? Particle instances in QRules only carry quantum numbers, not data like quark content, and they can only be constructed if their numbers agree with NNG. It is probably too strict to implement as a runtime check for the particle package, but we could write an NNG check that is run through the test suite, e.g. for PDG particles.

@eduardo-rodrigues
Copy link
Member

I was not originally thinking about that, as it would require several new quantum numbers to be added to the code here in Particle. That is not to say that it is totally wild. But it would require some (more) work. What do you think?

In the first instance one would add lepton and baryon numbers for the particles, and would take it from there.

Kindly comment and help out :-).

@redeboer
Copy link
Contributor

redeboer commented Jun 2, 2023

as it would require several new quantum numbers to be added to the code here in Particle

If the check is implemented in a test, the quantum numbers can be computed from existing data in a Particle instance, see code here. Not sure if it works for all definitions, but should work for most.

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

No branches or pull requests

3 participants