![]() |
HepPDT Reference DocumentationHepPDT |
#include <Constituent.hh>
Public Member Functions | |
Constituent (ParticleID p=ParticleID(0), int m=-1) | |
Constituent (Constituent const &orig) | |
Constituent & | operator= (Constituent const &rhs) |
void | swap (Constituent &other) |
int | multiplicity () const |
how many of this constituent are there? | |
ParticleID | pid () const |
ParticleID of this constituent. | |
bool | isUp () const |
is this an up quark? | |
bool | isDown () const |
is this a down quark? | |
bool | isStrange () const |
is this a strange quark? | |
bool | isCharm () const |
is this a charm quark? | |
bool | isBottom () const |
is this a bottom quark? | |
bool | isTop () const |
is this a top quark? |
Definition at line 26 of file Constituent.hh.
HepPDT::Constituent::Constituent | ( | ParticleID | p = ParticleID(0) , |
|
int | m = -1 | |||
) | [inline] |
Definition at line 31 of file Constituent.hh.
HepPDT::Constituent::Constituent | ( | Constituent const & | orig | ) | [inline] |
Definition at line 36 of file Constituent.hh.
bool HepPDT::Constituent::isBottom | ( | ) | const |
is this a bottom quark?
Definition at line 36 of file Constituent.cc.
References HepPDT::ParticleID::fundamentalID().
bool HepPDT::Constituent::isCharm | ( | ) | const |
is this a charm quark?
Definition at line 30 of file Constituent.cc.
References HepPDT::ParticleID::fundamentalID().
bool HepPDT::Constituent::isDown | ( | ) | const |
is this a down quark?
Definition at line 18 of file Constituent.cc.
References HepPDT::ParticleID::fundamentalID().
bool HepPDT::Constituent::isStrange | ( | ) | const |
is this a strange quark?
Definition at line 24 of file Constituent.cc.
References HepPDT::ParticleID::fundamentalID().
bool HepPDT::Constituent::isTop | ( | ) | const |
is this a top quark?
Definition at line 42 of file Constituent.cc.
References HepPDT::ParticleID::fundamentalID().
bool HepPDT::Constituent::isUp | ( | ) | const |
is this an up quark?
Definition at line 12 of file Constituent.cc.
References HepPDT::ParticleID::fundamentalID().
int HepPDT::Constituent::multiplicity | ( | ) | const [inline] |
Constituent& HepPDT::Constituent::operator= | ( | Constituent const & | rhs | ) | [inline] |
ParticleID HepPDT::Constituent::pid | ( | ) | const [inline] |
void HepPDT::Constituent::swap | ( | Constituent & | other | ) | [inline] |
Definition at line 43 of file Constituent.hh.
References itsMultiplicity, itsPid, and HepPDT::swap().
Referenced by operator=(), and HepPDT::swap().