|
Jpp 21.0.0
the software that should make you happy
|
Auxiliary class for electric charges of SM fields. More...
#include <JCharges.hh>
Public Types | |
| enum | JElectricCharge_t { MINUS_SIX = -6 , MINUS_FOUR = -4 , MINUS_THREE = -3 , MINUS_TWO = -2 , MINUS_ONE = -1 , ZERO = 0 , PLUS_ONE = +1 , PLUS_TWO = +2 , PLUS_THREE = +3 , PLUS_FOUR = +4 , PLUS_SIX = +6 } |
| Enumeration of SM field electric charges in units [e/3]. More... | |
Public Member Functions | |
| JElectricCharge (const JElectricCharge_t &charge) | |
| Constructor. | |
| template<typename T , std::enable_if_t< std::is_integral_v< T >, bool > = true> | |
| JElectricCharge (const T charge) | |
| Constructor. | |
| template<typename T , std::enable_if_t< std::is_floating_point_v< T >, bool > = true> | |
| JElectricCharge (const T charge) | |
| Constructor. | |
| operator int () const | |
| Conversion operator. | |
| operator double () const | |
| Conversion operator. | |
Public Attributes | |
| JElectricCharge_t | charge |
| Electric charge. | |
Auxiliary class for electric charges of SM fields.
Definition at line 27 of file JCharges.hh.
Enumeration of SM field electric charges in units [e/3].
| Enumerator | |
|---|---|
| MINUS_SIX | |
| MINUS_FOUR | |
| MINUS_THREE | |
| MINUS_TWO | |
| MINUS_ONE | |
| ZERO | |
| PLUS_ONE | |
| PLUS_TWO | |
| PLUS_THREE | |
| PLUS_FOUR | |
| PLUS_SIX | |
Definition at line 32 of file JCharges.hh.
|
inline |
Constructor.
| charge | electric charge [e/3] |
Definition at line 52 of file JCharges.hh.
|
inline |
Constructor.
| charge | electric charge [e/3] |
Definition at line 63 of file JCharges.hh.
|
inline |
Constructor.
| charge | electric charge [e] |
Definition at line 81 of file JCharges.hh.
|
inlineexplicit |
|
inline |
| JElectricCharge_t JPHYSICS::JElectricCharge::charge |
Electric charge.
Definition at line 118 of file JCharges.hh.