![]() |
Rivet 3.1.9
|
Functions | |
bool | Rivet::oppSign (const Particle &a, const Particle &b) |
Return true if Particles a and b have the opposite charge sign. | |
bool | Rivet::sameSign (const Particle &a, const Particle &b) |
bool | Rivet::oppCharge (const Particle &a, const Particle &b) |
bool | Rivet::sameCharge (const Particle &a, const Particle &b) |
bool | Rivet::diffCharge (const Particle &a, const Particle &b) |
Return true if Particles a and b have a different (not necessarily opposite) charge. | |
Return true if Particles a and b have the exactly opposite charge
References Rivet::Particle::charge3().
Return true if Particles a and b have the opposite charge sign.
References Rivet::Particle::charge3(), and Rivet::sign().
Return true if Particles a and b have the same charge (including neutral)
References Rivet::Particle::charge3().
Return true if Particles a and b have the same charge sign
References Rivet::Particle::charge3(), and Rivet::sign().