HepPDT Reference Documentation

HepPDT

HepPID Namespace Reference


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 Documentation

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.


Enumeration Type Documentation

enum HepPID::location

The location enum provides a convenient index into the PID.

Enumerator:
nj 
nq3 
nq2 
nq1 
nl 
nr 
n 
n8 
n9 
n10 

Definition at line 24 of file ParticleIDMethods.hh.


Function Documentation

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?

Examples:
examListPythia.cc.

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  ) 

is this a valid ion ID?

Definition at line 236 of file ParticleIDMethods.cc.

References abspid(), digit(), n10, and n9.

Referenced by A(), isValid(), lambda(), main(), and Z().

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  ) 

sSpin returns 2S+1, where S is the spin

Definition at line 399 of file ParticleIDMethods.cc.

References digit(), isMeson(), n, nj, and nl.

Referenced by main().

int HepPID::lSpin ( const int &  pid  ) 

lSpin returns 2L+1, where L is the orbital angular momentum

Definition at line 424 of file ParticleIDMethods.cc.

References digit(), isMeson(), n, nj, and nl.

Referenced by main().

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.

Referenced by charge(), and main().

double HepPID::charge ( const int &  pid  ) 

return the actual charge

Examples:
examMyPDT.cc.

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

Examples:
examListHerwig.cc.

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

Examples:
listHerwigTranslation.cc.

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

Examples:
examListIsajet.cc.

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

Examples:
listIsajetTranslation.cc.

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

Examples:
examListPythia.cc.

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

Examples:
listPythiaTranslation.cc.

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

Examples:
listEvtGenTranslation.cc.

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

Examples:
listPDGTranslation.cc.

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

Examples:
listQQTranslation.cc.

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  ) 

translate PDG standard to Geant3

Definition at line 22 of file translatePDTtoGeant.cc.

References abspid(), and IDMAX.

std::string HepPID::particleName ( const int &   ) 

get a known HepPID Particle name

Examples:
examListHerwig.cc, examListIsajet.cc, and examListPythia.cc.

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

Examples:
listParticleNames.cc.

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 (  ) 

print HepPID version

Definition at line 19 of file HepPID/Version.cc.

References versionName().

void HepPID::writeVersion ( std::ostream &  os  ) 

write HepPID version to os

Examples:
examListHerwig.cc, examListIsajet.cc, and examListPythia.cc.

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]

Definition at line 77 of file ParticleName.cc.

Referenced by getParticleNameMap().

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]

Definition at line 1738 of file ParticleName.cc.

Referenced by particleName().

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]

Definition at line 41 of file translateEvtGen.cc.

Referenced by getEvtGenPDTMap().

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]

Definition at line 589 of file translateEvtGen.cc.

References EvtGenPDTMapInit().

PDTEvtGenMap const& HepPID::@2::getPDTEvtGenMap (  )  [static]

Definition at line 598 of file translateEvtGen.cc.

References PDTEvtGenMapInit().

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]

Definition at line 41 of file translateHerwig.cc.

Referenced by getHerwigPDTMap().

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]

Definition at line 500 of file translateHerwig.cc.

References HerwigPDTMapInit().

PDTHerwigMap const& HepPID::@3::getPDTHerwigMap (  )  [static]

Definition at line 509 of file translateHerwig.cc.

References PDTHerwigMapInit().

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]

Definition at line 44 of file translateIsajet.cc.

Referenced by getIsajetPDTMap().

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]

Definition at line 891 of file translateIsajet.cc.

References IsajetPDTMapInit().

PDTIsajetMap const& HepPID::@4::getPDTIsajetMap (  )  [static]

Definition at line 900 of file translateIsajet.cc.

References PDTIsajetMapInit().

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]

Definition at line 41 of file translatePDG.cc.

Referenced by getPDGtoPDTMap().

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]

Definition at line 369 of file translatePDG.cc.

References PDGtoPDTMapInit().

PDTtoPDGMap const& HepPID::@5::getPDTtoPDGMap (  )  [static]

Definition at line 378 of file translatePDG.cc.

References PDTtoPDGMapInit().

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]

Definition at line 41 of file translatePythia.cc.

Referenced by getPythiaPDTMap().

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]

Definition at line 647 of file translatePythia.cc.

References PythiaPDTMapInit().

PDTPythiaMap const& HepPID::@6::getPDTPythiaMap (  )  [static]

Definition at line 656 of file translatePythia.cc.

References PDTPythiaMapInit().

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]

Definition at line 49 of file translateQQ.cc.

Referenced by getQQPDTMap().

QQbarMap const& HepPID::@7::QQbarMapInit (  )  [static]

Definition at line 455 of file translateQQ.cc.

Referenced by getQQbarMap().

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]

Definition at line 534 of file translateQQ.cc.

References QQPDTMapInit().

PDTQQMap const& HepPID::@7::getPDTQQMap (  )  [static]

Definition at line 543 of file translateQQ.cc.

References PDTQQMapInit().

QQbarMap const& HepPID::@7::getQQbarMap (  )  [static]

Definition at line 551 of file translateQQ.cc.

References QQbarMapInit().

InverseQQbarMap const& HepPID::@7::getInverseQQbarMap (  )  [static]

Definition at line 560 of file translateQQ.cc.

References InverseQQbarMapInit().


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