![]() |
HepPDT Reference DocumentationHepPDT |
Classes | |
class | ParticleNameMap |
Typedefs | |
typedef std::map< int, std::string > | PartcleIdMap |
typedef std::map< std::string, int > | ParticleLookupMap |
typedef std::map< int, int > | EvtGenPDTMap |
typedef std::map< int, int > | PDTEvtGenMap |
typedef std::map< int, int > | HerwigPDTMap |
typedef std::map< int, int > | PDTHerwigMap |
typedef std::map< int, int > | IsajetPDTMap |
typedef std::map< int, int > | PDTIsajetMap |
typedef std::map< int, int > | PDGtoPDTMap |
typedef std::map< int, int > | PDTtoPDGMap |
typedef std::map< int, int > | PythiaPDTMap |
typedef std::map< int, int > | PDTPythiaMap |
typedef std::map< int, int > | QQPDTMap |
typedef std::map< int, int > | PDTQQMap |
typedef std::map< int, int > | QQbarMap |
typedef std::map< int, int > | InverseQQbarMap |
Enumerations | |
enum | location { nj = 1, nq3, nq2, nq1, nl, nr, n, n8, n9, n10 } |
Functions | |
unsigned short | digit (location loc, const int &pid) |
return the digit at a named location in the PID | |
int | A (const int &pid) |
int | Z (const int &pid) |
int | lambda (const int &pid) |
int | abspid (const int &pid) |
absolute value of particle ID | |
int | fundamentalID (const int &pid) |
extract fundamental ID (1-100) if this is a "fundamental" particle | |
bool | hasFundamentalAnti (const int &pid) |
if this is a fundamental particle, does it have a valid antiparticle? | |
int | extraBits (const int &pid) |
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) | |
int | translateHerwigtoPDT (const int herwigID) |
translate Herwig to PDG standard | |
int | translatePDTtoHerwig (const int pid) |
translate PDG standard to Herwig | |
void | writeHerwigTranslation (std::ostream &os) |
output the translation list | |
int | translateIsajettoPDT (const int isajetID) |
translate Isajet to PDG standard | |
int | translatePDTtoIsajet (const int pid) |
translate PDG standard to Isajet | |
void | writeIsajetTranslation (std::ostream &os) |
output the translation list | |
int | translatePythiatoPDT (const int pythiaID) |
translate Pythia to PDG standard | |
int | translatePDTtoPythia (const int pid) |
translate PDG standard to Pythia | |
void | writePythiaTranslation (std::ostream &os) |
output the translation list | |
int | translateEvtGentoPDT (const int evtGenID) |
translate EvtGen to PDG standard | |
int | translatePDTtoEvtGen (const int pid) |
translate PDG standard to EvtGen | |
void | writeEvtGenTranslation (std::ostream &os) |
output the translation list | |
int | translatePDGtabletoPDT (const int pdgID) |
translate PDG table to PDG standard | |
int | translatePDTtoPDGtable (const int pid) |
translate PDG standard to PDG table | |
void | writePDGTranslation (std::ostream &os) |
output the translation list | |
int | translateQQtoPDT (const int qqID) |
translate QQ to PDG standard | |
int | translatePDTtoQQ (const int pid) |
translate PDG standard to QQ | |
int | translateQQbar (const int id) |
QQ helper function. | |
int | translateInverseQQbar (const int id) |
QQ helper function. | |
void | writeQQTranslation (std::ostream &os) |
output the translation list | |
int | translateGeanttoPDT (const int geantID) |
translate Geant3 to PDG standard | |
int | translatePDTtoGeant (const int pid) |
translate PDG standard to Geant3 | |
std::string | particleName (const int &) |
get a known HepPID Particle name | |
int | particleName (const std::string &) |
lookup a known ID | |
void | listParticleNames (std::ostream &os) |
list all known names | |
bool | validParticleName (const int &) |
verify that this number has a valid name | |
bool | validParticleName (const std::string &) |
verify that this string has a valid id | |
ParticleNameMap const & | getParticleNameMap () |
access the ParticleNameMap for other purposes | |
void | version () |
print HepPID version | |
void | writeVersion (std::ostream &os) |
write HepPID version to os | |
std::string | versionName () |
return HepPID version | |
bool | findQ (const int &pid, const int &q) |
ParticleNameMap const & | ParticleNameInit () |
void | writeParticleNameLine (int i, std::ostream &os) |
EvtGenPDTMap const & | getEvtGenPDTMap () |
PDTEvtGenMap const & | getPDTEvtGenMap () |
EvtGenPDTMap const & | EvtGenPDTMapInit () |
PDTEvtGenMap const & | PDTEvtGenMapInit () |
EvtGenPDTMap const & | getEvtGenPDTMap () |
PDTEvtGenMap const & | getPDTEvtGenMap () |
void | writeEvtGenTranslationLine (int i, std::ostream &os) |
HerwigPDTMap const & | getHerwigPDTMap () |
PDTHerwigMap const & | getPDTHerwigMap () |
HerwigPDTMap const & | HerwigPDTMapInit () |
PDTHerwigMap const & | PDTHerwigMapInit () |
HerwigPDTMap const & | getHerwigPDTMap () |
PDTHerwigMap const & | getPDTHerwigMap () |
void | writeHerwigTranslationLine (int i, std::ostream &os) |
IsajetPDTMap const & | getIsajetPDTMap () |
PDTIsajetMap const & | getPDTIsajetMap () |
IsajetPDTMap const & | IsajetPDTMapInit () |
PDTIsajetMap const & | PDTIsajetMapInit () |
int | convIsajettoPDT (const int id) |
int | convPDTtoIsajet (const int id) |
IsajetPDTMap const & | getIsajetPDTMap () |
PDTIsajetMap const & | getPDTIsajetMap () |
void | writeIsajetTranslationLine (int i, std::ostream &os) |
PDGtoPDTMap const & | getPDGtoPDTMap () |
PDTtoPDGMap const & | getPDTtoPDGMap () |
PDGtoPDTMap const & | PDGtoPDTMapInit () |
PDTtoPDGMap const & | PDTtoPDGMapInit () |
PDGtoPDTMap const & | getPDGtoPDTMap () |
PDTtoPDGMap const & | getPDTtoPDGMap () |
void | writePDGTranslationLine (int i, std::ostream &os) |
PythiaPDTMap const & | getPythiaPDTMap () |
PDTPythiaMap const & | getPDTPythiaMap () |
PythiaPDTMap const & | PythiaPDTMapInit () |
PDTPythiaMap const & | PDTPythiaMapInit () |
PythiaPDTMap const & | getPythiaPDTMap () |
PDTPythiaMap const & | getPDTPythiaMap () |
void | writePythiaTranslationLine (int i, std::ostream &os) |
QQPDTMap const & | getQQPDTMap () |
PDTQQMap const & | getPDTQQMap () |
QQbarMap const & | getQQbarMap () |
InverseQQbarMap const & | getInverseQQbarMap () |
QQPDTMap const & | QQPDTMapInit () |
QQbarMap const & | QQbarMapInit () |
PDTQQMap const & | PDTQQMapInit () |
InverseQQbarMap const & | InverseQQbarMapInit () |
QQPDTMap const & | getQQPDTMap () |
PDTQQMap const & | getPDTQQMap () |
QQbarMap const & | getQQbarMap () |
InverseQQbarMap const & | getInverseQQbarMap () |
The HepPID namespace contains a set of independent particle ID translation methods
typedef std::map< int, int > HepPID::EvtGenPDTMap |
Definition at line 33 of file translateEvtGen.cc.
typedef std::map< int, int > HepPID::HerwigPDTMap |
Definition at line 33 of file translateHerwig.cc.
typedef std::map< int, int > HepPID::InverseQQbarMap |
Definition at line 40 of file translateQQ.cc.
typedef std::map< int, int > HepPID::IsajetPDTMap |
Definition at line 36 of file translateIsajet.cc.
typedef std::map< int, std::string > HepPID::PartcleIdMap |
Definition at line 33 of file ParticleName.cc.
typedef std::map< std::string, int > HepPID::ParticleLookupMap |
Definition at line 34 of file ParticleName.cc.
typedef std::map< int, int > HepPID::PDGtoPDTMap |
Definition at line 33 of file translatePDG.cc.
typedef std::map< int, int > HepPID::PDTEvtGenMap |
Definition at line 34 of file translateEvtGen.cc.
typedef std::map< int, int > HepPID::PDTHerwigMap |
Definition at line 34 of file translateHerwig.cc.
typedef std::map< int, int > HepPID::PDTIsajetMap |
Definition at line 37 of file translateIsajet.cc.
typedef std::map< int, int > HepPID::PDTPythiaMap |
Definition at line 34 of file translatePythia.cc.
typedef std::map< int, int > HepPID::PDTQQMap |
Definition at line 38 of file translateQQ.cc.
typedef std::map< int, int > HepPID::PDTtoPDGMap |
Definition at line 34 of file translatePDG.cc.
typedef std::map< int, int > HepPID::PythiaPDTMap |
Definition at line 33 of file translatePythia.cc.
typedef std::map< int, int > HepPID::QQbarMap |
Definition at line 39 of file translateQQ.cc.
typedef std::map< int, int > HepPID::QQPDTMap |
Definition at line 37 of file translateQQ.cc.
enum HepPID::location |
PID digits (base 10) are: n nr nl nq1 nq2 nq3 nj The location enum provides a convenient index into the PID.
Definition at line 24 of file ParticleIDMethods.hh.
int HepPID::A | ( | const int & | pid | ) |
if this is a nucleus (ion), get A Ion numbers are +/- 10LZZZAAAI.
Definition at line 86 of file ParticleIDMethods.cc.
References abspid(), and isNucleus().
Referenced by main().
int HepPID::abspid | ( | const int & | pid | ) |
absolute value of particle ID
Definition at line 42 of file ParticleIDMethods.cc.
Referenced by A(), convIsajettoPDT(), convPDTtoIsajet(), digit(), extraBits(), fundamentalID(), isBaryon(), isDiQuark(), isMeson(), isNucleus(), jSpin(), lambda(), main(), threeCharge(), translatePDTtoGeant(), and Z().
int HepPID::@63::convIsajettoPDT | ( | const int | id | ) | [static] |
Definition at line 689 of file translateIsajet.cc.
References abspid(), digit(), nj, nl, nq1, nq2, and nq3.
Referenced by translateIsajettoPDT().
int HepPID::@63::convPDTtoIsajet | ( | const int | id | ) | [static] |
Definition at line 790 of file translateIsajet.cc.
References abspid(), digit(), fundamentalID(), nj, nl, nq1, nq2, and nq3.
Referenced by translatePDTtoIsajet().
unsigned short HepPID::digit | ( | location | loc, | |
const int & | pid | |||
) |
return the digit at a named location in the PID
Definition at line 54 of file ParticleIDMethods.cc.
References abspid().
Referenced by convIsajettoPDT(), convPDTtoIsajet(), findQ(), fundamentalID(), isBaryon(), isDiQuark(), isMeson(), isNucleus(), isPentaquark(), isRhadron(), isSUSY(), lambda(), lSpin(), main(), sSpin(), and threeCharge().
EvtGenPDTMap const& HepPID::@60::EvtGenPDTMapInit | ( | ) | [static] |
int HepPID::extraBits | ( | const int & | pid | ) |
returns everything beyond the 7th digit (e.g. outside the standard numbering scheme)
Definition at line 48 of file ParticleIDMethods.cc.
References abspid().
Referenced by fundamentalID(), hasBottom(), hasCharm(), hasDown(), hasStrange(), hasTop(), hasUp(), isBaryon(), isDiQuark(), isHadron(), isLepton(), isMeson(), isPentaquark(), isRhadron(), isSUSY(), isValid(), jSpin(), main(), and threeCharge().
bool HepPID::@58::findQ | ( | const int & | pid, | |
const int & | q | |||
) | [static] |
Definition at line 17 of file ParticleIDMethods.cc.
References digit(), isPentaquark(), isRhadron(), nl, nq1, nq2, nq3, and nr.
Referenced by hasBottom(), hasCharm(), hasDown(), hasStrange(), hasTop(), and hasUp().
int HepPID::fundamentalID | ( | const int & | pid | ) |
extract fundamental ID (1-100) if this is a "fundamental" particle
Definition at line 64 of file ParticleIDMethods.cc.
References abspid(), digit(), extraBits(), nq1, and nq2.
Referenced by convPDTtoIsajet(), hasBottom(), hasCharm(), hasDown(), hasFundamentalAnti(), hasStrange(), hasTop(), hasUp(), isBaryon(), isDiQuark(), isLepton(), isMeson(), isSUSY(), isValid(), jSpin(), main(), and threeCharge().
EvtGenPDTMap const& HepPID::@60::getEvtGenPDTMap | ( | ) | [static] |
EvtGenPDTMap const& HepPID::@60::getEvtGenPDTMap | ( | ) | [static] |
Referenced by PDTEvtGenMapInit(), translateEvtGentoPDT(), and writeEvtGenTranslationLine().
HerwigPDTMap const& HepPID::@62::getHerwigPDTMap | ( | ) | [static] |
HerwigPDTMap const& HepPID::@62::getHerwigPDTMap | ( | ) | [static] |
Referenced by PDTHerwigMapInit(), translateHerwigtoPDT(), and writeHerwigTranslationLine().
InverseQQbarMap const& HepPID::@67::getInverseQQbarMap | ( | ) | [static] |
InverseQQbarMap const& HepPID::@67::getInverseQQbarMap | ( | ) | [static] |
Referenced by translateInverseQQbar().
IsajetPDTMap const& HepPID::@63::getIsajetPDTMap | ( | ) | [static] |
IsajetPDTMap const& HepPID::@63::getIsajetPDTMap | ( | ) | [static] |
Referenced by PDTIsajetMapInit(), translateIsajettoPDT(), and writeIsajetTranslationLine().
ParticleNameMap const & HepPID::getParticleNameMap | ( | ) |
access the ParticleNameMap for other purposes
Definition at line 1657 of file ParticleName.cc.
References ParticleNameInit().
Referenced by particleName(), and validParticleName().
PDGtoPDTMap const& HepPID::@64::getPDGtoPDTMap | ( | ) | [static] |
PDGtoPDTMap const& HepPID::@64::getPDGtoPDTMap | ( | ) | [static] |
Referenced by PDTtoPDGMapInit(), translatePDGtabletoPDT(), and writePDGTranslationLine().
PDTEvtGenMap const& HepPID::@60::getPDTEvtGenMap | ( | ) | [static] |
PDTEvtGenMap const& HepPID::@60::getPDTEvtGenMap | ( | ) | [static] |
Referenced by translatePDTtoEvtGen().
PDTHerwigMap const& HepPID::@62::getPDTHerwigMap | ( | ) | [static] |
PDTHerwigMap const& HepPID::@62::getPDTHerwigMap | ( | ) | [static] |
Referenced by translatePDTtoHerwig().
PDTIsajetMap const& HepPID::@63::getPDTIsajetMap | ( | ) | [static] |
PDTIsajetMap const& HepPID::@63::getPDTIsajetMap | ( | ) | [static] |
Referenced by translatePDTtoIsajet().
PDTPythiaMap const& HepPID::@66::getPDTPythiaMap | ( | ) | [static] |
PDTPythiaMap const& HepPID::@66::getPDTPythiaMap | ( | ) | [static] |
Referenced by translatePDTtoPythia().
PDTQQMap const& HepPID::@67::getPDTQQMap | ( | ) | [static] |
PDTQQMap const& HepPID::@67::getPDTQQMap | ( | ) | [static] |
Referenced by translatePDTtoQQ().
PDTtoPDGMap const& HepPID::@64::getPDTtoPDGMap | ( | ) | [static] |
PDTtoPDGMap const& HepPID::@64::getPDTtoPDGMap | ( | ) | [static] |
Referenced by translatePDTtoPDGtable().
PythiaPDTMap const& HepPID::@66::getPythiaPDTMap | ( | ) | [static] |
PythiaPDTMap const& HepPID::@66::getPythiaPDTMap | ( | ) | [static] |
Referenced by PDTPythiaMapInit(), translatePythiatoPDT(), and writePythiaTranslationLine().
QQbarMap const& HepPID::@67::getQQbarMap | ( | ) | [static] |
QQbarMap const& HepPID::@67::getQQbarMap | ( | ) | [static] |
Referenced by InverseQQbarMapInit(), and translateQQbar().
QQPDTMap const& HepPID::@67::getQQPDTMap | ( | ) | [static] |
QQPDTMap const& HepPID::@67::getQQPDTMap | ( | ) | [static] |
Referenced by PDTQQMapInit(), and translateQQtoPDT().
bool HepPID::hasBottom | ( | const int & | pid | ) |
does this particle contain a bottom quark?
Definition at line 325 of file ParticleIDMethods.cc.
References extraBits(), findQ(), and fundamentalID().
Referenced by main().
bool HepPID::hasCharm | ( | const int & | pid | ) |
does this particle contain a charm quark?
Definition at line 318 of file ParticleIDMethods.cc.
References extraBits(), findQ(), and fundamentalID().
Referenced by main().
bool HepPID::hasDown | ( | const int & | pid | ) |
does this particle contain a down quark?
Definition at line 304 of file ParticleIDMethods.cc.
References extraBits(), findQ(), and fundamentalID().
Referenced by main().
bool HepPID::hasFundamentalAnti | ( | const int & | pid | ) |
if this is a fundamental particle, does it have a valid antiparticle?
Definition at line 139 of file ParticleIDMethods.cc.
References fundamentalID(), and validParticleName().
Referenced by isValid().
bool HepPID::hasStrange | ( | const int & | pid | ) |
does this particle contain a strange quark?
Definition at line 311 of file ParticleIDMethods.cc.
References extraBits(), findQ(), and fundamentalID().
Referenced by main().
bool HepPID::hasTop | ( | const int & | pid | ) |
does this particle contain a top quark?
Definition at line 332 of file ParticleIDMethods.cc.
References extraBits(), findQ(), and fundamentalID().
Referenced by main().
bool HepPID::hasUp | ( | const int & | pid | ) |
does this particle contain an up quark?
Definition at line 297 of file ParticleIDMethods.cc.
References extraBits(), findQ(), and fundamentalID().
Referenced by main().
HerwigPDTMap const& HepPID::@62::HerwigPDTMapInit | ( | ) | [static] |
InverseQQbarMap const& HepPID::@67::InverseQQbarMapInit | ( | ) | [static] |
Definition at line 520 of file translateQQ.cc.
References getQQbarMap().
Referenced by getInverseQQbarMap().
IsajetPDTMap const& HepPID::@63::IsajetPDTMapInit | ( | ) | [static] |
bool HepPID::isBaryon | ( | const int & | pid | ) |
is this a valid baryon ID?
Definition at line 176 of file ParticleIDMethods.cc.
References abspid(), digit(), extraBits(), fundamentalID(), isPentaquark(), isRhadron(), nj, nq1, nq2, and nq3.
Referenced by isHadron(), isValid(), main(), and threeCharge().
bool HepPID::isDiQuark | ( | const int & | pid | ) |
is this a valid diquark ID?
Definition at line 190 of file ParticleIDMethods.cc.
References abspid(), digit(), extraBits(), fundamentalID(), nj, nq1, nq2, and nq3.
Referenced by isValid(), main(), and threeCharge().
bool HepPID::isHadron | ( | const int & | pid | ) |
is this a valid hadron ID?
Definition at line 209 of file ParticleIDMethods.cc.
References extraBits(), isBaryon(), isMeson(), isPentaquark(), and isRhadron().
Referenced by main().
bool HepPID::isLepton | ( | const int & | pid | ) |
is this a valid lepton ID?
Definition at line 219 of file ParticleIDMethods.cc.
References extraBits(), and fundamentalID().
Referenced by main().
bool HepPID::isMeson | ( | const int & | pid | ) |
is this a valid meson ID?
Definition at line 151 of file ParticleIDMethods.cc.
References abspid(), digit(), extraBits(), fundamentalID(), isRhadron(), nj, nq1, nq2, and nq3.
Referenced by isHadron(), isValid(), lSpin(), main(), sSpin(), and threeCharge().
bool HepPID::isNucleus | ( | const int & | pid | ) |
bool HepPID::isPentaquark | ( | const int & | pid | ) |
is this a valid pentaquark ID?
Definition at line 247 of file ParticleIDMethods.cc.
References digit(), extraBits(), n, nj, nl, nq1, nq2, nq3, and nr.
Referenced by findQ(), isBaryon(), isHadron(), isValid(), and main().
bool HepPID::isRhadron | ( | const int & | pid | ) |
is this a valid R-hadron ID?
Definition at line 279 of file ParticleIDMethods.cc.
References digit(), extraBits(), isSUSY(), n, nj, nq2, nq3, and nr.
Referenced by findQ(), isBaryon(), isHadron(), isMeson(), isValid(), and main().
bool HepPID::isSUSY | ( | const int & | pid | ) |
is this a valid SUSY ID?
Definition at line 267 of file ParticleIDMethods.cc.
References digit(), extraBits(), fundamentalID(), n, and nr.
Referenced by isRhadron(), isValid(), and main().
bool HepPID::isValid | ( | const int & | pid | ) |
is this a valid ID?
Definition at line 109 of file ParticleIDMethods.cc.
References extraBits(), fundamentalID(), hasFundamentalAnti(), isBaryon(), isDiQuark(), isMeson(), isNucleus(), isPentaquark(), isRhadron(), and isSUSY().
Referenced by main(), translateEvtGentoPDT(), translateHerwigtoPDT(), translatePDGtabletoPDT(), translatePDTtoEvtGen(), translatePDTtoHerwig(), translatePDTtoPDGtable(), translatePDTtoPythia(), and translatePythiatoPDT().
int HepPID::jSpin | ( | const int & | pid | ) |
jSpin returns 2J+1, where J is the total spin
Definition at line 342 of file ParticleIDMethods.cc.
References abspid(), extraBits(), and fundamentalID().
Referenced by main().
int HepPID::lambda | ( | const int & | pid | ) |
if this is a nucleus (ion), get nLambda Ion numbers are +/- 10LZZZAAAI.
Definition at line 96 of file ParticleIDMethods.cc.
References abspid(), digit(), isNucleus(), and n8.
Referenced by main().
void HepPID::listParticleNames | ( | std::ostream & | os | ) |
list all known names
Definition at line 1704 of file ParticleName.cc.
References n, writeParticleNameLine(), and writeVersion().
Referenced by main().
int HepPID::lSpin | ( | const int & | pid | ) |
int HepPID::particleName | ( | const std::string & | ) |
lookup a known ID
Definition at line 1692 of file ParticleName.cc.
References HepPID::ParticleNameMap::endLookupMap(), HepPID::ParticleNameMap::findString(), and getParticleNameMap().
std::string HepPID::particleName | ( | const int & | ) |
get a known HepPID Particle name
Definition at line 1682 of file ParticleName.cc.
References HepPID::ParticleNameMap::end(), HepPID::ParticleNameMap::find(), and getParticleNameMap().
Referenced by main(), HepPDT::ParticleID::PDTname(), writeEvtGenTranslationLine(), writeHerwigTranslationLine(), writeIsajetTranslationLine(), writeParticleNameLine(), writePDGTranslationLine(), writePythiaTranslationLine(), and writeQQTranslation().
ParticleNameMap const& HepPID::@59::ParticleNameInit | ( | ) | [static] |
PDGtoPDTMap const& HepPID::@64::PDGtoPDTMapInit | ( | ) | [static] |
PDTEvtGenMap const& HepPID::@60::PDTEvtGenMapInit | ( | ) | [static] |
Definition at line 594 of file translateEvtGen.cc.
References getEvtGenPDTMap().
Referenced by getPDTEvtGenMap().
PDTHerwigMap const& HepPID::@62::PDTHerwigMapInit | ( | ) | [static] |
Definition at line 486 of file translateHerwig.cc.
References getHerwigPDTMap().
Referenced by getPDTHerwigMap().
PDTIsajetMap const& HepPID::@63::PDTIsajetMapInit | ( | ) | [static] |
Definition at line 677 of file translateIsajet.cc.
References getIsajetPDTMap().
Referenced by getPDTIsajetMap().
PDTPythiaMap const& HepPID::@66::PDTPythiaMapInit | ( | ) | [static] |
Definition at line 605 of file translatePythia.cc.
References getPythiaPDTMap().
Referenced by getPDTPythiaMap().
PDTQQMap const& HepPID::@67::PDTQQMapInit | ( | ) | [static] |
Definition at line 509 of file translateQQ.cc.
References getQQPDTMap().
Referenced by getPDTQQMap().
PDTtoPDGMap const& HepPID::@64::PDTtoPDGMapInit | ( | ) | [static] |
Definition at line 355 of file translatePDG.cc.
References getPDGtoPDTMap().
Referenced by getPDTtoPDGMap().
PythiaPDTMap const& HepPID::@66::PythiaPDTMapInit | ( | ) | [static] |
QQbarMap const& HepPID::@67::QQbarMapInit | ( | ) | [static] |
QQPDTMap const& HepPID::@67::QQPDTMapInit | ( | ) | [static] |
int HepPID::sSpin | ( | const int & | pid | ) |
int HepPID::threeCharge | ( | const int & | pid | ) |
return 3 times the charge (3 x quark charge is an int)
Definition at line 432 of file ParticleIDMethods.cc.
References abspid(), digit(), extraBits(), fundamentalID(), isBaryon(), isDiQuark(), isMeson(), nj, nq1, nq2, and nq3.
Referenced by main().
int HepPID::translateEvtGentoPDT | ( | const int | evtGenID | ) |
translate EvtGen to PDG standard
Definition at line 625 of file translateEvtGen.cc.
References getEvtGenPDTMap(), and isValid().
Referenced by HepPDT::addEvtGenParticles().
int HepPID::translateGeanttoPDT | ( | const int | geantID | ) |
translate Geant3 to PDG standard
Definition at line 20 of file translateGeanttoPDT.cc.
References IDMAX.
int HepPID::translateHerwigtoPDT | ( | const int | herwigID | ) |
translate Herwig to PDG standard
Definition at line 517 of file translateHerwig.cc.
References getHerwigPDTMap(), and isValid().
Referenced by main().
int HepPID::translateInverseQQbar | ( | const int | id | ) |
QQ helper function.
Definition at line 579 of file translateQQ.cc.
References getInverseQQbarMap().
Referenced by writeQQTranslation().
int HepPID::translateIsajettoPDT | ( | const int | isajetID | ) |
translate Isajet to PDG standard
Definition at line 908 of file translateIsajet.cc.
References convIsajettoPDT(), and getIsajetPDTMap().
Referenced by HepPDT::addIsajetParticles(), and main().
int HepPID::translatePDGtabletoPDT | ( | const int | pdgID | ) |
translate PDG table to PDG standard
Definition at line 386 of file translatePDG.cc.
References getPDGtoPDTMap(), and isValid().
int HepPID::translatePDTtoEvtGen | ( | const int | pid | ) |
translate PDG standard to EvtGen
Definition at line 638 of file translateEvtGen.cc.
References getPDTEvtGenMap(), and isValid().
Referenced by writeEvtGenTranslationLine().
int HepPID::translatePDTtoGeant | ( | const int | pid | ) |
int HepPID::translatePDTtoHerwig | ( | const int | pid | ) |
translate PDG standard to Herwig
Definition at line 530 of file translateHerwig.cc.
References getPDTHerwigMap(), and isValid().
Referenced by writeHerwigTranslationLine().
int HepPID::translatePDTtoIsajet | ( | const int | pid | ) |
translate PDG standard to Isajet
Definition at line 919 of file translateIsajet.cc.
References convPDTtoIsajet(), and getPDTIsajetMap().
Referenced by writeIsajetTranslationLine().
int HepPID::translatePDTtoPDGtable | ( | const int | pid | ) |
translate PDG standard to PDG table
Definition at line 399 of file translatePDG.cc.
References getPDTtoPDGMap(), and isValid().
Referenced by writePDGTranslationLine().
int HepPID::translatePDTtoPythia | ( | const int | pid | ) |
translate PDG standard to Pythia
Definition at line 649 of file translatePythia.cc.
References getPDTPythiaMap(), and isValid().
Referenced by writePythiaTranslationLine().
int HepPID::translatePDTtoQQ | ( | const int | pid | ) |
translate PDG standard to QQ
Definition at line 601 of file translateQQ.cc.
References getPDTQQMap().
Referenced by writeQQTranslation().
int HepPID::translatePythiatoPDT | ( | const int | pythiaID | ) |
translate Pythia to PDG standard
Definition at line 636 of file translatePythia.cc.
References getPythiaPDTMap(), and isValid().
Referenced by HepPDT::addPythiaParticles(), and main().
int HepPID::translateQQbar | ( | const int | id | ) |
QQ helper function.
Definition at line 568 of file translateQQ.cc.
References getQQbarMap().
Referenced by HepPDT::addQQParticles(), and writeQQTranslation().
int HepPID::translateQQtoPDT | ( | const int | qqID | ) |
translate QQ to PDG standard
Definition at line 590 of file translateQQ.cc.
References getQQPDTMap().
Referenced by HepPDT::addQQParticles(), and writeQQTranslation().
bool HepPID::validParticleName | ( | const std::string & | ) |
verify that this string has a valid id
Definition at line 1673 of file ParticleName.cc.
References HepPID::ParticleNameMap::endLookupMap(), HepPID::ParticleNameMap::findString(), and getParticleNameMap().
bool HepPID::validParticleName | ( | const int & | ) |
verify that this number has a valid name
Definition at line 1663 of file ParticleName.cc.
References HepPID::ParticleNameMap::end(), HepPID::ParticleNameMap::find(), and getParticleNameMap().
Referenced by hasFundamentalAnti(), and writeParticleNameLine().
void HepPID::version | ( | ) |
std::string HepPID::versionName | ( | ) |
return HepPID version
Definition at line 14 of file HepPID/Version.cc.
Referenced by version(), and writeVersion().
void HepPID::writeEvtGenTranslation | ( | std::ostream & | os | ) |
output the translation list
Definition at line 675 of file translateEvtGen.cc.
References writeEvtGenTranslationLine(), and writeVersion().
Referenced by main().
void HepPID::writeEvtGenTranslationLine | ( | int | i, | |
std::ostream & | os | |||
) |
Definition at line 651 of file translateEvtGen.cc.
References getEvtGenPDTMap(), particleName(), and translatePDTtoEvtGen().
Referenced by writeEvtGenTranslation().
void HepPID::writeHerwigTranslation | ( | std::ostream & | os | ) |
output the translation list
Definition at line 567 of file translateHerwig.cc.
References n, writeHerwigTranslationLine(), and writeVersion().
Referenced by main().
void HepPID::writeHerwigTranslationLine | ( | int | i, | |
std::ostream & | os | |||
) |
Definition at line 543 of file translateHerwig.cc.
References getHerwigPDTMap(), particleName(), and translatePDTtoHerwig().
Referenced by writeHerwigTranslation().
void HepPID::writeIsajetTranslation | ( | std::ostream & | os | ) |
output the translation list
Definition at line 954 of file translateIsajet.cc.
References writeIsajetTranslationLine(), and writeVersion().
Referenced by main().
void HepPID::writeIsajetTranslationLine | ( | int | i, | |
std::ostream & | os | |||
) |
Definition at line 930 of file translateIsajet.cc.
References getIsajetPDTMap(), particleName(), and translatePDTtoIsajet().
Referenced by writeIsajetTranslation().
void HepPID::@59::writeParticleNameLine | ( | int | i, | |
std::ostream & | os | |||
) | [static] |
Definition at line 1640 of file ParticleName.cc.
References particleName(), and validParticleName().
Referenced by listParticleNames().
void HepPID::writePDGTranslation | ( | std::ostream & | os | ) |
output the translation list
Definition at line 436 of file translatePDG.cc.
References writePDGTranslationLine(), and writeVersion().
Referenced by main().
void HepPID::writePDGTranslationLine | ( | int | i, | |
std::ostream & | os | |||
) |
Definition at line 412 of file translatePDG.cc.
References getPDGtoPDTMap(), particleName(), and translatePDTtoPDGtable().
Referenced by writePDGTranslation().
void HepPID::writePythiaTranslation | ( | std::ostream & | os | ) |
output the translation list
Definition at line 686 of file translatePythia.cc.
References n, writePythiaTranslationLine(), and writeVersion().
Referenced by main().
void HepPID::writePythiaTranslationLine | ( | int | i, | |
std::ostream & | os | |||
) |
Definition at line 662 of file translatePythia.cc.
References getPythiaPDTMap(), particleName(), and translatePDTtoPythia().
Referenced by writePythiaTranslation().
void HepPID::writeQQTranslation | ( | std::ostream & | os | ) |
output the translation list
Definition at line 612 of file translateQQ.cc.
References particleName(), translateInverseQQbar(), translatePDTtoQQ(), translateQQbar(), translateQQtoPDT(), and writeVersion().
Referenced by main().
void HepPID::writeVersion | ( | std::ostream & | os | ) |
write HepPID version to os
Definition at line 25 of file HepPID/Version.cc.
References versionName().
Referenced by listParticleNames(), main(), writeEvtGenTranslation(), writeHerwigTranslation(), writeIsajetTranslation(), writePDGTranslation(), writePythiaTranslation(), and writeQQTranslation().
int HepPID::Z | ( | const int & | pid | ) |
if this is a nucleus (ion), get Z Ion numbers are +/- 10LZZZAAAI.
Definition at line 77 of file ParticleIDMethods.cc.
References abspid(), and isNucleus().
Referenced by main().