Herwig 7.3.0
|
Class used to store all the hadron information for easy access. More...
#include <HadronInfo.h>
Public Member Functions | |
HadronInfo (long idin=0, tPDPtr datain=tPDPtr(), double swtin=1., Energy massin=ZERO) | |
Constructor. | |
bool | operator< (const HadronInfo &x) const |
Comparision operator on mass. | |
void | rescale (double x) const |
Rescale the weight for a given hadron. | |
Public Attributes | |
long | id |
The hadrons id. | |
tPDPtr | ptrData |
pointer to ParticleData, to get the spin, etc... | |
double | swtef |
singlet/decuplet/orbital factor | |
double | wt |
mixing factor | |
double | overallWeight |
(2*J+1)*wt*swtef | |
Energy | mass |
The hadrons mass. | |
Friends | |
PersistentOStream & | operator<< (PersistentOStream &os, const HadronInfo &hi) |
Friend method used to print the value of a table element. | |
ostream & | operator<< (ostream &os, const HadronInfo &hi) |
debug output | |
PersistentIStream & | operator>> (PersistentIStream &is, HadronInfo &hi) |
Friend method used to read in the value of a table element. | |
Class used to store all the hadron information for easy access.
Note that:
Definition at line 25 of file HadronInfo.h.
|
inline |
Constructor.
idin | The PDG code of the hadron |
datain | The pointer to the ParticleData object |
swtin | The singlet/decuplet/orbital factor |
massin | The mass of the hadron |
Definition at line 36 of file HadronInfo.h.
|
inline |
|
inline |
Rescale the weight for a given hadron.
Definition at line 83 of file HadronInfo.h.
References overallWeight.
|
friend |
debug output
Definition at line 100 of file HadronInfo.h.
|
friend |
Friend method used to print the value of a table element.
Definition at line 90 of file HadronInfo.h.
|
friend |
Friend method used to read in the value of a table element.
Definition at line 115 of file HadronInfo.h.
long Herwig::HadronInfo::id |
Energy Herwig::HadronInfo::mass |
double Herwig::HadronInfo::overallWeight |
tPDPtr Herwig::HadronInfo::ptrData |
pointer to ParticleData, to get the spin, etc...
Definition at line 58 of file HadronInfo.h.
double Herwig::HadronInfo::swtef |
singlet/decuplet/orbital factor
Definition at line 63 of file HadronInfo.h.
double Herwig::HadronInfo::wt |
mixing factor
Definition at line 68 of file HadronInfo.h.