Rivet API documentation
![]() |
Rivet 4.1.3
|
Charge functions
Functions | |
| int | Rivet::PID::charge3 (int pid) |
| Three times the EM charge (as integer). | |
| int | Rivet::PID::threeCharge (int pid) |
| int | Rivet::PID::abscharge3 (int pid) |
| Return the absolute value of 3 times the EM charge. | |
| double | Rivet::PID::charge (int pid) |
| Return the EM charge (as floating point). | |
| double | Rivet::PID::abscharge (int pid) |
| Return the EM charge (as floating point). | |
Detailed Description
Function Documentation
◆ charge3()
|
inline |
Three times the EM charge (as integer).
- Todo
- Is this sufficiently general? Why only gluino in g+q+qbar? Better to recurse to the related SM hadron code?
References isBaryon(), isDiQuark(), isDyon(), isHiddenValley(), isMeson(), isQBall(), isRHadron(), and Rivet::pid().
Referenced by abscharge3(), charge(), Rivet::Particle::charge3(), isCharged(), isNeutral(), and threeCharge().
◆ threeCharge()
|
inline |
Generated on for Rivet by
