HepPDT Reference Documentation

HepPDT

HepPDT::Constituent Class Reference

#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

Author:
Lynn Garren

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

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]

how many of this constituent are there?

Definition at line 50 of file Constituent.hh.

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

Definition at line 38 of file Constituent.hh.

References swap().

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

ParticleID of this constituent.

Definition at line 52 of file Constituent.hh.

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


The documentation for this class was generated from the following files:
Generated on Fri Dec 4 14:05:25 2009 for HepPDT by  doxygen 1.4.7