ROOTPWA
|
#include <particle.h>
Public Member Functions | |
particle () | |
particle (const particle &part) | |
particle (const particleProperties &partProp, const int index=-1, const int spinProj=0, const int refl=0, const TVector3 &momentum=TVector3()) | |
particle (const std::string &partName, const bool requirePartInTable=true, const int index=-1, const int spinProj=0, const int refl=0, const TVector3 &momentum=TVector3()) | |
particle (const std::string &partName, const int isospin, const int G, const int J, const int P, const int C, const int spinProj, const int refl=0, const int index=-1) | |
virtual | ~particle () |
particle & | operator= (const particle &part) |
particlePtr | clone () const |
creates deep copy of particle; must not be virtual | |
int | spinProj () const |
returns particle's spin projection quantum number | |
TVector3 | momentum () const |
returns three-momentum of particle | |
const TLorentzVector & | lzVec () const |
returns Lorentz vector of particle | |
int | index () const |
returns index label assigned to particle; -1 means undefined | |
int | reflectivity () const |
returns particle's reflectivity; 0 means undefined | |
void | setSpinProj (const int spinProj) |
sets particle's spin projection quantum number | |
void | setMomentum (const TVector3 &momentum) |
sets particle's Lorentz vector | |
void | setLzVec (const TLorentzVector &lzVec) |
sets particle's Lorentz vector; if this is used to inject external data the mass values likely become inconsistent | |
void | setIndex (const int index) |
sets particle's index label | |
void | setReflectivity (const int refl) |
sets particle's reflectivity | |
void | setProperties (const particleProperties &prop) |
sets particle's poperties to those given by argument | |
const TLorentzVector & | transform (const TLorentzRotation &L) |
applies Lorentz-transformation to particle | |
const TLorentzVector & | transform (const TVector3 &boost) |
virtual std::string | qnSummary () const |
returns particle's quantum number summary in form name[IG(JPC)M] | |
virtual std::ostream & | print (std::ostream &out) const |
prints particle parameters in human-readable form | |
virtual std::string | label () const |
returns particle label | |
bool | operator== (const particleProperties &rhsProp) const |
bool | operator!= (const particleProperties &rhsProp) const |
std::string | name () const |
returns particle name including charge | |
std::string | bareName () const |
returns particle name w/o charge | |
std::string | antiPartName () const |
returns antiparticle name including charge | |
std::string | antiPartBareName () const |
returns antiparticle name w/o charge | |
int | charge () const |
returns particle's charge | |
double | mass () const |
returns particle mass | |
double | mass2 () const |
returns particle mass squared | |
double | width () const |
returns particle width | |
int | baryonNmb () const |
returns particle's baryon number | |
int | isospin () const |
returns particle's isospin [hbar/2] | |
int | isospinProj () const |
returns z-component of isospin using Gell-Mann-Nishijima formula (see PDG 2008 eq. 14.1) | |
int | strangeness () const |
returns particle's strangeness | |
int | charm () const |
returns particle's charm | |
int | beauty () const |
returns particle's beauty | |
int | G () const |
returns particle's G-parity | |
int | J () const |
returns particle's spin [hbar/2] | |
int | P () const |
returns particle's parity | |
int | C () const |
returns particle's C-parity | |
unsigned int | geantId () const |
returns particle's Geant ID. | |
bool | isXParticle () const |
returns whether particle's name is either of "X{,-,0,+}" | |
bool | isMeson () const |
returns whether particle is a meson | |
bool | isBaryon () const |
returns whether particle is a baryon | |
bool | isLepton () const |
returns whether particle is a lepton | |
bool | isPhoton () const |
returns whether particle is a lepton | |
bool | isItsOwnAntiPart () const |
returns whether particle is its own antiparticle | |
bool | isSpinExotic () const |
returns whether particle is spin-exotic | |
const std::vector< decayMode > & | decayModes () const |
returns decay modes defined for this particle | |
unsigned int | nmbDecays () const |
returns number of decay modes defined for this particle | |
bool | hasDecay (const decayMode &decay) const |
returns whether given decay mode is in list of decays | |
void | addDecayMode (const decayMode &decay) |
adds decay channel into list of allowed decay modes | |
void | deleteDecayModes () |
deletes all decay modes | |
bool | fillFromDataTable (const std::string &name, const bool warnIfNotExistent=true) |
sets particle properties from entry in particle data table | |
void | setName (const std::string &name) |
sets particle name and charge (if given in name) | |
void | setAntiPartName (const std::string &name) |
sets antiparticle name (charge in name is ignored) | |
void | setCharge (const int charge) |
sets particle's charge (limited to |q| <= 9) | |
void | setMass (const double mass) |
sets particle mass | |
void | setWidth (const double width) |
sets particle width | |
void | setBaryonNmb (const int baryonNmb) |
sets particle's baryon number | |
void | setIsospin (const int isospin) |
sets particle's isospin [hbar/2] | |
void | setIsospinProj (const int isospinProj) |
sets particle's z component of the isospin [hbar/2] | |
void | setStrangeness (const int strangeness) |
sets particle's strangeness | |
void | setCharm (const int charm) |
sets particle's charm | |
void | setBeauty (const int beauty) |
sets particle's beauty | |
void | setG (const int G) |
sets particle's G-parity | |
void | setJ (const int J) |
sets particle's spin in [hbar/2] | |
void | setP (const int P) |
sets particle's parity | |
void | setC (const int C) |
sets particle's C-parity | |
void | setSCB (const int strangeness, const int charm, const int beauty) |
sets particle's strangeness, charm, and beauty | |
void | setIGJPC (const int isospin, const int G, const int J, const int P, const int C) |
sets particle's isospin, G-parity, spin, parity, and C-parity | |
particleProperties | antiPartProperties (const bool convertDecaysModes=false) const |
constructs antiparticle properties from particle | |
std::string | bareNameLaTeX () const |
returns particle name w/o charge in LaTeX markup | |
virtual std::ostream & | dump (std::ostream &out) const |
dumps particle properties into one text line as in data file | |
bool | read (std::istringstream &line) |
reads whitespace separated properties from single line |
Static Public Member Functions | |
static bool | debug () |
returns debug flag | |
static void | setDebug (const bool debug=true) |
sets debug flag | |
static std::string | nameWithCharge (const std::string &bareName, const int charge) |
appends charge information to bare particle name | |
static std::string | chargeFromName (const std::string &name, int &charge) |
checks whether last characters of particle name contain charge information and sets charge accordingly; returns name with charge stripped off | |
static std::string | stripChargeFromName (const std::string &name) |
checks whether last characters of particle name contain charge information and returns name with charge stripped off |
Protected Member Functions | |
virtual particle * | doClone () const |
helper function to use covariant return types with smart pointers; needed for public clone() | |
virtual bool | isEqualTo (const particleProperties &partProp) const |
returns whether partProp is equal to this by checking equality of all member variables (except Lorentz-vector) |
Private Attributes | |
int | _spinProj |
spin projection quantum number; can be either M or helicity | |
TLorentzVector | _lzVec |
Lorentz vector [GeV]. | |
int | _index |
index that can be used to label indistinguishable particles | |
int | _refl |
reflectivity |
Static Private Attributes | |
static bool | _debug = false |
if set to true, debug messages are printed |
Definition at line 60 of file amplitude/particle.h.
particle::particle | ( | ) |
Definition at line 51 of file amplitude/particle.cc.
Referenced by doClone().
particle::particle | ( | const particle & | part | ) |
Definition at line 60 of file amplitude/particle.cc.
particle::particle | ( | const particleProperties & | partProp, |
const int | index = -1 , |
||
const int | spinProj = 0 , |
||
const int | refl = 0 , |
||
const TVector3 & | momentum = TVector3() |
||
) |
Definition at line 66 of file amplitude/particle.cc.
particle::particle | ( | const std::string & | partName, |
const bool | requirePartInTable = true , |
||
const int | index = -1 , |
||
const int | spinProj = 0 , |
||
const int | refl = 0 , |
||
const TVector3 & | momentum = TVector3() |
||
) |
Definition at line 79 of file amplitude/particle.cc.
References _lzVec, rpwa::particleProperties::fillFromDataTable(), rpwa::particleProperties::mass(), and rpwa::particleProperties::setName().
particle::particle | ( | const std::string & | partName, |
const int | isospin, | ||
const int | G, | ||
const int | J, | ||
const int | P, | ||
const int | C, | ||
const int | spinProj, | ||
const int | refl = 0 , |
||
const int | index = -1 |
||
) |
Definition at line 97 of file amplitude/particle.cc.
|
virtual |
Definition at line 113 of file amplitude/particle.cc.
|
inlineinherited |
adds decay channel into list of allowed decay modes
Definition at line 137 of file particleProperties.h.
References rpwa::particleProperties::_decayModes.
Referenced by rpwa::particleProperties::antiPartProperties(), and rpwa::particleDataTable::readDecayModeFile().
|
inlineinherited |
returns antiparticle name w/o charge
Definition at line 106 of file particleProperties.h.
References rpwa::particleProperties::_antiPartName.
|
inlineinherited |
returns antiparticle name including charge
Definition at line 105 of file particleProperties.h.
References rpwa::particleProperties::_antiPartName, rpwa::particleProperties::_charge, and rpwa::particleProperties::nameWithCharge().
Referenced by rpwa::particleProperties::antiPartProperties(), rpwa::particleProperties::dump(), rpwa::particleProperties::isEqualTo(), rpwa::particleProperties::isItsOwnAntiPart(), rpwa::particleProperties::print(), and rpwa::particleProperties::read().
|
inherited |
constructs antiparticle properties from particle
Definition at line 292 of file particleProperties.cc.
References rpwa::particleProperties::_antiPartName, rpwa::particleProperties::_baryonNmb, rpwa::particleProperties::_beauty, rpwa::particleProperties::_C, rpwa::particleProperties::_charge, rpwa::particleProperties::_charm, rpwa::particleProperties::decayMode::_daughters, rpwa::particleProperties::_decayModes, rpwa::particleProperties::_G, rpwa::particleProperties::_isospin, rpwa::particleProperties::_J, rpwa::particleProperties::_mass, rpwa::particleProperties::_name, rpwa::particleProperties::_P, rpwa::particleProperties::_strangeness, rpwa::particleProperties::_width, rpwa::particleProperties::addDecayMode(), rpwa::particleProperties::antiPartName(), rpwa::particleProperties::deleteDecayModes(), rpwa::particleProperties::fillFromDataTable(), i, rpwa::particleProperties::isItsOwnAntiPart(), rpwa::particleProperties::nmbDecays(), rpwa::particleProperties::setAntiPartName(), rpwa::particleProperties::setBaryonNmb(), rpwa::particleProperties::setBeauty(), rpwa::particleProperties::setC(), rpwa::particleProperties::setCharge(), rpwa::particleProperties::setCharm(), rpwa::particleProperties::setG(), rpwa::particleProperties::setIsospin(), rpwa::particleProperties::setJ(), rpwa::particleProperties::setMass(), rpwa::particleProperties::setName(), rpwa::particleProperties::setP(), rpwa::particleProperties::setStrangeness(), and rpwa::particleProperties::setWidth().
Referenced by main(), and rpwa::particleDataTable::read().
|
inlineinherited |
returns particle name w/o charge
Definition at line 104 of file particleProperties.h.
References rpwa::particleProperties::_name.
Referenced by rpwa::particleDataTable::entriesMatching(), main(), and rpwa::particleProperties::nameWithCharge().
|
inherited |
returns particle name w/o charge in LaTeX markup
Definition at line 338 of file particleProperties.cc.
|
inlineinherited |
returns particle's baryon number
Definition at line 111 of file particleProperties.h.
References rpwa::particleProperties::_baryonNmb.
Referenced by rpwa::particleProperties::dump(), rpwa::particleProperties::isBaryon(), rpwa::particleProperties::isEqualTo(), rpwa::particleProperties::isItsOwnAntiPart(), rpwa::particleProperties::isLepton(), rpwa::particleProperties::isMeson(), rpwa::particleProperties::isospinProj(), rpwa::particleProperties::isPhoton(), rpwa::operator==(), rpwa::particleProperties::print(), rpwa::particleProperties::read(), rpwa::particleProperties::setBaryonNmb(), rpwa::particleProperties::setIsospinProj(), rpwa::leptoProductionVertex::setXFlavorQN(), rpwa::diffractiveDissVertex::setXFlavorQN(), and rpwa::waveDescription::setXQuantumNumbersKeys().
|
inlineinherited |
returns particle's beauty
Definition at line 116 of file particleProperties.h.
References rpwa::particleProperties::_beauty.
Referenced by rpwa::particleProperties::dump(), rpwa::particleProperties::isBaryon(), rpwa::particleProperties::isEqualTo(), rpwa::particleProperties::isItsOwnAntiPart(), rpwa::particleProperties::isLepton(), rpwa::particleProperties::isMeson(), rpwa::particleProperties::isospinProj(), rpwa::particleProperties::isPhoton(), rpwa::operator==(), rpwa::particleProperties::print(), rpwa::particleProperties::read(), rpwa::particleProperties::setBeauty(), rpwa::particleProperties::setIsospinProj(), rpwa::leptoProductionVertex::setXFlavorQN(), rpwa::diffractiveDissVertex::setXFlavorQN(), and rpwa::waveDescription::setXQuantumNumbersKeys().
|
inlineinherited |
returns particle's C-parity
Definition at line 120 of file particleProperties.h.
References rpwa::particleProperties::_C.
Referenced by rpwa::particleProperties::dump(), rpwa::particleProperties::isBaryon(), rpwa::particleProperties::isEqualTo(), rpwa::particleProperties::isLepton(), rpwa::particleProperties::isMeson(), rpwa::particleProperties::isPhoton(), label(), main(), rpwa::operator==(), rpwa::particleProperties::print(), qnSummary(), rpwa::particleProperties::qnSummary(), rpwa::particleProperties::read(), rpwa::waveDescription::setXQuantumNumbersKeys(), rpwa::waveDescription::waveLaTeXFromTopology(), and rpwa::waveDescription::waveNameFromTopology().
|
inlineinherited |
returns particle's charge
Definition at line 107 of file particleProperties.h.
References rpwa::particleProperties::_charge.
Referenced by rpwa::particleProperties::isBaryon(), rpwa::particleProperties::isEqualTo(), rpwa::particleProperties::isItsOwnAntiPart(), rpwa::particleProperties::isLepton(), rpwa::particleProperties::isMeson(), rpwa::particleProperties::isPhoton(), main(), rpwa::operator==(), rpwa::particleProperties::setCharge(), and rpwa::particleProperties::setName().
|
staticinherited |
checks whether last characters of particle name contain charge information and sets charge accordingly; returns name with charge stripped off
Definition at line 526 of file particleProperties.cc.
Referenced by rpwa::particleProperties::setName(), and rpwa::particleProperties::stripChargeFromName().
|
inlineinherited |
returns particle's charm
Definition at line 115 of file particleProperties.h.
References rpwa::particleProperties::_charm.
Referenced by rpwa::particleProperties::dump(), rpwa::particleProperties::isBaryon(), rpwa::particleProperties::isEqualTo(), rpwa::particleProperties::isItsOwnAntiPart(), rpwa::particleProperties::isLepton(), rpwa::particleProperties::isMeson(), rpwa::particleProperties::isospinProj(), rpwa::particleProperties::isPhoton(), rpwa::operator==(), rpwa::particleProperties::print(), rpwa::particleProperties::read(), rpwa::particleProperties::setCharm(), rpwa::particleProperties::setIsospinProj(), rpwa::leptoProductionVertex::setXFlavorQN(), rpwa::diffractiveDissVertex::setXFlavorQN(), and rpwa::waveDescription::setXQuantumNumbersKeys().
|
inline |
creates deep copy of particle; must not be virtual
Definition at line 89 of file amplitude/particle.h.
References doClone().
|
inlinestatic |
returns debug flag
Reimplemented from rpwa::particleProperties.
Definition at line 118 of file amplitude/particle.h.
References _debug.
Referenced by setDebug().
|
inlineinherited |
returns decay modes defined for this particle
Definition at line 134 of file particleProperties.h.
References rpwa::particleProperties::_decayModes.
Referenced by main().
|
inlineinherited |
deletes all decay modes
Definition at line 138 of file particleProperties.h.
References rpwa::particleProperties::_decayModes.
Referenced by rpwa::particleProperties::antiPartProperties().
|
protectedvirtual |
helper function to use covariant return types with smart pointers; needed for public clone()
Definition at line 132 of file amplitude/particle.cc.
References _debug, and particle().
Referenced by clone().
|
virtualinherited |
dumps particle properties into one text line as in data file
Definition at line 439 of file particleProperties.cc.
References rpwa::particleProperties::antiPartName(), rpwa::particleProperties::baryonNmb(), rpwa::particleProperties::beauty(), rpwa::particleProperties::C(), rpwa::particleProperties::charm(), rpwa::particleProperties::G(), rpwa::particleProperties::isospin(), rpwa::particleProperties::J(), rpwa::particleProperties::mass(), rpwa::particleProperties::mass2(), rpwa::particleProperties::name(), rpwa::particleProperties::P(), rpwa::particleProperties::strangeness(), and rpwa::particleProperties::width().
|
inherited |
sets particle properties from entry in particle data table
Definition at line 241 of file particleProperties.cc.
References rpwa::particleProperties::_debug, rpwa::particleDataTable::entry(), rpwa::particleDataTable::instance(), rpwa::particleProperties::name(), and rpwa::particleProperties::stripChargeFromName().
Referenced by rpwa::particleProperties::antiPartProperties(), lookupJ(), lookupP(), main(), and particle().
|
inlineinherited |
returns particle's G-parity
Definition at line 117 of file particleProperties.h.
References rpwa::particleProperties::_G.
Referenced by rpwa::particleProperties::dump(), rpwa::particleProperties::isBaryon(), rpwa::particleProperties::isEqualTo(), rpwa::particleProperties::isLepton(), rpwa::particleProperties::isMeson(), rpwa::particleProperties::isPhoton(), rpwa::particleProperties::isSpinExotic(), label(), main(), rpwa::operator==(), rpwa::particleProperties::print(), qnSummary(), rpwa::particleProperties::qnSummary(), rpwa::particleProperties::read(), rpwa::waveDescription::setXQuantumNumbersKeys(), rpwa::waveDescription::waveLaTeXFromTopology(), and rpwa::waveDescription::waveNameFromTopology().
|
inherited |
returns particle's Geant ID.
Definition at line 220 of file particleProperties.cc.
References rpwa::particleDataTable::geantIdFromParticleName(), and rpwa::particleProperties::name().
|
inherited |
returns whether given decay mode is in list of decays
Definition at line 234 of file particleProperties.cc.
References rpwa::particleProperties::_decayModes.
Referenced by rpwa::particleDataTable::entriesMatching().
|
inline |
returns index label assigned to particle; -1 means undefined
Definition at line 94 of file amplitude/particle.h.
References _index.
Referenced by isEqualTo(), and setIndex().
|
inlineinherited |
returns whether particle is a baryon
Definition at line 252 of file particleProperties.h.
References rpwa::particleProperties::baryonNmb(), rpwa::particleProperties::beauty(), rpwa::particleProperties::C(), rpwa::particleProperties::charge(), rpwa::particleProperties::charm(), rpwa::particleProperties::G(), rpwa::particleProperties::isospin(), rpwa::particleProperties::J(), rpwa::particleProperties::P(), and rpwa::particleProperties::strangeness().
Referenced by rpwa::particleProperties::print().
|
protectedvirtual |
returns whether partProp is equal to this by checking equality of all member variables (except Lorentz-vector)
Reimplemented from rpwa::particleProperties.
Definition at line 142 of file amplitude/particle.cc.
References index(), rpwa::particleProperties::isEqualTo(), reflectivity(), and spinProj().
|
inlineinherited |
returns whether particle is its own antiparticle
Definition at line 283 of file particleProperties.h.
References rpwa::particleProperties::antiPartName(), rpwa::particleProperties::baryonNmb(), rpwa::particleProperties::beauty(), rpwa::particleProperties::charge(), rpwa::particleProperties::charm(), rpwa::particleProperties::isMeson(), rpwa::particleProperties::isospinProj(), rpwa::particleProperties::isPhoton(), rpwa::particleProperties::name(), and rpwa::particleProperties::strangeness().
Referenced by rpwa::particleProperties::antiPartProperties(), rpwa::particleProperties::print(), and rpwa::particleDataTable::read().
|
inlineinherited |
returns whether particle is a lepton
Definition at line 263 of file particleProperties.h.
References rpwa::particleProperties::baryonNmb(), rpwa::particleProperties::beauty(), rpwa::particleProperties::C(), rpwa::particleProperties::charge(), rpwa::particleProperties::charm(), rpwa::particleProperties::G(), rpwa::particleProperties::isospin(), rpwa::particleProperties::J(), rpwa::particleProperties::P(), and rpwa::particleProperties::strangeness().
Referenced by rpwa::particleProperties::print().
|
inlineinherited |
returns whether particle is a meson
Definition at line 241 of file particleProperties.h.
References rpwa::particleProperties::baryonNmb(), rpwa::particleProperties::beauty(), rpwa::particleProperties::C(), rpwa::particleProperties::charge(), rpwa::particleProperties::charm(), rpwa::particleProperties::G(), rpwa::particleProperties::isospin(), rpwa::particleProperties::J(), rpwa::particleProperties::P(), and rpwa::particleProperties::strangeness().
Referenced by rpwa::particleProperties::isItsOwnAntiPart(), rpwa::particleProperties::isSpinExotic(), and rpwa::particleProperties::print().
|
inlineinherited |
returns particle's isospin [hbar/2]
Definition at line 112 of file particleProperties.h.
References rpwa::particleProperties::_isospin.
Referenced by rpwa::particleProperties::dump(), rpwa::particleProperties::isBaryon(), rpwa::particleProperties::isEqualTo(), rpwa::particleProperties::isLepton(), rpwa::particleProperties::isMeson(), rpwa::particleProperties::isPhoton(), rpwa::particleProperties::isSpinExotic(), label(), main(), rpwa::operator==(), rpwa::particleProperties::print(), qnSummary(), rpwa::particleProperties::qnSummary(), rpwa::particleProperties::read(), rpwa::waveDescription::setXQuantumNumbersKeys(), rpwa::waveDescription::waveLaTeXFromTopology(), and rpwa::waveDescription::waveNameFromTopology().
|
inlineinherited |
returns z-component of isospin using Gell-Mann-Nishijima formula (see PDG 2008 eq. 14.1)
Definition at line 113 of file particleProperties.h.
References rpwa::particleProperties::_charge, rpwa::particleProperties::baryonNmb(), rpwa::particleProperties::beauty(), rpwa::particleProperties::charm(), and rpwa::particleProperties::strangeness().
Referenced by rpwa::particleProperties::isItsOwnAntiPart().
|
inlineinherited |
returns whether particle is a lepton
Definition at line 273 of file particleProperties.h.
References rpwa::particleProperties::baryonNmb(), rpwa::particleProperties::beauty(), rpwa::particleProperties::C(), rpwa::particleProperties::charge(), rpwa::particleProperties::charm(), rpwa::particleProperties::G(), rpwa::particleProperties::isospin(), rpwa::particleProperties::J(), rpwa::particleProperties::P(), and rpwa::particleProperties::strangeness().
Referenced by rpwa::particleProperties::isItsOwnAntiPart(), and rpwa::particleProperties::print().
|
inherited |
returns whether particle is spin-exotic
Definition at line 227 of file particleProperties.cc.
References rpwa::particleProperties::G(), rpwa::particleProperties::isMeson(), rpwa::particleProperties::isospin(), rpwa::particleProperties::J(), and rpwa::particleProperties::P().
Referenced by rpwa::particleProperties::print().
|
inlineinherited |
returns whether particle's name is either of "X{,-,0,+}"
Definition at line 233 of file particleProperties.h.
References rpwa::particleProperties::_name.
|
inlineinherited |
returns particle's spin [hbar/2]
Definition at line 118 of file particleProperties.h.
References rpwa::particleProperties::_J.
Referenced by rpwa::particleProperties::dump(), rpwa::particleProperties::isBaryon(), rpwa::particleProperties::isEqualTo(), rpwa::particleProperties::isLepton(), rpwa::particleProperties::isMeson(), rpwa::particleProperties::isPhoton(), rpwa::particleProperties::isSpinExotic(), label(), lookupJ(), main(), rpwa::operator==(), rpwa::particleProperties::print(), qnSummary(), rpwa::particleProperties::qnSummary(), rpwa::particleProperties::read(), rpwa::waveDescription::setXQuantumNumbersKeys(), rpwa::waveDescription::waveLaTeXFromTopology(), and rpwa::waveDescription::waveNameFromTopology().
|
virtual |
returns particle label
Definition at line 188 of file amplitude/particle.cc.
References rpwa::particleProperties::C(), rpwa::particleProperties::G(), rpwa::particleProperties::isospin(), rpwa::particleProperties::J(), rpwa::particleProperties::name(), and rpwa::particleProperties::P().
Referenced by rpwa::isobarDecayTopology::writeGraphViz().
|
inline |
returns Lorentz vector of particle
Definition at line 93 of file amplitude/particle.h.
References _lzVec.
Referenced by setLzVec().
|
inlineinherited |
returns particle mass
Definition at line 108 of file particleProperties.h.
References rpwa::particleProperties::_mass.
Referenced by rpwa::particleProperties::dump(), rpwa::particleDataTable::entriesMatching(), rpwa::getParticleMass(), rpwa::particleProperties::isEqualTo(), particle(), rpwa::piPiSWaveAuMorganPenningtonM::piPiSWaveAuMorganPenningtonM(), rpwa::particleProperties::print(), rpwa::particleProperties::read(), rpwa::particleProperties::setMass(), and setMomentum().
|
inlineinherited |
returns particle mass squared
Definition at line 109 of file particleProperties.h.
References rpwa::particleProperties::_mass2.
Referenced by rpwa::particleProperties::dump().
|
inline |
returns three-momentum of particle
Definition at line 92 of file amplitude/particle.h.
References _lzVec.
|
inlineinherited |
returns particle name including charge
Definition at line 103 of file particleProperties.h.
References rpwa::particleProperties::_charge, rpwa::particleProperties::_name, and rpwa::particleProperties::nameWithCharge().
Referenced by rpwa::particleDataTable::addEntry(), rpwa::particleProperties::dump(), rpwa::particleDataTable::entriesMatching(), rpwa::particleProperties::fillFromDataTable(), rpwa::particleProperties::geantId(), rpwa::particleProperties::isEqualTo(), rpwa::particleProperties::isItsOwnAntiPart(), label(), main(), rpwa::particleProperties::nameWithCharge(), rpwa::particleProperties::print(), qnSummary(), rpwa::particleProperties::qnSummary(), and rpwa::particleProperties::read().
|
staticinherited |
appends charge information to bare particle name
Definition at line 507 of file particleProperties.cc.
References rpwa::particleProperties::bareName(), rpwa::particleProperties::name(), and q().
Referenced by rpwa::particleProperties::antiPartName(), and rpwa::particleProperties::name().
|
inlineinherited |
returns number of decay modes defined for this particle
Definition at line 135 of file particleProperties.h.
References rpwa::particleProperties::_decayModes.
Referenced by rpwa::particleProperties::antiPartProperties(), rpwa::particleDataTable::entriesMatching(), main(), and rpwa::particleProperties::print().
|
inlineinherited |
Definition at line 95 of file particleProperties.h.
Definition at line 118 of file amplitude/particle.cc.
References _index, _lzVec, _refl, and _spinProj.
Referenced by setProperties().
|
inlineinherited |
Definition at line 94 of file particleProperties.h.
References rpwa::particleProperties::isEqualTo().
|
inlineinherited |
returns particle's parity
Definition at line 119 of file particleProperties.h.
References rpwa::particleProperties::_P.
Referenced by rpwa::particleProperties::dump(), rpwa::particleProperties::isBaryon(), rpwa::particleProperties::isEqualTo(), rpwa::particleProperties::isLepton(), rpwa::particleProperties::isMeson(), rpwa::particleProperties::isPhoton(), rpwa::particleProperties::isSpinExotic(), label(), lookupP(), main(), rpwa::operator==(), rpwa::particleProperties::print(), qnSummary(), rpwa::particleProperties::qnSummary(), rpwa::particleProperties::read(), rpwa::waveDescription::setXQuantumNumbersKeys(), rpwa::waveDescription::waveLaTeXFromTopology(), and rpwa::waveDescription::waveNameFromTopology().
|
virtual |
prints particle parameters in human-readable form
Reimplemented from rpwa::particleProperties.
Definition at line 175 of file amplitude/particle.cc.
References _index, _lzVec, _refl, and _spinProj.
Referenced by compareAmplitudes(), and rpwa::operator<<().
|
virtual |
returns particle's quantum number summary in form name[IG(JPC)M]
Reimplemented from rpwa::particleProperties.
Definition at line 164 of file amplitude/particle.cc.
References rpwa::particleProperties::C(), rpwa::particleProperties::G(), rpwa::particleProperties::isospin(), rpwa::particleProperties::J(), rpwa::particleProperties::name(), rpwa::particleProperties::P(), reflectivity(), and spinProj().
Referenced by rpwa::waveDescription::setXQuantumNumbersKeys().
|
inherited |
reads whitespace separated properties from single line
Definition at line 460 of file particleProperties.cc.
References rpwa::particleProperties::_debug, rpwa::particleProperties::antiPartName(), rpwa::particleProperties::baryonNmb(), rpwa::particleProperties::beauty(), rpwa::particleProperties::C(), rpwa::particleProperties::charm(), rpwa::particleProperties::G(), rpwa::particleProperties::isospin(), rpwa::particleProperties::J(), rpwa::particleProperties::mass(), rpwa::particleProperties::name(), rpwa::particleProperties::P(), rpwa::particleProperties::setAntiPartName(), rpwa::particleProperties::setBaryonNmb(), rpwa::particleProperties::setBeauty(), rpwa::particleProperties::setC(), rpwa::particleProperties::setCharm(), rpwa::particleProperties::setG(), rpwa::particleProperties::setIsospin(), rpwa::particleProperties::setJ(), rpwa::particleProperties::setMass(), rpwa::particleProperties::setName(), rpwa::particleProperties::setP(), rpwa::particleProperties::setStrangeness(), rpwa::particleProperties::setWidth(), rpwa::particleProperties::strangeness(), and rpwa::particleProperties::width().
Referenced by rpwa::operator>>().
|
inline |
returns particle's reflectivity; 0 means undefined
Definition at line 95 of file amplitude/particle.h.
References _refl.
Referenced by isEqualTo(), qnSummary(), rpwa::waveDescription::setXQuantumNumbersKeys(), rpwa::waveDescription::waveLaTeXFromTopology(), and rpwa::waveDescription::waveNameFromTopology().
|
inlineinherited |
sets antiparticle name (charge in name is ignored)
Definition at line 144 of file particleProperties.h.
References rpwa::particleProperties::_antiPartName, and rpwa::particleProperties::stripChargeFromName().
Referenced by rpwa::particleProperties::antiPartProperties(), and rpwa::particleProperties::read().
|
inlineinherited |
sets particle's baryon number
Definition at line 148 of file particleProperties.h.
References rpwa::particleProperties::_baryonNmb, and rpwa::particleProperties::baryonNmb().
Referenced by rpwa::particleProperties::antiPartProperties(), rpwa::waveSetGenerator::generateWaveSet(), rpwa::particleProperties::read(), rpwa::leptoProductionVertex::setXFlavorQN(), and rpwa::diffractiveDissVertex::setXFlavorQN().
|
inlineinherited |
sets particle's beauty
Definition at line 153 of file particleProperties.h.
References rpwa::particleProperties::_beauty, and rpwa::particleProperties::beauty().
Referenced by rpwa::particleProperties::antiPartProperties(), rpwa::particleProperties::read(), rpwa::particleProperties::setSCB(), rpwa::leptoProductionVertex::setXFlavorQN(), and rpwa::diffractiveDissVertex::setXFlavorQN().
|
inlineinherited |
sets particle's C-parity
Definition at line 157 of file particleProperties.h.
References rpwa::particleProperties::_C.
Referenced by rpwa::particleProperties::antiPartProperties(), rpwa::particleProperties::particleProperties(), rpwa::particleProperties::read(), and rpwa::particleProperties::setIGJPC().
|
inlineinherited |
sets particle's charge (limited to |q| <= 9)
Definition at line 303 of file particleProperties.h.
References rpwa::particleProperties::_charge, and rpwa::particleProperties::charge().
Referenced by rpwa::particleProperties::antiPartProperties(), and rpwa::particleProperties::setName().
|
inlineinherited |
sets particle's charm
Definition at line 152 of file particleProperties.h.
References rpwa::particleProperties::_charm, and rpwa::particleProperties::charm().
Referenced by rpwa::particleProperties::antiPartProperties(), rpwa::particleProperties::read(), rpwa::particleProperties::setSCB(), rpwa::leptoProductionVertex::setXFlavorQN(), and rpwa::diffractiveDissVertex::setXFlavorQN().
|
inlinestatic |
sets debug flag
Reimplemented from rpwa::particleProperties.
Definition at line 119 of file amplitude/particle.h.
|
inlineinherited |
sets particle's G-parity
Definition at line 154 of file particleProperties.h.
References rpwa::particleProperties::_G.
Referenced by rpwa::particleProperties::antiPartProperties(), rpwa::particleProperties::particleProperties(), rpwa::particleProperties::read(), and rpwa::particleProperties::setIGJPC().
|
inherited |
sets particle's isospin, G-parity, spin, parity, and C-parity
Definition at line 277 of file particleProperties.cc.
References rpwa::particleProperties::setC(), rpwa::particleProperties::setG(), rpwa::particleProperties::setIsospin(), rpwa::particleProperties::setJ(), and rpwa::particleProperties::setP().
Referenced by rpwa::waveSetGenerator::generateWaveSet().
|
inline |
sets particle's index label
Definition at line 100 of file amplitude/particle.h.
|
inlineinherited |
sets particle's isospin [hbar/2]
Definition at line 149 of file particleProperties.h.
References rpwa::particleProperties::_isospin.
Referenced by rpwa::particleProperties::antiPartProperties(), rpwa::particleProperties::particleProperties(), rpwa::particleProperties::read(), and rpwa::particleProperties::setIGJPC().
|
inlineinherited |
sets particle's z component of the isospin [hbar/2]
Definition at line 150 of file particleProperties.h.
References rpwa::particleProperties::_charge, rpwa::particleProperties::baryonNmb(), rpwa::particleProperties::beauty(), rpwa::particleProperties::charm(), and rpwa::particleProperties::strangeness().
|
inlineinherited |
sets particle's spin in [hbar/2]
Definition at line 155 of file particleProperties.h.
References rpwa::particleProperties::_J.
Referenced by rpwa::particleProperties::antiPartProperties(), rpwa::particleProperties::particleProperties(), rpwa::particleProperties::read(), and rpwa::particleProperties::setIGJPC().
|
inline |
sets particle's Lorentz vector; if this is used to inject external data the mass values likely become inconsistent
Definition at line 99 of file amplitude/particle.h.
|
inlineinherited |
sets particle mass
Definition at line 317 of file particleProperties.h.
References rpwa::particleProperties::_mass, rpwa::particleProperties::_mass2, and rpwa::particleProperties::mass().
Referenced by rpwa::particleProperties::antiPartProperties(), and rpwa::particleProperties::read().
|
inline |
sets particle's Lorentz vector
Definition at line 98 of file amplitude/particle.h.
References _lzVec, and rpwa::particleProperties::mass().
|
inlineinherited |
sets particle name and charge (if given in name)
Definition at line 293 of file particleProperties.h.
References rpwa::particleProperties::_name, rpwa::particleProperties::charge(), rpwa::particleProperties::chargeFromName(), and rpwa::particleProperties::setCharge().
Referenced by rpwa::particleProperties::antiPartProperties(), main(), particle(), rpwa::particleProperties::particleProperties(), and rpwa::particleProperties::read().
|
inlineinherited |
sets particle's parity
Definition at line 156 of file particleProperties.h.
References rpwa::particleProperties::_P.
Referenced by rpwa::particleProperties::antiPartProperties(), rpwa::particleProperties::particleProperties(), rpwa::particleProperties::read(), and rpwa::particleProperties::setIGJPC().
void particle::setProperties | ( | const particleProperties & | prop | ) |
sets particle's poperties to those given by argument
Definition at line 156 of file amplitude/particle.cc.
References operator=().
|
inline |
|
inherited |
sets particle's strangeness, charm, and beauty
Definition at line 266 of file particleProperties.cc.
References rpwa::particleProperties::setBeauty(), rpwa::particleProperties::setCharm(), and rpwa::particleProperties::setStrangeness().
Referenced by rpwa::waveSetGenerator::generateWaveSet().
|
inline |
sets particle's spin projection quantum number
Definition at line 97 of file amplitude/particle.h.
References _spinProj, and spinProj().
Referenced by main().
|
inlineinherited |
sets particle's strangeness
Definition at line 151 of file particleProperties.h.
References rpwa::particleProperties::_strangeness, and rpwa::particleProperties::strangeness().
Referenced by rpwa::particleProperties::antiPartProperties(), rpwa::particleProperties::read(), rpwa::particleProperties::setSCB(), rpwa::leptoProductionVertex::setXFlavorQN(), and rpwa::diffractiveDissVertex::setXFlavorQN().
|
inlineinherited |
sets particle width
Definition at line 147 of file particleProperties.h.
References rpwa::particleProperties::_width, and rpwa::particleProperties::width().
Referenced by rpwa::particleProperties::antiPartProperties(), and rpwa::particleProperties::read().
|
inline |
returns particle's spin projection quantum number
Definition at line 91 of file amplitude/particle.h.
References _spinProj.
Referenced by isEqualTo(), qnSummary(), setSpinProj(), rpwa::waveDescription::setXQuantumNumbersKeys(), rpwa::waveDescription::waveLaTeXFromTopology(), and rpwa::waveDescription::waveNameFromTopology().
|
inlineinherited |
returns particle's strangeness
Definition at line 114 of file particleProperties.h.
References rpwa::particleProperties::_strangeness.
Referenced by rpwa::particleProperties::dump(), rpwa::particleProperties::isBaryon(), rpwa::particleProperties::isEqualTo(), rpwa::particleProperties::isItsOwnAntiPart(), rpwa::particleProperties::isLepton(), rpwa::particleProperties::isMeson(), rpwa::particleProperties::isospinProj(), rpwa::particleProperties::isPhoton(), rpwa::operator==(), rpwa::particleProperties::print(), rpwa::particleProperties::read(), rpwa::particleProperties::setIsospinProj(), rpwa::particleProperties::setStrangeness(), rpwa::leptoProductionVertex::setXFlavorQN(), rpwa::diffractiveDissVertex::setXFlavorQN(), and rpwa::waveDescription::setXQuantumNumbersKeys().
|
staticinherited |
checks whether last characters of particle name contain charge information and returns name with charge stripped off
Definition at line 562 of file particleProperties.cc.
References rpwa::particleProperties::chargeFromName().
Referenced by rpwa::particleProperties::fillFromDataTable(), and rpwa::particleProperties::setAntiPartName().
|
inline |
applies Lorentz-transformation to particle
Definition at line 105 of file amplitude/particle.h.
References _lzVec.
|
inline |
boost | applies Lorentz-boost to particle |
Definition at line 106 of file amplitude/particle.h.
References _lzVec.
|
inlineinherited |
returns particle width
Definition at line 110 of file particleProperties.h.
References rpwa::particleProperties::_width.
Referenced by rpwa::particleProperties::dump(), rpwa::particleDataTable::entriesMatching(), rpwa::particleProperties::isEqualTo(), rpwa::particleProperties::print(), rpwa::particleProperties::read(), and rpwa::particleProperties::setWidth().
|
staticprivate |
if set to true, debug messages are printed
Definition at line 135 of file amplitude/particle.h.
Referenced by debug(), doClone(), and setDebug().
|
private |
index that can be used to label indistinguishable particles
Definition at line 132 of file amplitude/particle.h.
Referenced by index(), operator=(), print(), and setIndex().
|
private |
Lorentz vector [GeV].
Definition at line 131 of file amplitude/particle.h.
Referenced by lzVec(), momentum(), operator=(), particle(), print(), setLzVec(), setMomentum(), and transform().
|
private |
reflectivity
Definition at line 133 of file amplitude/particle.h.
Referenced by operator=(), print(), reflectivity(), and setReflectivity().
|
private |
spin projection quantum number; can be either M or helicity
Definition at line 130 of file amplitude/particle.h.
Referenced by operator=(), print(), setSpinProj(), and spinProj().