![]() |
HepPDT Reference DocumentationHepPDT |
Go to the source code of this file.
Namespaces | |
namespace | HepPID |
Enumerations | |
enum | HepPID::location { HepPID::nj = 1, HepPID::nq3, HepPID::nq2, HepPID::nq1, HepPID::nl, HepPID::nr, HepPID::n, HepPID::n8, HepPID::n9, HepPID::n10 } |
The location enum provides a convenient index into the PID. More... | |
Functions | |
unsigned short | HepPID::digit (location loc, const int &pid) |
return the digit at a named location in the PID | |
int | HepPID::A (const int &pid) |
Ion numbers are +/- 10LZZZAAAI. | |
int | HepPID::Z (const int &pid) |
Ion numbers are +/- 10LZZZAAAI. | |
int | HepPID::lambda (const int &pid) |
Ion numbers are +/- 10LZZZAAAI. | |
int | HepPID::abspid (const int &pid) |
absolute value of particle ID | |
int | HepPID::fundamentalID (const int &pid) |
extract fundamental ID (1-100) if this is a "fundamental" particle | |
bool | HepPID::hasFundamentalAnti (const int &pid) |
if this is a fundamental particle, does it have a valid antiparticle? | |
int | HepPID::extraBits (const int &pid) |
(e.g. outside the standard numbering scheme) | |
bool | HepPID::isValid (const int &pid) |
is this a valid ID? | |
bool | HepPID::isMeson (const int &pid) |
is this a valid meson ID? | |
bool | HepPID::isBaryon (const int &pid) |
is this a valid baryon ID? | |
bool | HepPID::isDiQuark (const int &pid) |
is this a valid diquark ID? | |
bool | HepPID::isHadron (const int &pid) |
is this a valid hadron ID? | |
bool | HepPID::isLepton (const int &pid) |
is this a valid lepton ID? | |
bool | HepPID::isNucleus (const int &pid) |
is this a valid ion ID? | |
bool | HepPID::isPentaquark (const int &pid) |
is this a valid pentaquark ID? | |
bool | HepPID::isSUSY (const int &pid) |
is this a valid SUSY ID? | |
bool | HepPID::isRhadron (const int &pid) |
is this a valid R-hadron ID? | |
bool | HepPID::isDyon (const int &pid) |
is this a valid Dyon (magnetic monopole) ID? | |
bool | HepPID::isQBall (const int &pid) |
Ad-hoc numbering for such particles is 100xxxx0, where xxxx is the charge in tenths. | |
bool | HepPID::hasUp (const int &pid) |
does this particle contain an up quark? | |
bool | HepPID::hasDown (const int &pid) |
does this particle contain a down quark? | |
bool | HepPID::hasStrange (const int &pid) |
does this particle contain a strange quark? | |
bool | HepPID::hasCharm (const int &pid) |
does this particle contain a charm quark? | |
bool | HepPID::hasBottom (const int &pid) |
does this particle contain a bottom quark? | |
bool | HepPID::hasTop (const int &pid) |
does this particle contain a top quark? | |
int | HepPID::jSpin (const int &pid) |
jSpin returns 2J+1, where J is the total spin | |
int | HepPID::sSpin (const int &pid) |
sSpin returns 2S+1, where S is the spin | |
int | HepPID::lSpin (const int &pid) |
lSpin returns 2L+1, where L is the orbital angular momentum | |
int | HepPID::threeCharge (const int &pid) |
If this is a Q-ball, return 30 times the charge. | |
double | HepPID::charge (const int &pid) |
return the actual charge |