01: package JSci.physics.particles;
02:
03: import JSci.physics.quantum.QuantumParticle;
04:
05: /**
06: * A class representing W+.
07: * @version 1.5
08: * @author Mark Hale
09: */
10: public final class WPlus extends GaugeBoson {
11: /**
12: * Constructs a W+.
13: */
14: public WPlus() {
15: }
16:
17: /**
18: * Returns the rest mass (MeV).
19: * @return 80419.0
20: */
21: public double restMass() {
22: return 80419.0;
23: }
24:
25: /**
26: * Returns the number of 1/2 units of spin.
27: * @return 2
28: */
29: public int spin() {
30: return 2;
31: }
32:
33: /**
34: * Returns the electric charge.
35: * @return 1
36: */
37: public int charge() {
38: return 1;
39: }
40:
41: /**
42: * Returns the antiparticle of this particle.
43: */
44: public QuantumParticle anti() {
45: return new WPlus();
46: }
47:
48: /**
49: * Returns true if qp is the antiparticle.
50: */
51: public boolean isAnti(QuantumParticle qp) {
52: return (qp != null) && (qp instanceof WPlus);
53: }
54:
55: /**
56: * Returns a string representing this class.
57: */
58: public String toString() {
59: return new String("W+");
60: }
61: }
|