ParticleName.hh File Reference

#include "Rivet/Particle.fhh"
#include "Rivet/Exceptions.hh"

Include dependency graph for ParticleName.hh:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


Namespaces

namespace  Rivet

Classes

class  ParticleNames

Functions

const std::string & toParticleName (PdgId p)
 Print a PdgId as a named string.
PdgId toParticleId (const std::string &pname)
 Print a PdgId as a named string.
std::pair< PdgId, PdgId > make_pdgid_pair (PdgId a, PdgId b)
 Convenience maker of particle ID pairs from PdgIds.
std::pair< PdgId, PdgId > make_pdgid_pair (const std::string &a, const std::string &b)
 Convenience maker of particle ID pairs from particle names.
std::string toBeamsString (const PdgIdPair &pair)
 Print a PdgIdPair as a string.

Variables

Static const convenience particle ID names
static const PdgId ELECTRON = 11
static const PdgId POSITRON = -11
static const PdgId PROTON = 2212
static const PdgId ANTIPROTON = -2212
static const PdgId PHOTON = 22
static const PdgId NEUTRON = 2112
static const PdgId ANTINEUTRON = -2112
static const PdgId MUON = 13
static const PdgId ANTIMUON = -13
static const PdgId NU_E = 12
static const PdgId NU_EBAR = -12
static const PdgId NU_MU = 14
static const PdgId NU_MUBAR = -14
static const PdgId NU_TAU = 16
static const PdgId NU_TAUBAR = -16
static const PdgId PIPLUS = 211
static const PdgId PIMINUS = -211
static const PdgId K0L = 130
static const PdgId K0S = 310
static const PdgId KPLUS = 321
static const PdgId KMINUS = -321
static const PdgId LAMBDA = 3122
static const PdgId LAMBDABAR = -3122
static const PdgId XIMINUS = 3312
static const PdgId XIPLUS = -3312
static const PdgId OMEGAMINUS = 3334
static const PdgId OMEGAPLUS = -3334
static const PdgId TAU = 15
static const PdgId ANTITAU = -15
static const PdgId EMINUS = 11
static const PdgId EPLUS = -11
static const PdgId P = 2212
static const PdgId PBAR = -2212
static const PdgId GLUON = 21
static const PdgId GAMMA = 22
static const PdgId WPLUSBOSON = 24
static const PdgId WMINUSBOSON = -24
static const PdgId ZBOSON = 23
static const PdgId HIGGS = 25
static const PdgId DQUARK = 1
static const PdgId UQUARK = 2
static const PdgId SQUARK = 3
static const PdgId CQUARK = 4
static const PdgId BQUARK = 5
static const PdgId TQUARK = 6
static const PdgId ANY = 10000