int pdgID() const
Get the PDG (= JETSET) ID.
void setPythiaID(int pId)
Set the Pythia ID.
void setEvtGenName(const std::string &name)
Set the EvtGen name.
ParticleProperty()=default
Constructors.
double maxWidth() const
Get the max width deviation.
A trivial class to hold information about a single particle properties.
void setParticle(const std::string &particle)
Set the particle name.
void setLifetime(double t)
Set the particle lifetime.
ParticleProperty(std::string particle, int geantId, int jetsetId, double charge, double mass, double tlife, std::string evtgenName, int pythiaId, double maxWidth)
~ParticleProperty()=default
Destructor.
int jetsetID() const
Get the JETSET(StdHep) ID.
double lifetime() const
Get the particle lifetime.
friend std::ostream & operator<<(std::ostream &stream, const ParticleProperty &pp)
void setPdgID(int id)
Set the PDG (= JETSET) ID.
const ParticleProperty * antiParticle() const
get the pointer to the antiparticle
double m_maxWidth
The maximum width deviation.
void setJetsetID(int id)
Set the JETSET(StdHep) ID.
void setAntiParticle(const ParticleProperty *p)
set the pointer to the antiparticle
const std::string & particle() const
Get the particle name.
void setMaxWidth(double mW)
Set the max width deviation.
const ParticleProperty * m_anti
the antiparticle
const std::string & evtGenName() const
Get the EvtGen name.