![]() |
HepPDT Reference DocumentationHepPDT |
#include <ResonanceStructure.hh>
Public Member Functions | |
ResonanceStructure (Measurement mass=Measurement(), Measurement width=Measurement(), double min=0., double max=0.) | |
construct from mass and total width | |
virtual | ~ResonanceStructure () |
ResonanceStructure (const ResonanceStructure &orig) | |
ResonanceStructure & | operator= (const ResonanceStructure &rhs) |
void | swap (ResonanceStructure &other) |
Measurement const & | mass () const |
get the mass | |
Measurement const & | totalWidth () const |
get the total width | |
Measurement | lifetime () const |
calculate lifetime from total width | |
double | lowerCutoff () const |
lower cutoff of allowed width values | |
double | upperCutoff () const |
upper cutoff of allowed width values | |
void | setMass (Measurement const &mass) |
change the mass | |
void | setTotalWidth (Measurement const &width) |
change the total width | |
void | setTotalWidthFromLifetime (Measurement const <) |
change the total width using a lifetime | |
void | setLowerCutoff (double cut) |
change the lower cutoff of allowed width values | |
void | setUpperCutoff (double cut) |
change the upper cutoff of allowed width values |
Definition at line 27 of file ResonanceStructure.hh.
HepPDT::ResonanceStructure::ResonanceStructure | ( | Measurement | mass = Measurement() , |
|
Measurement | width = Measurement() , |
|||
double | min = 0. , |
|||
double | max = 0. | |||
) |
HepPDT::ResonanceStructure::~ResonanceStructure | ( | ) | [virtual] |
Definition at line 44 of file ResonanceStructure.cc.
HepPDT::ResonanceStructure::ResonanceStructure | ( | const ResonanceStructure & | orig | ) |
Definition at line 21 of file ResonanceStructure.cc.
Measurement HepPDT::ResonanceStructure::lifetime | ( | ) | const |
calculate lifetime from total width
Definition at line 13 of file lifetime.cc.
References HepPDT::Measurement::sigma(), and HepPDT::Measurement::value().
Referenced by HepPDT::ParticleData::lifetime().
double HepPDT::ResonanceStructure::lowerCutoff | ( | ) | const [inline] |
lower cutoff of allowed width values
Definition at line 54 of file ResonanceStructure.hh.
Referenced by HepPDT::ParticleData::lowerCutoff().
Measurement const& HepPDT::ResonanceStructure::mass | ( | ) | const [inline] |
get the mass
Definition at line 48 of file ResonanceStructure.hh.
Referenced by HepPDT::ParticleData::mass(), setMass(), and HepPDT::ParticleData::write().
ResonanceStructure & HepPDT::ResonanceStructure::operator= | ( | const ResonanceStructure & | rhs | ) |
void HepPDT::ResonanceStructure::setLowerCutoff | ( | double | cut | ) | [inline] |
change the lower cutoff of allowed width values
Definition at line 67 of file ResonanceStructure.hh.
Referenced by HepPDT::ParticleData::setLowerCutoff().
void HepPDT::ResonanceStructure::setMass | ( | Measurement const & | mass | ) | [inline] |
change the mass
Definition at line 61 of file ResonanceStructure.hh.
References mass().
Referenced by HepPDT::ParticleData::setMass().
void HepPDT::ResonanceStructure::setTotalWidth | ( | Measurement const & | width | ) | [inline] |
change the total width
Definition at line 63 of file ResonanceStructure.hh.
Referenced by HepPDT::ParticleData::setTotalWidth().
void HepPDT::ResonanceStructure::setTotalWidthFromLifetime | ( | Measurement const & | lt | ) |
change the total width using a lifetime
Definition at line 47 of file ResonanceStructure.cc.
References HepPDT::Measurement::sigma(), and HepPDT::Measurement::value().
Referenced by HepPDT::ParticleData::setTotalWidthFromLifetime().
void HepPDT::ResonanceStructure::setUpperCutoff | ( | double | cut | ) | [inline] |
change the upper cutoff of allowed width values
Definition at line 69 of file ResonanceStructure.hh.
Referenced by HepPDT::ParticleData::setUpperCutoff().
void HepPDT::ResonanceStructure::swap | ( | ResonanceStructure & | other | ) |
Definition at line 35 of file ResonanceStructure.cc.
References itsLowerCutoff, itsMass, itsTotalWidth, itsUpperCutoff, HepPDT::swap(), and HepPDT::Measurement::swap().
Referenced by operator=(), and HepPDT::swap().
Measurement const& HepPDT::ResonanceStructure::totalWidth | ( | ) | const [inline] |
get the total width
Definition at line 50 of file ResonanceStructure.hh.
Referenced by HepPDT::ParticleData::totalWidth(), and HepPDT::ParticleData::write().
double HepPDT::ResonanceStructure::upperCutoff | ( | ) | const [inline] |
upper cutoff of allowed width values
Definition at line 56 of file ResonanceStructure.hh.
Referenced by HepPDT::ParticleData::upperCutoff().