![]() |
HepPDT Reference DocumentationHepPDT |
Classes | |
class | Constituent |
class | DefTable |
class | HeavyIonUnknownID |
class | Measurement |
class | ParticleData |
class | ParticleDataTable |
class | ParticleDataTableComparison |
struct | Quarks |
constituent quarks More... | |
class | ParticleID |
class | ProcessUnknownID |
class | ResonanceStructure |
class | SimpleProcessUnknownID |
class | SpinState |
class | TableBuilder |
struct | TempConstituent |
Temporary constituent (e.g., quark) information. More... | |
struct | TempDecayData |
temporary holder for decay data More... | |
struct | TempAliasData |
Hold Alias information from EvtGen. More... | |
struct | TempParticleData |
temporary holder for Particle Data information More... | |
class | TestNuclearFragment |
Namespaces | |
namespace | detail |
Typedefs | |
typedef std::vector< TempDecayData > | TDDlist |
useful typedef | |
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 | |
void | swap (Constituent &first, Constituent &second) |
void | swap (Measurement &first, Measurement &second) |
void | swap (ParticleData &first, ParticleData &second) |
bool | writePDGStream (std::ostream &os, const ParticleDataTable &table) |
bool | writePythiaStream (std::ostream &os, const ParticleDataTable &table) |
bool | writeHerwigStream (std::ostream &os, const ParticleDataTable &table) |
bool | writeIsajetStream (std::ostream &os, const ParticleDataTable &table) |
bool | writeQQStream (std::ostream &os, const ParticleDataTable &table) |
bool | writeEvtGenStream (std::ostream &os, const ParticleDataTable &table) |
double | spinitod (int js) |
convert from 2J+1 to the actual spin value | |
int | spindtoi (double spin) |
convert an actual spin to 2J+1 | |
void | swap (ParticleID &first, ParticleID &second) |
void | swap (ResonanceStructure &first, ResonanceStructure &second) |
void | swap (SpinState &first, SpinState &second) |
double | stringtodouble (std::string &numb) |
extract a double from a string | |
bool | addPDGParticles (std::istream &, TableBuilder &) |
read PDG input and add particles to the table | |
bool | addPythiaParticles (std::istream &, TableBuilder &) |
read Pythia input and add particles to the table | |
bool | addHerwigParticles (std::istream &, TableBuilder &) |
bool | addIsajetParticles (std::istream &, TableBuilder &) |
read Isajet particle input and add particles to the table | |
bool | addIsajetDecay (std::istream &, TableBuilder &) |
read Isajet decay input and add decay information to the table | |
bool | addQQParticles (std::istream &, TableBuilder &) |
read QQ input and add particles to the table | |
bool | addEvtGenParticles (std::istream &, TableBuilder &) |
read EvtGen input and add particles to the table | |
bool | addParticleTable (std::istream &, TableBuilder &, bool validate=false) |
validate=true => verify that the ParticleID is valid | |
double | calculateWidthFromLifetime (double) |
Given the lifetime, calculate the width. | |
void | swap (TempParticleData &first, TempParticleData &second) |
void | version () |
print HepPDT version | |
void | writeVersion (std::ostream &os) |
write HepPDT version to os | |
std::string | versionName () |
return HepPDT version | |
bool | getEvtGenLineType (std::string <ype, int &id, std::string &name, const std::string &pdline) |
void | parseEvtGenLine (TempParticleData &tpd, const std::string &pdline) |
void | parseEvtGenAlias (TempAliasData &tad, const std::string &pdline) |
bool | parseEvtGenDecayLine (TempParticleData &tpd, const std::string &pdline) |
bool | parseEvtGenAliasDecayLine (const std::string &pdline) |
void | parseEvtGenConj (std::string &cname, const std::string &pdline) |
void | parseEvtGenDefinition (std::string &def, double &val, const std::string &pdline) |
bool | getQQLineType (std::string <ype, int &id, std::string &name, const std::string &pdline) |
bool | parseQQDecayLine (const std::string &pdline) |
void | parseQQParticle (TempParticleData &tpd, const std::string &pdline) |
typedef std::vector<TempDecayData> HepPDT::TDDlist |
enum HepPDT::location |
The location enum provides a convenient index into the PID.
Definition at line 36 of file ParticleID.hh.
void HepPDT::swap | ( | Constituent & | first, | |
Constituent & | second | |||
) | [inline] |
Definition at line 77 of file Constituent.hh.
References HepPDT::Constituent::swap().
Referenced by HepPDT::TempParticleData::swap(), HepPDT::ResonanceStructure::swap(), HepPDT::ParticleID::swap(), and HepPDT::Constituent::swap().
void HepPDT::swap | ( | Measurement & | first, | |
Measurement & | second | |||
) | [inline] |
void HepPDT::swap | ( | ParticleData & | first, | |
ParticleData & | second | |||
) | [inline] |
bool HepPDT::writePDGStream | ( | std::ostream & | os, | |
const ParticleDataTable & | table | |||
) |
bool HepPDT::writePythiaStream | ( | std::ostream & | os, | |
const ParticleDataTable & | table | |||
) |
bool HepPDT::writeHerwigStream | ( | std::ostream & | os, | |
const ParticleDataTable & | table | |||
) |
bool HepPDT::writeIsajetStream | ( | std::ostream & | os, | |
const ParticleDataTable & | table | |||
) |
bool HepPDT::writeQQStream | ( | std::ostream & | os, | |
const ParticleDataTable & | table | |||
) |
bool HepPDT::writeEvtGenStream | ( | std::ostream & | os, | |
const ParticleDataTable & | table | |||
) |
double HepPDT::spinitod | ( | int | js | ) |
convert from 2J+1 to the actual spin value
Definition at line 13 of file spinitod.cc.
Referenced by HepPDT::TempParticleData::processPID(), and testValid().
int HepPDT::spindtoi | ( | double | spin | ) |
void HepPDT::swap | ( | ParticleID & | first, | |
ParticleID & | second | |||
) | [inline] |
void HepPDT::swap | ( | ResonanceStructure & | first, | |
ResonanceStructure & | second | |||
) | [inline] |
void HepPDT::swap | ( | SpinState & | first, | |
SpinState & | second | |||
) | [inline] |
double HepPDT::stringtodouble | ( | std::string & | numb | ) |
bool HepPDT::addPDGParticles | ( | std::istream & | , | |
TableBuilder & | ||||
) |
read PDG input and add particles to the table
Definition at line 22 of file addPDGParticles.cc.
References HepPDT::TableBuilder::getParticleData(), HepPDT::detail::getPDGnames(), HepPDT::detail::getPDGpid(), HepPDT::detail::parsePDGline(), HepPDT::TableBuilder::size(), and HepPDT::TempParticleData::tempSource.
Referenced by duplicateFragmentTest(), pdtFragmentTest(), and pdtSimpleTest().
bool HepPDT::addPythiaParticles | ( | std::istream & | , | |
TableBuilder & | ||||
) |
read Pythia input and add particles to the table
Definition at line 20 of file addPythiaParticles.cc.
References HepPDT::TableBuilder::getAntiParticle(), HepPDT::TableBuilder::getParticleData(), HepPDT::detail::getPythiaid(), HepPDT::detail::parsePythiaDecayLine(), HepPDT::detail::parsePythiaLine(), HepPDT::TableBuilder::size(), HepPDT::TempParticleData::tempMass, HepPDT::TempParticleData::tempOriginalID, HepPDT::TempParticleData::tempSource, and HepPID::translatePythiatoPDT().
bool HepPDT::addHerwigParticles | ( | std::istream & | , | |
TableBuilder & | ||||
) |
Definition at line 13 of file addHerwigParticles.cc.
bool HepPDT::addIsajetParticles | ( | std::istream & | , | |
TableBuilder & | ||||
) |
read Isajet particle input and add particles to the table
Definition at line 14 of file addIsajetParticles.cc.
References HepPDT::detail::getIsajetID(), HepPDT::TableBuilder::getParticleData(), HepPDT::detail::parseIsajetLine(), HepPDT::TableBuilder::size(), and HepPID::translateIsajettoPDT().
bool HepPDT::addIsajetDecay | ( | std::istream & | , | |
TableBuilder & | ||||
) |
read Isajet decay input and add decay information to the table
bool HepPDT::addQQParticles | ( | std::istream & | , | |
TableBuilder & | ||||
) |
read QQ input and add particles to the table
Definition at line 27 of file addQQParticles.cc.
References HepPDT::TableBuilder::addParticle(), HepPDT::TableBuilder::getParticleData(), getQQLineType(), HepPDT::TableBuilder::hasParticleData(), parseQQDecayLine(), parseQQParticle(), HepPDT::TableBuilder::size(), HepPDT::TempParticleData::tempOriginalID, HepPDT::TempParticleData::tempParticleName, HepPDT::TempParticleData::tempSource, HepPID::translateQQbar(), and HepPID::translateQQtoPDT().
bool HepPDT::addEvtGenParticles | ( | std::istream & | , | |
TableBuilder & | ||||
) |
read EvtGen input and add particles to the table
Definition at line 29 of file addEvtGenParticles.cc.
References HepPDT::TableBuilder::addAlias(), HepPDT::DefTable::addDefinition(), HepPDT::TableBuilder::addParticle(), HepPDT::TableBuilder::aliasData(), HepPDT::TableBuilder::aliasSize(), HepPDT::TableBuilder::definitions(), getEvtGenLineType(), HepPDT::TableBuilder::getParticleData(), HepPDT::TableBuilder::hasAlias(), HepPDT::TableBuilder::hasParticleData(), parseEvtGenAlias(), parseEvtGenAliasDecayLine(), parseEvtGenConj(), parseEvtGenDecayLine(), parseEvtGenDefinition(), parseEvtGenLine(), HepPDT::TableBuilder::size(), HepPDT::TempAliasData::tempChargeConj, and HepPID::translateEvtGentoPDT().
bool HepPDT::addParticleTable | ( | std::istream & | , | |
TableBuilder & | , | |||
bool | validate = false | |||
) |
validate=true => verify that the ParticleID is valid
Definition at line 21 of file addParticleTable.cc.
References HepPDT::TableBuilder::getParticleData(), HepPDT::detail::getParticleID(), HepPDT::detail::parseParticleLine(), and HepPDT::TableBuilder::size().
double HepPDT::calculateWidthFromLifetime | ( | double | ) |
Given the lifetime, calculate the width.
Definition at line 13 of file calculateWidthFromLifetime.cc.
Referenced by parseEvtGenLine(), HepPDT::detail::parseParticleLine(), HepPDT::detail::parsePythiaLine(), and parseQQParticle().
void HepPDT::swap | ( | TempParticleData & | first, | |
TempParticleData & | second | |||
) | [inline] |
void HepPDT::version | ( | ) |
print HepPDT version
Definition at line 20 of file HepPDT/Version.cc.
References versionName().
Referenced by HepPDT::ParticleDataTable::ParticleDataTable().
void HepPDT::writeVersion | ( | std::ostream & | os | ) |
write HepPDT version to os
Definition at line 26 of file HepPDT/Version.cc.
References versionName().
Referenced by HepPDT::ParticleDataTable::writeParticleData(), and HepPDT::ParticleDataTable::writeParticleInfo().
std::string HepPDT::versionName | ( | ) |
return HepPDT version
Definition at line 15 of file HepPDT/Version.cc.
Referenced by version(), HepPDT::ParticleDataTable::writeParticleStatus(), and writeVersion().
bool HepPDT::getEvtGenLineType | ( | std::string & | ltype, | |
int & | id, | |||
std::string & | name, | |||
const std::string & | pdline | |||
) |
void HepPDT::parseEvtGenLine | ( | TempParticleData & | tpd, | |
const std::string & | pdline | |||
) |
Definition at line 136 of file addEvtGenParticles.cc.
References calculateWidthFromLifetime(), HepPDT::ParticleID::pid(), HepPDT::SpinState::setTotalSpin(), HepPDT::TempParticleData::tempCharge, HepPDT::TempParticleData::tempHighCutoff, HepPDT::TempParticleData::tempID, HepPDT::TempParticleData::tempMass, HepPDT::TempParticleData::tempOriginalID, HepPDT::TempParticleData::tempParticleName, HepPDT::TempParticleData::tempSource, HepPDT::TempParticleData::tempSpin, HepPDT::TempParticleData::tempWidth, and HepPDT::SpinState::totalSpin().
Referenced by addEvtGenParticles().
void HepPDT::parseEvtGenAlias | ( | TempAliasData & | tad, | |
const std::string & | pdline | |||
) |
Definition at line 222 of file addEvtGenParticles.cc.
References HepPDT::TempAliasData::tempAlias, and HepPDT::TempAliasData::tempAliasedParticle.
Referenced by addEvtGenParticles().
bool HepPDT::parseEvtGenDecayLine | ( | TempParticleData & | tpd, | |
const std::string & | pdline | |||
) |
Definition at line 172 of file addEvtGenParticles.cc.
References HepPDT::ParticleID::pid(), and HepPDT::TempParticleData::tempID.
Referenced by addEvtGenParticles().
bool HepPDT::parseEvtGenAliasDecayLine | ( | const std::string & | pdline | ) |
void HepPDT::parseEvtGenConj | ( | std::string & | cname, | |
const std::string & | pdline | |||
) |
void HepPDT::parseEvtGenDefinition | ( | std::string & | def, | |
double & | val, | |||
const std::string & | pdline | |||
) |
bool HepPDT::getQQLineType | ( | std::string & | ltype, | |
int & | id, | |||
std::string & | name, | |||
const std::string & | pdline | |||
) |
bool HepPDT::parseQQDecayLine | ( | const std::string & | pdline | ) |
void HepPDT::parseQQParticle | ( | TempParticleData & | tpd, | |
const std::string & | pdline | |||
) |
Definition at line 117 of file addQQParticles.cc.
References calculateWidthFromLifetime(), HepPDT::ParticleID::pid(), HepPDT::SpinState::setTotalSpin(), HepPDT::TempParticleData::tempCharge, HepPDT::TempParticleData::tempHighCutoff, HepPDT::TempParticleData::tempID, HepPDT::TempParticleData::tempLowCutoff, HepPDT::TempParticleData::tempMass, HepPDT::TempParticleData::tempOriginalID, HepPDT::TempParticleData::tempParticleName, HepPDT::TempParticleData::tempSpin, HepPDT::TempParticleData::tempWidth, and HepPDT::SpinState::totalSpin().
Referenced by addQQParticles().