HepPDT Reference Documentation

HepPDT

HepPDT::Constituent Class Reference

The Constituent class has information about constituent particles. More...

#include <Constituent.hh>

List of all members.

Public Member Functions

 Constituent (ParticleID p=ParticleID(0), int m=-1)
 Constituent (Constituent const &orig)
Constituentoperator= (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?


Detailed Description

The Constituent class has information about constituent particles.

Author:
Lynn Garren
Holds a particle constituent (e.g. quark type and number of quarks of this type)

Definition at line 26 of file Constituent.hh.


Constructor & Destructor Documentation

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.


Member Function Documentation

Constituent& HepPDT::Constituent::operator= ( Constituent const &  rhs  )  [inline]

Definition at line 38 of file Constituent.hh.

References swap().

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().

int HepPDT::Constituent::multiplicity (  )  const [inline]

how many of this constituent are there?

Definition at line 50 of file Constituent.hh.

ParticleID HepPDT::Constituent::pid (  )  const [inline]

ParticleID of this constituent.

Definition at line 52 of file Constituent.hh.

bool HepPDT::Constituent::isUp (  )  const

is this an up quark?

Definition at line 12 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::isCharm (  )  const

is this a charm quark?

Definition at line 30 of file Constituent.cc.

References HepPDT::ParticleID::fundamentalID().

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::isTop (  )  const

is this a top quark?

Definition at line 42 of file Constituent.cc.

References HepPDT::ParticleID::fundamentalID().


The documentation for this class was generated from the following files:
Generated on Fri Oct 24 13:41:38 2008 for HepPDT by  doxygen 1.5.1-3