EvtGen 2.2.0
Monte Carlo generator of particle decays, in particular the weak decays of heavy flavour particles such as B mesons.
Loading...
Searching...
No Matches
EvtPDL Class Referencefinal

#include <EvtGenBase/EvtPDL.hh>

Static Public Member Functions

static void read (const std::string &fname)
static void readPDT (std::istream &data)
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

 EvtPDL ()=default
 EvtPDL (const EvtPDL &)=delete
 EvtPDL (EvtPDL &&)=delete
EvtPDLoperator= (const EvtPDL &)=delete
EvtPDLoperator= (EvtPDL &&)=delete
void reset ()

Static Private Member Functions

static EvtPDLgetInstance ()

Private Attributes

std::size_t m_firstAlias { std::numeric_limits<std::size_t>::max() }
std::vector< EvtPartPropm_partlist
std::map< std::string, int > m_particleNameLookup

Detailed Description

Definition at line 35 of file EvtPDL.hh.

Constructor & Destructor Documentation

◆ EvtPDL() [1/3]

EvtPDL::EvtPDL ( )
privatedefault

◆ EvtPDL() [2/3]

EvtPDL::EvtPDL ( const EvtPDL & )
privatedelete

◆ EvtPDL() [3/3]

EvtPDL::EvtPDL ( EvtPDL && )
privatedelete

Member Function Documentation

◆ alias()

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

Definition at line 251 of file EvtPDL.cpp.

◆ aliasChgConj()

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

Definition at line 185 of file EvtPDL.cpp.

◆ changeLS()

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

Definition at line 431 of file EvtPDL.cpp.

◆ chargeConj()

EvtId EvtPDL::chargeConj ( EvtId id)
static

Definition at line 201 of file EvtPDL.cpp.

◆ chg3()

int EvtPDL::chg3 ( EvtId i)
static

Definition at line 366 of file EvtPDL.cpp.

◆ entries()

size_t EvtPDL::entries ( )
static

Definition at line 381 of file EvtPDL.cpp.

◆ evtIdFromLundKC()

EvtId EvtPDL::evtIdFromLundKC ( int pythiaId)
static

Definition at line 294 of file EvtPDL.cpp.

◆ evtIdFromStdHep()

EvtId EvtPDL::evtIdFromStdHep ( int stdhep)
static

Definition at line 241 of file EvtPDL.cpp.

◆ getctau()

double EvtPDL::getctau ( EvtId i)
static

Definition at line 351 of file EvtPDL.cpp.

◆ getEntry()

EvtId EvtPDL::getEntry ( int i)
static

Definition at line 386 of file EvtPDL.cpp.

◆ getId()

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

Definition at line 283 of file EvtPDL.cpp.

◆ getInstance()

EvtPDL & EvtPDL::getInstance ( )
staticprivate

Definition at line 34 of file EvtPDL.cpp.

◆ getLundKC()

int EvtPDL::getLundKC ( EvtId id)
static

Definition at line 361 of file EvtPDL.cpp.

◆ getMass()

double EvtPDL::getMass ( EvtId i)
static

Definition at line 311 of file EvtPDL.cpp.

◆ getMassProb()

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

Definition at line 324 of file EvtPDL.cpp.

◆ getMaxMass()

double EvtPDL::getMaxMass ( EvtId i)
static

Definition at line 331 of file EvtPDL.cpp.

◆ getMaxRange()

double EvtPDL::getMaxRange ( EvtId i)
static

Definition at line 341 of file EvtPDL.cpp.

◆ getMeanMass()

double EvtPDL::getMeanMass ( EvtId i)
static

Definition at line 306 of file EvtPDL.cpp.

◆ getMinMass()

double EvtPDL::getMinMass ( EvtId i)
static

Definition at line 336 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 316 of file EvtPDL.cpp.

◆ getSpinType()

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

Definition at line 371 of file EvtPDL.cpp.

◆ getStdHep()

int EvtPDL::getStdHep ( EvtId id)
static

Definition at line 356 of file EvtPDL.cpp.

◆ getWidth()

double EvtPDL::getWidth ( EvtId i)
static

Definition at line 346 of file EvtPDL.cpp.

◆ includeBirthFactor()

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

Definition at line 421 of file EvtPDL.cpp.

◆ includeDecayFactor()

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

Definition at line 426 of file EvtPDL.cpp.

◆ name()

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

Definition at line 376 of file EvtPDL.cpp.

◆ operator=() [1/2]

EvtPDL & EvtPDL::operator= ( const EvtPDL & )
privatedelete

◆ operator=() [2/2]

EvtPDL & EvtPDL::operator= ( EvtPDL && )
privatedelete

◆ read()

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

Definition at line 47 of file EvtPDL.cpp.

◆ readPDT()

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

Definition at line 59 of file EvtPDL.cpp.

◆ reset()

void EvtPDL::reset ( )
private

Definition at line 40 of file EvtPDL.cpp.

◆ reSetBlatt()

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

Definition at line 411 of file EvtPDL.cpp.

◆ reSetBlattBirth()

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

Definition at line 416 of file EvtPDL.cpp.

◆ reSetMass()

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

Definition at line 391 of file EvtPDL.cpp.

◆ reSetMassMax()

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

Definition at line 406 of file EvtPDL.cpp.

◆ reSetMassMin()

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

Definition at line 401 of file EvtPDL.cpp.

◆ reSetWidth()

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

Definition at line 396 of file EvtPDL.cpp.

◆ setPWForBirthL()

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

Definition at line 441 of file EvtPDL.cpp.

◆ setPWForDecay()

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

Definition at line 436 of file EvtPDL.cpp.

Member Data Documentation

◆ m_firstAlias

std::size_t EvtPDL::m_firstAlias { std::numeric_limits<std::size_t>::max() }
private

Definition at line 92 of file EvtPDL.hh.

◆ m_particleNameLookup

std::map<std::string, int> EvtPDL::m_particleNameLookup
private

Definition at line 96 of file EvtPDL.hh.

◆ m_partlist

std::vector<EvtPartProp> EvtPDL::m_partlist
private

Definition at line 94 of file EvtPDL.hh.


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