The Gaudi Framework
v30r3 (a5ef0a68)
|
A trivial class to hold information about a single particle properties. More...
#include <GaudiKernel/ParticleProperty.h>
Public Member Functions | |
ParticleProperty ()=default | |
Constructors. More... | |
ParticleProperty (std::string particle, int geantId, int jetsetId, double charge, double mass, double tlife, std::string evtgenName, int pythiaId, double maxWidth) | |
~ParticleProperty ()=default | |
Destructor. More... | |
const std::string & | particle () const |
Get the particle name. More... | |
void | setParticle (const std::string &particle) |
Set the particle name. More... | |
int | geantID () const |
Get the GEANT3 ID. More... | |
void | setGeantID (int id) |
Set the GEANT3 ID. More... | |
int | pdgID () const |
Get the PDG (= JETSET) ID. More... | |
void | setPdgID (int id) |
Set the PDG (= JETSET) ID. More... | |
int | jetsetID () const |
Get the JETSET(StdHep) ID. More... | |
void | setJetsetID (int id) |
Set the JETSET(StdHep) ID. More... | |
double | charge () const |
Get the particle charge. More... | |
void | setCharge (double q) |
Set the particle charge. More... | |
double | mass () const |
Get the particle mass. More... | |
void | setMass (double m) |
Set the particle charge. More... | |
double | lifetime () const |
Get the particle lifetime. More... | |
void | setLifetime (double t) |
Set the particle lifetime. More... | |
const std::string & | evtGenName () const |
Get the EvtGen name. More... | |
void | setEvtGenName (const std::string &name) |
Set the EvtGen name. More... | |
int | pythiaID () const |
Get the Pythia ID. More... | |
void | setPythiaID (int pId) |
Set the Pythia ID. More... | |
double | maxWidth () const |
Get the max width deviation. More... | |
void | setMaxWidth (double mW) |
Set the max width deviation. More... | |
const ParticleProperty * | antiParticle () const |
get the pointer to the antiparticle More... | |
void | setAntiParticle (const ParticleProperty *p) |
set the pointer to the antiparticle More... | |
Private Attributes | |
std::string | m_name |
The particle name. More... | |
int | m_idgeant |
The GEANT ID. More... | |
int | m_idjetset |
The Jetset ID. More... | |
double | m_charge |
The charge. More... | |
double | m_mass |
The mass. More... | |
double | m_tlife |
The lifetime. More... | |
std::string | m_evtgenName |
The EvtGen Name. More... | |
int | m_pythiaId |
The Pythia ID. More... | |
double | m_maxWidth |
The maximum width deviation. More... | |
const ParticleProperty * | m_anti = nullptr |
the antiparticle More... | |
Friends | |
std::ostream & | operator<< (std::ostream &stream, const ParticleProperty &pp) |
A trivial class to hold information about a single particle properties.
All particle properties are accessible through accessor functions
Definition at line 18 of file ParticleProperty.h.
|
default |
Constructors.
|
inline |
Definition at line 24 of file ParticleProperty.h.
|
default |
Destructor.
|
inline |
get the pointer to the antiparticle
Definition at line 102 of file ParticleProperty.h.
|
inline |
|
inline |
Get the EvtGen name.
Definition at line 84 of file ParticleProperty.h.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Get the max width deviation.
Definition at line 96 of file ParticleProperty.h.
|
inline |
|
inline |
|
inline |
|
inline |
set the pointer to the antiparticle
Definition at line 104 of file ParticleProperty.h.
|
inline |
|
inline |
Set the EvtGen name.
Definition at line 87 of file ParticleProperty.h.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Set the max width deviation.
Definition at line 99 of file ParticleProperty.h.
|
inline |
Set the particle name.
Definition at line 45 of file ParticleProperty.h.
|
inline |
|
inline |
|
friend |
Definition at line 106 of file ParticleProperty.h.
|
private |
the antiparticle
Definition at line 144 of file ParticleProperty.h.
|
private |
The charge.
Definition at line 126 of file ParticleProperty.h.
|
private |
The EvtGen Name.
Definition at line 135 of file ParticleProperty.h.
|
private |
The GEANT ID.
Definition at line 120 of file ParticleProperty.h.
|
private |
The Jetset ID.
Definition at line 123 of file ParticleProperty.h.
|
private |
The mass.
Definition at line 129 of file ParticleProperty.h.
|
private |
The maximum width deviation.
Definition at line 141 of file ParticleProperty.h.
|
private |
The particle name.
Definition at line 117 of file ParticleProperty.h.
|
private |
The Pythia ID.
Definition at line 138 of file ParticleProperty.h.
|
private |
The lifetime.
Definition at line 132 of file ParticleProperty.h.