HepPDT Reference Documentation

HepPDT

HepPDT::TempParticleData Struct Reference

temporary holder for Particle Data information More...

#include <TempParticleData.hh>

List of all members.

Public Member Functions

 TempParticleData ()
 used in a map<>
 TempParticleData (int id)
 construct a basic TempParticleData from just the particle ID
 TempParticleData (ParticleID pid)
 construct a basic TempParticleData from just the ParticleID
 TempParticleData (int id, std::string const &name, std::string const &source, int oid, double charge, SpinState const &Spin, Measurement const &mass, Measurement const &wid)
 given all the information, construct a TempParticleData
 TempParticleData (TempParticleData const &orig)
TempParticleDataoperator= (TempParticleData const &rhs)
void swap (TempParticleData &other)
TempParticleData antiparticle (std::string const &name)
 given a particle definition, create an antiparticle
bool processPID ()
 -- mutator - get spin state and constituent list from PID

Public Attributes

ParticleID tempID
std::string tempParticleName
std::string tempSource
int tempOriginalID
double tempCharge
double tempColorCharge
SpinState tempSpin
Measurement tempMass
Measurement tempWidth
double tempLowCutoff
double tempHighCutoff
std::vector< TempConstituenttempQuarks
TDDlist tempDecayList


Detailed Description

temporary holder for Particle Data information
Examples:

examMyPDT.cc.

Definition at line 61 of file TempParticleData.hh.


Constructor & Destructor Documentation

HepPDT::TempParticleData::TempParticleData (  ) 

used in a map<>

Definition at line 15 of file TempParticleData.cc.

HepPDT::TempParticleData::TempParticleData ( int  id  )  [explicit]

construct a basic TempParticleData from just the particle ID

Definition at line 32 of file TempParticleData.cc.

References processPID().

HepPDT::TempParticleData::TempParticleData ( ParticleID  pid  )  [explicit]

construct a basic TempParticleData from just the ParticleID

Definition at line 50 of file TempParticleData.cc.

References processPID().

HepPDT::TempParticleData::TempParticleData ( int  id,
std::string const &  name,
std::string const &  source,
int  oid,
double  charge,
SpinState const &  Spin,
Measurement const &  mass,
Measurement const &  wid 
)

given all the information, construct a TempParticleData

Definition at line 68 of file TempParticleData.cc.

HepPDT::TempParticleData::TempParticleData ( TempParticleData const &  orig  ) 

Definition at line 106 of file TempParticleData.cc.


Member Function Documentation

TempParticleData HepPDT::TempParticleData::antiparticle ( std::string const &  name  ) 

given a particle definition, create an antiparticle

Definition at line 87 of file TempParticleData.cc.

References HepPDT::ParticleID::pid(), processPID(), tempCharge, tempColorCharge, tempDecayList, tempHighCutoff, tempID, tempLowCutoff, tempMass, tempOriginalID, tempParticleName, tempSource, and tempWidth.

TempParticleData & HepPDT::TempParticleData::operator= ( TempParticleData const &  rhs  ) 

Definition at line 122 of file TempParticleData.cc.

References swap().

bool HepPDT::TempParticleData::processPID (  ) 

-- mutator - get spin state and constituent list from PID

Definition at line 146 of file TempParticleData.cc.

References HepPDT::ParticleID::jSpin(), HepPDT::ParticleID::lSpin(), HepPDT::Quarks::nq1, HepPDT::Quarks::nq2, HepPDT::Quarks::nq3, HepPDT::ParticleID::pid(), HepPDT::ParticleID::quarks(), HepPDT::SpinState::setOrbAngMom(), HepPDT::SpinState::setSpin(), HepPDT::SpinState::setTotalSpin(), HepPDT::spinitod(), HepPDT::ParticleID::sSpin(), tempCharge, HepPDT::TempConstituent::tempConstituentPID, tempID, HepPDT::TempConstituent::tempMultiplicity, tempQuarks, tempSpin, and HepPDT::ParticleID::threeCharge().

Referenced by antiparticle(), and TempParticleData().

void HepPDT::TempParticleData::swap ( TempParticleData other  ) 

Definition at line 129 of file TempParticleData.cc.

References HepPDT::swap(), tempCharge, tempColorCharge, tempDecayList, tempHighCutoff, tempID, tempLowCutoff, tempMass, tempOriginalID, tempParticleName, tempQuarks, tempSource, tempSpin, and tempWidth.

Referenced by operator=(), and HepPDT::swap().


Member Data Documentation

double HepPDT::TempParticleData::tempCharge

Examples:
examMyPDT.cc.

Definition at line 93 of file TempParticleData.hh.

Referenced by addData(), antiparticle(), HepPDT::parseEvtGenLine(), HepPDT::detail::parseIsajetLine(), HepPDT::detail::parseParticleLine(), HepPDT::detail::parsePythiaLine(), HepPDT::parseQQParticle(), processPID(), and swap().

double HepPDT::TempParticleData::tempColorCharge

Definition at line 94 of file TempParticleData.hh.

Referenced by antiparticle(), HepPDT::detail::parsePythiaLine(), and swap().

TDDlist HepPDT::TempParticleData::tempDecayList

Definition at line 101 of file TempParticleData.hh.

Referenced by antiparticle(), and swap().

double HepPDT::TempParticleData::tempHighCutoff

Definition at line 99 of file TempParticleData.hh.

Referenced by antiparticle(), HepPDT::parseEvtGenLine(), HepPDT::detail::parsePythiaLine(), HepPDT::parseQQParticle(), and swap().

ParticleID HepPDT::TempParticleData::tempID

Definition at line 89 of file TempParticleData.hh.

Referenced by antiparticle(), HepPDT::parseEvtGenDecayLine(), HepPDT::parseEvtGenLine(), HepPDT::detail::parseIsajetLine(), HepPDT::detail::parseParticleLine(), HepPDT::detail::parsePythiaDecayLine(), HepPDT::detail::parsePythiaLine(), HepPDT::parseQQParticle(), processPID(), and swap().

double HepPDT::TempParticleData::tempLowCutoff

Definition at line 98 of file TempParticleData.hh.

Referenced by antiparticle(), HepPDT::parseQQParticle(), and swap().

Measurement HepPDT::TempParticleData::tempMass

Examples:
examMyPDT.cc.

Definition at line 96 of file TempParticleData.hh.

Referenced by addData(), HepPDT::addPythiaParticles(), antiparticle(), HepPDT::detail::CheckPDGEntry(), HepPDT::parseEvtGenLine(), HepPDT::detail::parseIsajetLine(), HepPDT::detail::parseParticleLine(), HepPDT::detail::parsePythiaLine(), HepPDT::parseQQParticle(), HepPDT::TestNuclearFragment::processUnknownID(), and swap().

int HepPDT::TempParticleData::tempOriginalID

Definition at line 92 of file TempParticleData.hh.

Referenced by HepPDT::addPythiaParticles(), HepPDT::addQQParticles(), antiparticle(), HepPDT::parseEvtGenLine(), HepPDT::detail::parseParticleLine(), HepPDT::detail::parsePythiaLine(), HepPDT::parseQQParticle(), and swap().

std::string HepPDT::TempParticleData::tempParticleName

Examples:
examMyPDT.cc.

Definition at line 90 of file TempParticleData.hh.

Referenced by addData(), HepPDT::addQQParticles(), antiparticle(), HepPDT::parseEvtGenLine(), HepPDT::detail::parseIsajetLine(), HepPDT::detail::parseParticleLine(), HepPDT::detail::parsePythiaLine(), HepPDT::parseQQParticle(), HepPDT::TestNuclearFragment::processUnknownID(), and swap().

std::vector<TempConstituent> HepPDT::TempParticleData::tempQuarks

Definition at line 100 of file TempParticleData.hh.

Referenced by processPID(), and swap().

std::string HepPDT::TempParticleData::tempSource

Definition at line 91 of file TempParticleData.hh.

Referenced by HepPDT::addPDGParticles(), HepPDT::addPythiaParticles(), HepPDT::addQQParticles(), antiparticle(), HepPDT::parseEvtGenLine(), HepPDT::detail::parseParticleLine(), HepPDT::detail::parsePythiaLine(), and swap().

SpinState HepPDT::TempParticleData::tempSpin

Examples:
examMyPDT.cc.

Definition at line 95 of file TempParticleData.hh.

Referenced by addData(), HepPDT::parseEvtGenLine(), HepPDT::detail::parseIsajetLine(), HepPDT::parseQQParticle(), processPID(), and swap().

Measurement HepPDT::TempParticleData::tempWidth

Examples:
examMyPDT.cc.

Definition at line 97 of file TempParticleData.hh.

Referenced by addData(), antiparticle(), HepPDT::detail::CheckPDGEntry(), HepPDT::parseEvtGenLine(), HepPDT::detail::parseParticleLine(), HepPDT::detail::parsePythiaLine(), HepPDT::parseQQParticle(), and swap().


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