24#include "EvtGenBase/EvtPartProp.hh"
25#include "EvtGenBase/EvtId.hh"
26#include "EvtGenBase/EvtSpinType.hh"
27#include "EvtGenBase/EvtStringHash.hh"
41 void read(
const char* fname);
47 static double getRandMass(
EvtId i,
EvtId *parId,
int nDaug,
EvtId *dauId,
EvtId *othDaugId,
double maxMass,
double *dauMasses ){
return partlist()[i.
getId()].getRandMass(parId,nDaug,dauId,othDaugId,maxMass,dauMasses);}
48 static double getMassProb(
EvtId i,
double mass,
double massPar,
int nDaug,
double *massDau) {
return partlist()[i.
getId()].getMassProb(
mass,massPar,nDaug,massDau);}
62 {
return partlist()[i.
getId()].getSpinType();}
67 static int entries() {
return partlist().size();}
82 void setUpConstsPdt();
84 static int _firstAlias;
87 static std::vector<EvtPartProp>& partlist() {
88 static std::vector<EvtPartProp> s_partlist;
92 static std::map<std::string, int> _particleNameLookup;
const int SPIN_NAME_LENGTH
static double getWidth(EvtId i)
static int getStdHep(EvtId id)
static void reSetBlatt(EvtId i, double blatt)
static double getRandMass(EvtId i, EvtId *parId, int nDaug, EvtId *dauId, EvtId *othDaugId, double maxMass, double *dauMasses)
void read(const char *fname)
static EvtId evtIdFromStdHep(int stdhep)
static void addFactorPn(EvtId i, double factor)
static void fixLSForSP8(EvtId i)
static void changeLS(EvtId i, std::string &newLS)
static double getMeanMass(EvtId i)
static void reSetWidth(EvtId i, double width)
void readPDT(const std::string fname)
static void setPWForBirthL(EvtId i, int spin, EvtId par, EvtId othD)
static void alias(EvtId num, const std::string &newname)
static EvtId chargeConj(EvtId id)
static void reSetMass(EvtId i, double mass)
static void includeDecayFactor(EvtId i, bool yesno)
static void reSetMassMax(EvtId i, double mass)
static void aliasChgConj(EvtId a, EvtId abar)
static double getMaxRange(EvtId i)
static std::string name(EvtId i)
static double getMassProb(EvtId i, double mass, double massPar, int nDaug, double *massDau)
static double getMinMass(EvtId i)
static EvtSpinType::spintype getSpinType(EvtId i)
static void setPWForDecay(EvtId i, int spin, EvtId d1, EvtId d2)
static int getLundKC(EvtId id)
static void includeBirthFactor(EvtId i, bool yesno)
static EvtId getId(const std::string &name)
static double getMaxMass(EvtId i)
static double getMass(EvtId i)
static double getctau(EvtId i)
static void reSetMassMin(EvtId i, double mass)