![]() |
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 } |
The location enum provides a convenient index into the PID. More... | |
Functions | |
unsigned short | digit (location loc, const int &pid) |
return the digit at a named location in the PID | |
int | A (const int &pid) |
Ion numbers are +/- 10LZZZAAAI. | |
int | Z (const int &pid) |
Ion numbers are +/- 10LZZZAAAI. | |
int | lambda (const int &pid) |
Ion numbers are +/- 10LZZZAAAI. | |
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) |
(e.g. outside the standard numbering scheme) | |
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 | isDyon (const int &pid) |
is this a valid Dyon (magnetic monopole) ID? | |
bool | isQBall (const int &pid) |
Ad-hoc numbering for such particles is 100xxxx0, where xxxx is the charge in tenths. | |
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) |
If this is a Q-ball, return 30 times the charge. | |
double | charge (const int &pid) |
return the actual charge | |
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) |
std::string | dyonName (const int &pid) |
std::string | qballName (const int &pid) |
int | checkForSpecialParticle (const std::string &s) |
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 () |
typedef std::map< int, std::string > HepPID::PartcleIdMap |
Definition at line 35 of file ParticleName.cc.
typedef std::map< std::string, int > HepPID::ParticleLookupMap |
Definition at line 36 of file ParticleName.cc.
typedef std::map< int, int > HepPID::EvtGenPDTMap |
Definition at line 33 of file translateEvtGen.cc.
typedef std::map< int, int > HepPID::PDTEvtGenMap |
Definition at line 34 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::PDTHerwigMap |
Definition at line 34 of file translateHerwig.cc.
typedef std::map< int, int > HepPID::IsajetPDTMap |
Definition at line 36 of file translateIsajet.cc.
typedef std::map< int, int > HepPID::PDTIsajetMap |
Definition at line 37 of file translateIsajet.cc.
typedef std::map< int, int > HepPID::PDGtoPDTMap |
Definition at line 33 of file translatePDG.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::PDTPythiaMap |
Definition at line 34 of file translatePythia.cc.
typedef std::map< int, int > HepPID::QQPDTMap |
Definition at line 37 of file translateQQ.cc.
typedef std::map< int, int > HepPID::PDTQQMap |
Definition at line 38 of file translateQQ.cc.
typedef std::map< int, int > HepPID::QQbarMap |
Definition at line 39 of file translateQQ.cc.
typedef std::map< int, int > HepPID::InverseQQbarMap |
Definition at line 40 of file translateQQ.cc.
enum HepPID::location |
The location enum provides a convenient index into the PID.
Definition at line 24 of file ParticleIDMethods.hh.
unsigned short HepPID::digit | ( | location | loc, | |
const int & | pid | |||
) |
return the digit at a named location in the PID
Definition at line 55 of file ParticleIDMethods.cc.
References abspid().
Referenced by convIsajettoPDT(), convPDTtoIsajet(), dyonName(), findQ(), fundamentalID(), isBaryon(), isDiQuark(), isDyon(), isMeson(), isNucleus(), isPentaquark(), isQBall(), isRhadron(), isSUSY(), lambda(), lSpin(), main(), qballName(), sSpin(), and threeCharge().
int HepPID::A | ( | const int & | pid | ) |
Ion numbers are +/- 10LZZZAAAI.
Definition at line 87 of file ParticleIDMethods.cc.
References abspid(), and isNucleus().
Referenced by main().
int HepPID::Z | ( | const int & | pid | ) |
Ion numbers are +/- 10LZZZAAAI.
Definition at line 78 of file ParticleIDMethods.cc.
References abspid(), and isNucleus().
Referenced by main().
int HepPID::lambda | ( | const int & | pid | ) |
Ion numbers are +/- 10LZZZAAAI.
Definition at line 97 of file ParticleIDMethods.cc.
References abspid(), digit(), isNucleus(), and n8.
Referenced by main().
int HepPID::abspid | ( | const int & | pid | ) |
absolute value of particle ID
Definition at line 43 of file ParticleIDMethods.cc.
Referenced by A(), convIsajettoPDT(), convPDTtoIsajet(), digit(), extraBits(), fundamentalID(), isBaryon(), isDiQuark(), isMeson(), isNucleus(), isQBall(), jSpin(), lambda(), main(), qballName(), threeCharge(), translatePDTtoGeant(), and Z().
int HepPID::fundamentalID | ( | const int & | pid | ) |
extract fundamental ID (1-100) if this is a "fundamental" particle
Definition at line 65 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().
bool HepPID::hasFundamentalAnti | ( | const int & | pid | ) |
if this is a fundamental particle, does it have a valid antiparticle?
Definition at line 142 of file ParticleIDMethods.cc.
References fundamentalID(), and validParticleName().
Referenced by isValid().
int HepPID::extraBits | ( | const int & | pid | ) |
(e.g. outside the standard numbering scheme)
Definition at line 49 of file ParticleIDMethods.cc.
References abspid().
Referenced by fundamentalID(), hasBottom(), hasCharm(), hasDown(), hasStrange(), hasTop(), hasUp(), isBaryon(), isDiQuark(), isDyon(), isHadron(), isLepton(), isMeson(), isPentaquark(), isQBall(), isRhadron(), isSUSY(), isValid(), jSpin(), main(), and threeCharge().
bool HepPID::isValid | ( | const int & | pid | ) |
is this a valid ID?
Definition at line 110 of file ParticleIDMethods.cc.
References extraBits(), fundamentalID(), hasFundamentalAnti(), isBaryon(), isDiQuark(), isDyon(), isMeson(), isNucleus(), isPentaquark(), isQBall(), isRhadron(), and isSUSY().
Referenced by main(), translateEvtGentoPDT(), translateHerwigtoPDT(), translatePDGtabletoPDT(), translatePDTtoEvtGen(), translatePDTtoHerwig(), translatePDTtoPDGtable(), translatePDTtoPythia(), and translatePythiatoPDT().
bool HepPID::isMeson | ( | const int & | pid | ) |
is this a valid meson ID?
Definition at line 154 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::isBaryon | ( | const int & | pid | ) |
is this a valid baryon ID?
Definition at line 179 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 193 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 212 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 222 of file ParticleIDMethods.cc.
References extraBits(), and fundamentalID().
Referenced by main().
bool HepPID::isNucleus | ( | const int & | pid | ) |
bool HepPID::isPentaquark | ( | const int & | pid | ) |
is this a valid pentaquark ID?
Definition at line 250 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::isSUSY | ( | const int & | pid | ) |
is this a valid SUSY ID?
Definition at line 270 of file ParticleIDMethods.cc.
References digit(), extraBits(), fundamentalID(), n, and nr.
Referenced by isRhadron(), isValid(), and main().
bool HepPID::isRhadron | ( | const int & | pid | ) |
is this a valid R-hadron ID?
Definition at line 282 of file ParticleIDMethods.cc.
References digit(), extraBits(), isSUSY(), n, nj, nq2, nq3, and nr.
Referenced by findQ(), isBaryon(), isHadron(), isMeson(), isValid(), main(), and threeCharge().
bool HepPID::isDyon | ( | const int & | pid | ) |
is this a valid Dyon (magnetic monopole) ID?
Magnetic monopoles and Dyons are assumed to have one unit of
Dirac monopole charge and a variable integer number xyz units
of electric charge.
Codes 411xyz0 are then used when the magnetic and electrical
charge sign agree and 412xyz0 when they disagree,
with the overall sign of the particle set by the magnetic charge.
For now no spin information is provided.
Definition at line 300 of file ParticleIDMethods.cc.
References digit(), extraBits(), n, nj, nl, nq3, and nr.
Referenced by findQ(), isValid(), main(), particleName(), threeCharge(), and validParticleName().
bool HepPID::isQBall | ( | const int & | pid | ) |
Ad-hoc numbering for such particles is 100xxxx0, where xxxx is the charge in tenths.
Definition at line 325 of file ParticleIDMethods.cc.
References abspid(), digit(), extraBits(), n, nj, and nr.
Referenced by charge(), isValid(), main(), particleName(), threeCharge(), and validParticleName().
bool HepPID::hasUp | ( | const int & | pid | ) |
does this particle contain an up quark?
Definition at line 338 of file ParticleIDMethods.cc.
References extraBits(), findQ(), and fundamentalID().
Referenced by HepPDT::ParticleID::hasUp(), and main().
bool HepPID::hasDown | ( | const int & | pid | ) |
does this particle contain a down quark?
Definition at line 345 of file ParticleIDMethods.cc.
References extraBits(), findQ(), and fundamentalID().
Referenced by HepPDT::ParticleID::hasDown(), and main().
bool HepPID::hasStrange | ( | const int & | pid | ) |
does this particle contain a strange quark?
Definition at line 352 of file ParticleIDMethods.cc.
References extraBits(), findQ(), and fundamentalID().
Referenced by HepPDT::ParticleID::hasStrange(), and main().
bool HepPID::hasCharm | ( | const int & | pid | ) |
does this particle contain a charm quark?
Definition at line 359 of file ParticleIDMethods.cc.
References extraBits(), findQ(), and fundamentalID().
Referenced by HepPDT::ParticleID::hasCharm(), and main().
bool HepPID::hasBottom | ( | const int & | pid | ) |
does this particle contain a bottom quark?
Definition at line 366 of file ParticleIDMethods.cc.
References extraBits(), findQ(), and fundamentalID().
Referenced by HepPDT::ParticleID::hasBottom(), and main().
bool HepPID::hasTop | ( | const int & | pid | ) |
does this particle contain a top quark?
Definition at line 373 of file ParticleIDMethods.cc.
References extraBits(), findQ(), and fundamentalID().
Referenced by HepPDT::ParticleID::hasTop(), and main().
int HepPID::jSpin | ( | const int & | pid | ) |
jSpin returns 2J+1, where J is the total spin
Definition at line 383 of file ParticleIDMethods.cc.
References abspid(), extraBits(), and fundamentalID().
Referenced by main().
int HepPID::sSpin | ( | const int & | pid | ) |
int HepPID::lSpin | ( | const int & | pid | ) |
int HepPID::threeCharge | ( | const int & | pid | ) |
If this is a Q-ball, return 30 times the charge.
Definition at line 473 of file ParticleIDMethods.cc.
References abspid(), charge(), digit(), extraBits(), fundamentalID(), isBaryon(), isDiQuark(), isDyon(), isMeson(), isQBall(), isRhadron(), nj, nl, nq1, nq2, nq3, and nr.
double HepPID::charge | ( | const int & | pid | ) |
return the actual charge
Definition at line 549 of file ParticleIDMethods.cc.
References isQBall(), and threeCharge().
Referenced by main(), and threeCharge().
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::translatePDTtoHerwig | ( | const int | pid | ) |
translate PDG standard to Herwig
Definition at line 530 of file translateHerwig.cc.
References getPDTHerwigMap(), and isValid().
Referenced by writeHerwigTranslationLine().
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().
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::translatePDTtoIsajet | ( | const int | pid | ) |
translate PDG standard to Isajet
Definition at line 919 of file translateIsajet.cc.
References convPDTtoIsajet(), and getPDTIsajetMap().
Referenced by writeIsajetTranslationLine().
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().
int HepPID::translatePythiatoPDT | ( | const int | pythiaID | ) |
translate Pythia to PDG standard
Definition at line 664 of file translatePythia.cc.
References getPythiaPDTMap(), and isValid().
Referenced by HepPDT::addPythiaParticles(), and main().
int HepPID::translatePDTtoPythia | ( | const int | pid | ) |
translate PDG standard to Pythia
Definition at line 677 of file translatePythia.cc.
References getPDTPythiaMap(), and isValid().
Referenced by writePythiaTranslationLine().
void HepPID::writePythiaTranslation | ( | std::ostream & | os | ) |
output the translation list
Definition at line 714 of file translatePythia.cc.
References n, writePythiaTranslationLine(), and writeVersion().
Referenced by main().
int HepPID::translateEvtGentoPDT | ( | const int | evtGenID | ) |
translate EvtGen to PDG standard
Definition at line 606 of file translateEvtGen.cc.
References getEvtGenPDTMap(), and isValid().
Referenced by HepPDT::addEvtGenParticles().
int HepPID::translatePDTtoEvtGen | ( | const int | pid | ) |
translate PDG standard to EvtGen
Definition at line 619 of file translateEvtGen.cc.
References getPDTEvtGenMap(), and isValid().
Referenced by writeEvtGenTranslationLine().
void HepPID::writeEvtGenTranslation | ( | std::ostream & | os | ) |
output the translation list
Definition at line 656 of file translateEvtGen.cc.
References writeEvtGenTranslationLine(), and writeVersion().
Referenced by 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::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().
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().
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().
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::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::translateInverseQQbar | ( | const int | id | ) |
QQ helper function.
Definition at line 579 of file translateQQ.cc.
References getInverseQQbarMap().
Referenced by writeQQTranslation().
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().
int HepPID::translateGeanttoPDT | ( | const int | geantID | ) |
translate Geant3 to PDG standard
Definition at line 20 of file translateGeanttoPDT.cc.
References IDMAX.
int HepPID::translatePDTtoGeant | ( | const int | pid | ) |
std::string HepPID::particleName | ( | const int & | ) |
get a known HepPID Particle name
Definition at line 1799 of file ParticleName.cc.
References dyonName(), HepPID::ParticleNameMap::end(), HepPID::ParticleNameMap::find(), getParticleNameMap(), isDyon(), isQBall(), and qballName().
Referenced by main(), HepPDT::ParticleID::PDTname(), writeEvtGenTranslationLine(), writeHerwigTranslationLine(), writeIsajetTranslationLine(), writeParticleNameLine(), writePDGTranslationLine(), writePythiaTranslationLine(), and writeQQTranslation().
int HepPID::particleName | ( | const std::string & | ) |
lookup a known ID
Definition at line 1813 of file ParticleName.cc.
References checkForSpecialParticle(), HepPID::ParticleNameMap::endLookupMap(), HepPID::ParticleNameMap::findString(), and getParticleNameMap().
void HepPID::listParticleNames | ( | std::ostream & | os | ) |
list all known names
Definition at line 1825 of file ParticleName.cc.
References n, writeParticleNameLine(), and writeVersion().
Referenced by main().
bool HepPID::validParticleName | ( | const int & | ) |
verify that this number has a valid name
Definition at line 1776 of file ParticleName.cc.
References HepPID::ParticleNameMap::end(), HepPID::ParticleNameMap::find(), getParticleNameMap(), isDyon(), and isQBall().
Referenced by hasFundamentalAnti(), and writeParticleNameLine().
bool HepPID::validParticleName | ( | const std::string & | ) |
verify that this string has a valid id
Definition at line 1790 of file ParticleName.cc.
References HepPID::ParticleNameMap::endLookupMap(), HepPID::ParticleNameMap::findString(), and getParticleNameMap().
ParticleNameMap const & HepPID::getParticleNameMap | ( | ) |
access the ParticleNameMap for other purposes
Definition at line 1770 of file ParticleName.cc.
References ParticleNameInit().
Referenced by particleName(), and validParticleName().
void HepPID::version | ( | ) |
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().
std::string HepPID::versionName | ( | ) |
return HepPID version
Definition at line 14 of file HepPID/Version.cc.
Referenced by version(), and writeVersion().
bool HepPID::@0::findQ | ( | const int & | pid, | |
const int & | q | |||
) | [static] |
Definition at line 17 of file ParticleIDMethods.cc.
References digit(), isDyon(), isPentaquark(), isRhadron(), nl, nq1, nq2, nq3, and nr.
Referenced by hasBottom(), hasCharm(), hasDown(), hasStrange(), hasTop(), and hasUp().
ParticleNameMap const& HepPID::@1::ParticleNameInit | ( | ) | [static] |
void HepPID::@1::writeParticleNameLine | ( | int | i, | |
std::ostream & | os | |||
) | [static] |
Definition at line 1689 of file ParticleName.cc.
References particleName(), and validParticleName().
Referenced by listParticleNames().
std::string HepPID::@1::dyonName | ( | const int & | pid | ) | [static] |
Definition at line 1706 of file ParticleName.cc.
References digit(), nl, nq1, nq2, and nq3.
Referenced by particleName().
std::string HepPID::@1::qballName | ( | const int & | pid | ) | [static] |
Definition at line 1726 of file ParticleName.cc.
References abspid(), digit(), and nq3.
Referenced by particleName().
int HepPID::@1::checkForSpecialParticle | ( | const std::string & | s | ) | [static] |
EvtGenPDTMap const& HepPID::@2::getEvtGenPDTMap | ( | ) | [static] |
Referenced by PDTEvtGenMapInit(), translateEvtGentoPDT(), and writeEvtGenTranslationLine().
PDTEvtGenMap const& HepPID::@2::getPDTEvtGenMap | ( | ) | [static] |
Referenced by translatePDTtoEvtGen().
EvtGenPDTMap const& HepPID::@2::EvtGenPDTMapInit | ( | ) | [static] |
PDTEvtGenMap const& HepPID::@2::PDTEvtGenMapInit | ( | ) | [static] |
Definition at line 575 of file translateEvtGen.cc.
References getEvtGenPDTMap().
Referenced by getPDTEvtGenMap().
EvtGenPDTMap const& HepPID::@2::getEvtGenPDTMap | ( | ) | [static] |
PDTEvtGenMap const& HepPID::@2::getPDTEvtGenMap | ( | ) | [static] |
void HepPID::writeEvtGenTranslationLine | ( | int | i, | |
std::ostream & | os | |||
) |
Definition at line 632 of file translateEvtGen.cc.
References getEvtGenPDTMap(), particleName(), and translatePDTtoEvtGen().
Referenced by writeEvtGenTranslation().
HerwigPDTMap const& HepPID::@3::getHerwigPDTMap | ( | ) | [static] |
Referenced by PDTHerwigMapInit(), translateHerwigtoPDT(), and writeHerwigTranslationLine().
PDTHerwigMap const& HepPID::@3::getPDTHerwigMap | ( | ) | [static] |
Referenced by translatePDTtoHerwig().
HerwigPDTMap const& HepPID::@3::HerwigPDTMapInit | ( | ) | [static] |
PDTHerwigMap const& HepPID::@3::PDTHerwigMapInit | ( | ) | [static] |
Definition at line 486 of file translateHerwig.cc.
References getHerwigPDTMap().
Referenced by getPDTHerwigMap().
HerwigPDTMap const& HepPID::@3::getHerwigPDTMap | ( | ) | [static] |
PDTHerwigMap const& HepPID::@3::getPDTHerwigMap | ( | ) | [static] |
void HepPID::writeHerwigTranslationLine | ( | int | i, | |
std::ostream & | os | |||
) |
Definition at line 543 of file translateHerwig.cc.
References getHerwigPDTMap(), particleName(), and translatePDTtoHerwig().
Referenced by writeHerwigTranslation().
IsajetPDTMap const& HepPID::@4::getIsajetPDTMap | ( | ) | [static] |
Referenced by PDTIsajetMapInit(), translateIsajettoPDT(), and writeIsajetTranslationLine().
PDTIsajetMap const& HepPID::@4::getPDTIsajetMap | ( | ) | [static] |
Referenced by translatePDTtoIsajet().
IsajetPDTMap const& HepPID::@4::IsajetPDTMapInit | ( | ) | [static] |
PDTIsajetMap const& HepPID::@4::PDTIsajetMapInit | ( | ) | [static] |
Definition at line 677 of file translateIsajet.cc.
References getIsajetPDTMap().
Referenced by getPDTIsajetMap().
int HepPID::@4::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::@4::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().
IsajetPDTMap const& HepPID::@4::getIsajetPDTMap | ( | ) | [static] |
PDTIsajetMap const& HepPID::@4::getPDTIsajetMap | ( | ) | [static] |
void HepPID::writeIsajetTranslationLine | ( | int | i, | |
std::ostream & | os | |||
) |
Definition at line 930 of file translateIsajet.cc.
References getIsajetPDTMap(), particleName(), and translatePDTtoIsajet().
Referenced by writeIsajetTranslation().
PDGtoPDTMap const& HepPID::@5::getPDGtoPDTMap | ( | ) | [static] |
Referenced by PDTtoPDGMapInit(), translatePDGtabletoPDT(), and writePDGTranslationLine().
PDTtoPDGMap const& HepPID::@5::getPDTtoPDGMap | ( | ) | [static] |
Referenced by translatePDTtoPDGtable().
PDGtoPDTMap const& HepPID::@5::PDGtoPDTMapInit | ( | ) | [static] |
PDTtoPDGMap const& HepPID::@5::PDTtoPDGMapInit | ( | ) | [static] |
Definition at line 355 of file translatePDG.cc.
References getPDGtoPDTMap().
Referenced by getPDTtoPDGMap().
PDGtoPDTMap const& HepPID::@5::getPDGtoPDTMap | ( | ) | [static] |
PDTtoPDGMap const& HepPID::@5::getPDTtoPDGMap | ( | ) | [static] |
void HepPID::writePDGTranslationLine | ( | int | i, | |
std::ostream & | os | |||
) |
Definition at line 412 of file translatePDG.cc.
References getPDGtoPDTMap(), particleName(), and translatePDTtoPDGtable().
Referenced by writePDGTranslation().
PythiaPDTMap const& HepPID::@6::getPythiaPDTMap | ( | ) | [static] |
Referenced by PDTPythiaMapInit(), translatePythiatoPDT(), and writePythiaTranslationLine().
PDTPythiaMap const& HepPID::@6::getPDTPythiaMap | ( | ) | [static] |
Referenced by translatePDTtoPythia().
PythiaPDTMap const& HepPID::@6::PythiaPDTMapInit | ( | ) | [static] |
PDTPythiaMap const& HepPID::@6::PDTPythiaMapInit | ( | ) | [static] |
Definition at line 633 of file translatePythia.cc.
References getPythiaPDTMap().
Referenced by getPDTPythiaMap().
PythiaPDTMap const& HepPID::@6::getPythiaPDTMap | ( | ) | [static] |
PDTPythiaMap const& HepPID::@6::getPDTPythiaMap | ( | ) | [static] |
void HepPID::writePythiaTranslationLine | ( | int | i, | |
std::ostream & | os | |||
) |
Definition at line 690 of file translatePythia.cc.
References getPythiaPDTMap(), particleName(), and translatePDTtoPythia().
Referenced by writePythiaTranslation().
QQPDTMap const& HepPID::@7::getQQPDTMap | ( | ) | [static] |
Referenced by PDTQQMapInit(), and translateQQtoPDT().
PDTQQMap const& HepPID::@7::getPDTQQMap | ( | ) | [static] |
Referenced by translatePDTtoQQ().
QQbarMap const& HepPID::@7::getQQbarMap | ( | ) | [static] |
Referenced by InverseQQbarMapInit(), and translateQQbar().
InverseQQbarMap const& HepPID::@7::getInverseQQbarMap | ( | ) | [static] |
Referenced by translateInverseQQbar().
QQPDTMap const& HepPID::@7::QQPDTMapInit | ( | ) | [static] |
QQbarMap const& HepPID::@7::QQbarMapInit | ( | ) | [static] |
PDTQQMap const& HepPID::@7::PDTQQMapInit | ( | ) | [static] |
Definition at line 509 of file translateQQ.cc.
References getQQPDTMap().
Referenced by getPDTQQMap().
InverseQQbarMap const& HepPID::@7::InverseQQbarMapInit | ( | ) | [static] |
Definition at line 520 of file translateQQ.cc.
References getQQbarMap().
Referenced by getInverseQQbarMap().
QQPDTMap const& HepPID::@7::getQQPDTMap | ( | ) | [static] |
PDTQQMap const& HepPID::@7::getPDTQQMap | ( | ) | [static] |
QQbarMap const& HepPID::@7::getQQbarMap | ( | ) | [static] |
InverseQQbarMap const& HepPID::@7::getInverseQQbarMap | ( | ) | [static] |