evtgen is hosted by Hepforge, IPPP Durham
EvtGen  2.0.0
Monte Carlo generator of particle decays, in particular the weak decays of heavy flavour particles such as B mesons.

#include <EvtGenBase/EvtPDL.hh>

Public Member Functions

 EvtPDL ()
 
void read (const std::string &fname)
 
void readPDT (std::istream &data)
 

Static Public Member Functions

static double getMeanMass (EvtId i)
 
static double getMass (EvtId i)
 
static double getRandMass (EvtId i, EvtId *parId, int nDaug, EvtId *dauId, EvtId *othDaugId, double maxMass, double *dauMasses)
 
static double getMassProb (EvtId i, double mass, double massPar, int nDaug, double *massDau)
 
static double getMaxMass (EvtId i)
 
static double getMinMass (EvtId i)
 
static double getMaxRange (EvtId i)
 
static double getWidth (EvtId i)
 
static double getctau (EvtId i)
 
static int getStdHep (EvtId id)
 
static int getLundKC (EvtId id)
 
static EvtId evtIdFromLundKC (int pythiaId)
 
static EvtId evtIdFromStdHep (int stdhep)
 
static EvtId chargeConj (EvtId id)
 
static int chg3 (EvtId i)
 
static EvtSpinType::spintype getSpinType (EvtId i)
 
static EvtId getId (const std::string &name)
 
static std::string name (EvtId i)
 
static void alias (EvtId num, const std::string &newname)
 
static void aliasChgConj (EvtId a, EvtId abar)
 
static size_t entries ()
 
static EvtId getEntry (int i)
 
static void reSetMass (EvtId i, double mass)
 
static void reSetWidth (EvtId i, double width)
 
static void reSetMassMin (EvtId i, double mass)
 
static void reSetMassMax (EvtId i, double mass)
 
static void reSetBlatt (EvtId i, double blatt)
 
static void reSetBlattBirth (EvtId i, double blatt)
 
static void includeBirthFactor (EvtId i, bool yesno)
 
static void includeDecayFactor (EvtId i, bool yesno)
 
static void changeLS (EvtId i, std::string &newLS)
 
static void setPWForDecay (EvtId i, int spin, EvtId d1, EvtId d2)
 
static void setPWForBirthL (EvtId i, int spin, EvtId par, EvtId othD)
 

Private Member Functions

void setUpConstsPdt ()
 

Static Private Member Functions

static std::vector< EvtPartProp > & partlist ()
 

Static Private Attributes

static unsigned int _firstAlias
 
static int _nentries
 
static std::map< std::string, int > _particleNameLookup
 

Detailed Description

Definition at line 36 of file EvtPDL.hh.

Constructor & Destructor Documentation

◆ EvtPDL()

EvtPDL::EvtPDL ( )

Definition at line 45 of file EvtPDL.cpp.

Member Function Documentation

◆ alias()

void EvtPDL::alias ( EvtId  num,
const std::string &  newname 
)
static

Definition at line 256 of file EvtPDL.cpp.

◆ aliasChgConj()

void EvtPDL::aliasChgConj ( EvtId  a,
EvtId  abar 
)
static

Definition at line 191 of file EvtPDL.cpp.

◆ changeLS()

void EvtPDL::changeLS ( EvtId  i,
std::string &  newLS 
)
static

Definition at line 437 of file EvtPDL.cpp.

◆ chargeConj()

EvtId EvtPDL::chargeConj ( EvtId  id)
static

Definition at line 207 of file EvtPDL.cpp.

◆ chg3()

int EvtPDL::chg3 ( EvtId  i)
static

Definition at line 372 of file EvtPDL.cpp.

◆ entries()

size_t EvtPDL::entries ( )
static

Definition at line 387 of file EvtPDL.cpp.

◆ evtIdFromLundKC()

EvtId EvtPDL::evtIdFromLundKC ( int  pythiaId)
static

Definition at line 302 of file EvtPDL.cpp.

◆ evtIdFromStdHep()

EvtId EvtPDL::evtIdFromStdHep ( int  stdhep)
static

Definition at line 246 of file EvtPDL.cpp.

◆ getctau()

double EvtPDL::getctau ( EvtId  i)
static

Definition at line 357 of file EvtPDL.cpp.

◆ getEntry()

EvtId EvtPDL::getEntry ( int  i)
static

Definition at line 392 of file EvtPDL.cpp.

◆ getId()

EvtId EvtPDL::getId ( const std::string &  name)
static

Definition at line 287 of file EvtPDL.cpp.

◆ getLundKC()

int EvtPDL::getLundKC ( EvtId  id)
static

Definition at line 367 of file EvtPDL.cpp.

◆ getMass()

double EvtPDL::getMass ( EvtId  i)
static

Definition at line 319 of file EvtPDL.cpp.

◆ getMassProb()

double EvtPDL::getMassProb ( EvtId  i,
double  mass,
double  massPar,
int  nDaug,
double *  massDau 
)
static

Definition at line 331 of file EvtPDL.cpp.

◆ getMaxMass()

double EvtPDL::getMaxMass ( EvtId  i)
static

Definition at line 337 of file EvtPDL.cpp.

◆ getMaxRange()

double EvtPDL::getMaxRange ( EvtId  i)
static

Definition at line 347 of file EvtPDL.cpp.

◆ getMeanMass()

double EvtPDL::getMeanMass ( EvtId  i)
static

Definition at line 314 of file EvtPDL.cpp.

◆ getMinMass()

double EvtPDL::getMinMass ( EvtId  i)
static

Definition at line 342 of file EvtPDL.cpp.

◆ getRandMass()

double EvtPDL::getRandMass ( EvtId  i,
EvtId parId,
int  nDaug,
EvtId dauId,
EvtId othDaugId,
double  maxMass,
double *  dauMasses 
)
static

Definition at line 324 of file EvtPDL.cpp.

◆ getSpinType()

EvtSpinType::spintype EvtPDL::getSpinType ( EvtId  i)
static

Definition at line 377 of file EvtPDL.cpp.

◆ getStdHep()

int EvtPDL::getStdHep ( EvtId  id)
static

Definition at line 362 of file EvtPDL.cpp.

◆ getWidth()

double EvtPDL::getWidth ( EvtId  i)
static

Definition at line 352 of file EvtPDL.cpp.

◆ includeBirthFactor()

void EvtPDL::includeBirthFactor ( EvtId  i,
bool  yesno 
)
static

Definition at line 427 of file EvtPDL.cpp.

◆ includeDecayFactor()

void EvtPDL::includeDecayFactor ( EvtId  i,
bool  yesno 
)
static

Definition at line 432 of file EvtPDL.cpp.

◆ name()

std::string EvtPDL::name ( EvtId  i)
static

Definition at line 382 of file EvtPDL.cpp.

◆ partlist()

static std::vector<EvtPartProp>& EvtPDL::partlist ( )
inlinestaticprivate

Definition at line 90 of file EvtPDL.hh.

◆ read()

void EvtPDL::read ( const std::string &  fname)

Definition at line 54 of file EvtPDL.cpp.

◆ readPDT()

void EvtPDL::readPDT ( std::istream &  data)

Definition at line 66 of file EvtPDL.cpp.

◆ reSetBlatt()

void EvtPDL::reSetBlatt ( EvtId  i,
double  blatt 
)
static

Definition at line 417 of file EvtPDL.cpp.

◆ reSetBlattBirth()

void EvtPDL::reSetBlattBirth ( EvtId  i,
double  blatt 
)
static

Definition at line 422 of file EvtPDL.cpp.

◆ reSetMass()

void EvtPDL::reSetMass ( EvtId  i,
double  mass 
)
static

Definition at line 397 of file EvtPDL.cpp.

◆ reSetMassMax()

void EvtPDL::reSetMassMax ( EvtId  i,
double  mass 
)
static

Definition at line 412 of file EvtPDL.cpp.

◆ reSetMassMin()

void EvtPDL::reSetMassMin ( EvtId  i,
double  mass 
)
static

Definition at line 407 of file EvtPDL.cpp.

◆ reSetWidth()

void EvtPDL::reSetWidth ( EvtId  i,
double  width 
)
static

Definition at line 402 of file EvtPDL.cpp.

◆ setPWForBirthL()

void EvtPDL::setPWForBirthL ( EvtId  i,
int  spin,
EvtId  par,
EvtId  othD 
)
static

Definition at line 447 of file EvtPDL.cpp.

◆ setPWForDecay()

void EvtPDL::setPWForDecay ( EvtId  i,
int  spin,
EvtId  d1,
EvtId  d2 
)
static

Definition at line 442 of file EvtPDL.cpp.

◆ setUpConstsPdt()

void EvtPDL::setUpConstsPdt ( )
private

Definition at line 297 of file EvtPDL.cpp.

Member Data Documentation

◆ _firstAlias

unsigned int EvtPDL::_firstAlias
staticprivate

Definition at line 87 of file EvtPDL.hh.

◆ _nentries

int EvtPDL::_nentries
staticprivate

Definition at line 88 of file EvtPDL.hh.

◆ _particleNameLookup

std::map< std::string, int > EvtPDL::_particleNameLookup
staticprivate

Definition at line 96 of file EvtPDL.hh.


The documentation for this class was generated from the following files: