KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > JSci > physics > quantum > QuantumParticle


1 package JSci.physics.quantum;
2
3 import JSci.physics.RelativisticParticle;
4
5 /**
6 * A class representing quantum particles.
7 * @version 1.5
8 * @author Mark Hale
9 */

10 public abstract class QuantumParticle extends RelativisticParticle {
11         /**
12         * The number of 1/2 units of the z-component of spin.
13         */

14         public int spinZ;
15         /**
16         * Constructs a quantum particle.
17         */

18         public QuantumParticle() {}
19         /**
20         * Returns the number of 1/2 units of spin.
21         */

22         public abstract int spin();
23         /**
24         * Returns the number of 1/2 units of isospin.
25         */

26         public abstract int isospin();
27         /**
28         * Returns the number of 1/2 units of the z-component of isospin.
29         */

30         public abstract int isospinZ();
31         /**
32         * Returns the electric charge.
33         */

34         public abstract int charge();
35         /**
36         * Returns the electron lepton number.
37         */

38         public abstract int eLeptonQN();
39         /**
40         * Returns the muon lepton number.
41         */

42         public abstract int muLeptonQN();
43         /**
44         * Returns the tau lepton number.
45         */

46         public abstract int tauLeptonQN();
47         /**
48         * Returns the baryon number.
49         */

50         public abstract int baryonQN();
51         /**
52         * Returns the strangeness number.
53         */

54         public abstract int strangeQN();
55         /**
56         * Returns the antiparticle of this particle.
57         */

58         public abstract QuantumParticle anti();
59         /**
60         * Returns true if qp is the antiparticle.
61         */

62         public abstract boolean isAnti(QuantumParticle qp);
63 }
64
65
Popular Tags