HepPDT Reference Documentation

HepPDT

HepPDT::SpinState Class Reference

#include <SpinState.hh>

List of all members.

Public Member Functions

 SpinState (double ts=0., double spin=0., double oam=0.)
 (default) constructor
 SpinState (const SpinState &orig)
SpinStateoperator= (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


Detailed Description

Author:
Lynn Garren
Examples:

examMyPDT.cc.

Definition at line 20 of file SpinState.hh.


Constructor & Destructor Documentation

HepPDT::SpinState::SpinState ( double  ts = 0.,
double  spin = 0.,
double  oam = 0. 
) [inline]

(default) constructor

HepPDT::SpinState::SpinState ( const SpinState orig  )  [inline]


Member Function Documentation

SpinState& HepPDT::SpinState::operator= ( const SpinState rhs  )  [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().


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