![]() |
HepPDT Reference DocumentationHepPDT |
#include <SpinState.hh>
Public Member Functions | |
SpinState (double ts=0., double spin=0., double oam=0.) | |
(default) constructor | |
SpinState (const SpinState &orig) | |
SpinState & | operator= (const SpinState &rhs) |
void | swap (SpinState &other) |
bool | operator== (const SpinState &rhs) const |
all three spins must match | |
double | totalSpin () const |
return the total spin | |
double | spin () const |
return the spin | |
double | orbAngMom () const |
return the orbital angular momentum | |
void | setTotalSpin (double spin) |
change the total spin | |
void | setSpin (double spin) |
change the spin | |
void | setOrbAngMom (double ang) |
change the orbital angular momentum |
Definition at line 20 of file SpinState.hh.
HepPDT::SpinState::SpinState | ( | double | ts = 0. , |
|
double | spin = 0. , |
|||
double | oam = 0. | |||
) | [inline] |
(default) constructor
HepPDT::SpinState::SpinState | ( | const SpinState & | orig | ) | [inline] |
bool HepPDT::SpinState::operator== | ( | const SpinState & | rhs | ) | const [inline] |
all three spins must match
double HepPDT::SpinState::orbAngMom | ( | ) | const [inline] |
return the orbital angular momentum
Definition at line 47 of file SpinState.hh.
Referenced by HepPDT::ParticleData::write().
void HepPDT::SpinState::setOrbAngMom | ( | double | ang | ) | [inline] |
change the orbital angular momentum
Definition at line 56 of file SpinState.hh.
Referenced by HepPDT::TempParticleData::processPID().
void HepPDT::SpinState::setSpin | ( | double | spin | ) | [inline] |
change the spin
Definition at line 54 of file SpinState.hh.
Referenced by HepPDT::TempParticleData::processPID().
void HepPDT::SpinState::setTotalSpin | ( | double | spin | ) | [inline] |
change the total spin
Definition at line 52 of file SpinState.hh.
Referenced by HepPDT::parseEvtGenLine(), HepPDT::parseQQParticle(), and HepPDT::TempParticleData::processPID().
double HepPDT::SpinState::spin | ( | ) | const [inline] |
return the spin
Definition at line 45 of file SpinState.hh.
Referenced by HepPDT::ParticleData::write().
void HepPDT::SpinState::swap | ( | SpinState & | other | ) | [inline] |
Referenced by HepPDT::swap().
double HepPDT::SpinState::totalSpin | ( | ) | const [inline] |
return the total spin
Definition at line 43 of file SpinState.hh.
Referenced by HepPDT::parseEvtGenLine(), HepPDT::parseQQParticle(), and HepPDT::ParticleData::write().