HepPDT Reference Documentation

HepPDT

ParticleIDMethods.cc File Reference

#include <cmath>
#include "HepPID/ParticleIDMethods.hh"
#include "HepPID/ParticleName.hh"

Go to the source code of this file.

Namespaces

namespace  HepPID

Functions

bool HepPID::findQ (const int &pid, const int &q)
int HepPID::abspid (const int &pid)
 absolute value of particle ID
int HepPID::extraBits (const int &pid)
 (e.g. outside the standard numbering scheme)
unsigned short HepPID::digit (location loc, const int &pid)
 return the digit at a named location in the PID
int HepPID::fundamentalID (const int &pid)
 extract fundamental ID (1-100) if this is a "fundamental" particle
int HepPID::Z (const int &pid)
 Ion numbers are +/- 10LZZZAAAI.
int HepPID::A (const int &pid)
 Ion numbers are +/- 10LZZZAAAI.
int HepPID::lambda (const int &pid)
 Ion numbers are +/- 10LZZZAAAI.
bool HepPID::isValid (const int &pid)
 is this a valid ID?
bool HepPID::hasFundamentalAnti (const int &pid)
 if this is a fundamental particle, does it have a valid antiparticle?
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


Generated on Fri Dec 4 14:05:24 2009 for HepPDT by  doxygen 1.4.7