rivet is hosted by Hepforge, IPPP Durham
ParticleIdUtils.hh File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  Rivet
namespace  Rivet::PID

Functions

PID operations on Rivet::Particle wrapper
int abspid (const int &pid)
 Absolute value of particle ID.
bool isValid (const int &pid)
 Is this a valid ID?
bool isMeson (const int &pid)
 Is this a valid meson ID?
bool isBaryon (const int &pid)
 Is this a valid baryon ID?
bool isDiQuark (const int &pid)
 Is this a valid diquark ID?
bool isHadron (const int &pid)
 Is this a valid hadron ID?
bool isLepton (const int &pid)
 Is this a valid lepton ID?
bool isNeutrino (const int &pid)
 Is this a neutrino ID?
bool isNucleus (const int &pid)
 Is this a valid ion ID?
bool isPentaquark (const int &pid)
 Is this a valid pentaquark ID?
bool isSUSY (const int &pid)
 Is this a valid SUSY ID?
bool isRhadron (const int &pid)
 Is this a valid R-hadron ID?
bool hasUp (const int &pid)
 Does this particle contain an up quark?
bool hasDown (const int &pid)
 Does this particle contain a down quark?
bool hasStrange (const int &pid)
 Does this particle contain a strange quark?
bool hasCharm (const int &pid)
 Does this particle contain a charm quark?
bool hasBottom (const int &pid)
 Does this particle contain a bottom quark?
bool hasTop (const int &pid)
 Does this particle contain a top quark?
int jSpin (const int &pid)
 jSpin returns 2J+1, where J is the total spin
int sSpin (const int &pid)
 sSpin returns 2S+1, where S is the spin
int lSpin (const int &pid)
 lSpin returns 2L+1, where L is the orbital angular momentum
int threeCharge (const int &pid)
 Return 3 times the charge (3 x quark charge is an int)
double charge (const int &pid)
 Return the charge.