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)
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)
int HepPID::A (const int &pid)
int HepPID::lambda (const int &pid)
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::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)
 return 3 times the charge (3 x quark charge is an int)


Generated on Fri Oct 24 13:41:37 2008 for HepPDT by  doxygen 1.5.1-3