#include <Ptype.h>
Public Methods | |
| Ptype (void) | |
| Default constructor. | |
| Ptype (const int) | |
| Constructor with PDG particle code. | |
| Ptype (const std::string &) | |
| Constructor with particle name. | |
| Ptype (const Ptype &) | |
| Copy constructor. | |
| virtual | ~Ptype (void) |
| Destructor. | |
| virtual void | initPtypeClass (const std::string &) |
| creates particle's list. | |
| virtual void | dump (const std::string &keyword=std::string("name mass return"), const std::string &prefix=std::string("")) const |
| dumps debug information. | |
| virtual const long | pdgid (void) const |
| returns PDG particle code. | |
| virtual const std::string & | name (void) const |
| returns particle name. | |
| virtual const double | mass (void) const |
| returns mass(nominal mass). | |
| virtual const double | cTau (void) const |
| returns c*tau. | |
| virtual const double | charge (void) const |
| returns charge. (in units of e). | |
| virtual const double | spin (void) const |
| returns the spin. | |
| virtual const double | width (void) const |
| returns the width. | |
| virtual Ptype | chargeConjugation (void) const |
| returs "Ptype" to the corresponding anti partner. | |
| virtual bool | operator== (const Ptype &p) const |
| == operator. | |
| virtual bool | operator!= (const Ptype &p) const |
| != operator. | |
| virtual Ptype & | operator= (const Ptype &) |
| Copy operator. | |
| virtual | operator bool (void) const |
| Bool operator. | |
| virtual bool | operator! (void) const |
| ! operator. | |
Protected Methods | |
| virtual int | createParticleList (const std::string &) |
| virtual void | errorMessage (void) |
| virtual void | copyParticleData (const PDG_Particle &) |
Protected Attributes | |
| bool | m_usable |
| long | m_pdgid |
| std::string | m_name |
| double | m_mass |
| double | m_ctau |
| double | m_charge |
| double | m_spin |
| double | m_width |
Static Protected Attributes | |
| unsigned | m_isParticleList = 0 |
| std::vector< PDG_Particle * > | m_pdg_particles = std::vector<PDG_Particle*>(50) |
| PDG_Particle | m_forSearch = PDG_Particle() |
1.2.14 written by Dimitri van Heesch,
© 1997-2002