ParticleIdUtils.hh File Reference

#include "Rivet/Particle.hh"

Include dependency graph for ParticleIdUtils.hh:

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