-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Tons of helper functions to check additional particle properties and other PDGID semantics.
- Loading branch information
Showing
8 changed files
with
1,347 additions
and
27 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
# Helper Functions | ||
|
||
There are many useful functions available to check additional properties of | ||
particles, like their types, composition, charge etc. | ||
|
||
All of them take either a `Particle`, a `PDGID` or a simple `Integer` (or | ||
anything which can be converted to an `Integer`) which represents a PDG ID, as | ||
input, so that the general API is the following: | ||
|
||
```julia | ||
helperfunction(p::Union{Particle, PDGID, Integer}) | ||
``` | ||
|
||
Here is a list of the currently available helper functions: | ||
|
||
- `hasup(p)` | ||
- `hasdown(p)` | ||
- `hasstange(p)` | ||
- `hascharm(p)` | ||
- `hasbottom(p)` | ||
- `hastop(p)` | ||
- `isquark(p)` | ||
- `isstandard(p)` | ||
- `isfundamental(p)` | ||
- `fundamentalid(p)` | ||
- `islepton(p)` | ||
- `ismeson(p)` | ||
- `isbaryon(p)` | ||
- `ishadron(p)` | ||
- `isRhadron(p)` | ||
- `isSUSY(p)` | ||
- `ispentaquark(p)` | ||
- `isgaugebosonorhiggs(p)` | ||
- `issmgaugebosonorhiggs(p)` | ||
- `istechnicolor(p)` | ||
- `iscompositequarkorlepton(p)` | ||
- `isdyon(p)` | ||
- `isdiquark(p)` | ||
- `isgeneratorspecific(p)` | ||
- `isspecial(p)` | ||
- `isQball(p)` | ||
- `hasfundamentalanti(p)` | ||
- `isnucleus(p)` | ||
- `A(p)` | ||
- `Z(p)` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.