Herwig
7.2.1
|
Class used to store all the hadron information for easy access. More...
#include <HadronSelector.h>
Public Member Functions | |
HadronInfo (long idin=0, tPDPtr datain=tPDPtr(), double swtin=1., Energy massin=ZERO) | |
Constructor. More... | |
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 73 of file HadronSelector.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 84 of file HadronSelector.h.