|
ThePEG
1.8.0
|
PID is a helper class implementing the type of PDG particle ids. More...
#include <PID.h>
Public Member Functions | |
| template<typename T > | |
| PID (T t) | |
| Generic construction is disallowed. | |
| template<typename T > | |
| operator T () const | |
| Casting to generic types is disallowed. | |
| PID | operator- () const |
| The negation operator. | |
| template<> | |
| PID (long t) | |
| Specialized constructor for 'long'. | |
| template<> | |
| PID (int t) | |
| Specialized constructor for 'int'. | |
| template<> | |
| PID (ParticleID::ParticleCodes t) | |
| Specialized constructor for Particle Code enum. | |
Private Attributes | |
| long | id |
| The particle id. | |
PID is a helper class implementing the type of PDG particle ids.
At the moment it just converts to a long, and other conversions are intercepted.
1.8.9.1