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 · 6 comments
Open
2 tasks
Labels
💫 good first issue Good for newcomers help wanted Extra attention is needed

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.

@eduardo-rodrigues eduardo-rodrigues added help wanted Extra attention is needed 💫 good first issue Good for newcomers labels Sep 4, 2024
@eduardo-rodrigues
Copy link
Member

Hello @redeboer, you linked above to code from you. Is this something you would like to port to Particle? It could be very neat. It's not a tiny piece of work. I thought I would ask anyway :-).

@redeboer
Copy link
Contributor

redeboer commented Sep 9, 2024

Yes this could be ported, though parts have to be rewritten for particle's implementation.
I'm tagging @grayson-helmholz, who is currently reworking QRules. Maybe something you could look into? On the road myself the next few weeks

@eduardo-rodrigues
Copy link
Member

Hi. Sounds cool. Let's keep in touch.

And happy trips to you :)!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
💫 good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants