JSci.physics.particles
Class Quark

java.lang.Object
  extended byJSci.physics.Particle
      extended byJSci.physics.RelativisticParticle
          extended byJSci.physics.quantum.QuantumParticle
              extended byJSci.physics.particles.Quark
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
Bottom, Charm, Down, Strange, Top, Up

public abstract class Quark
extends QuantumParticle

A class representing quarks.

See Also:
Serialized Form

Field Summary
static int BLUE
           
 int color
          The color.
static int GREEN
           
static int RED
           
 
Fields inherited from class JSci.physics.quantum.QuantumParticle
spinZ
 
Fields inherited from class JSci.physics.RelativisticParticle
momentum, position
 
Constructor Summary
Quark()
          Constructs a quark.
 
Method Summary
 Quark absorb(Gluon g)
          Absorbs a gluon.
 int baryonQN()
          Returns the number of 1/3 units of baryon number.
 int eLeptonQN()
          Returns the electron lepton number.
 Quark emit(Gluon g)
          Emits a gluon.
 int isospin()
          Returns the number of 1/2 units of isospin.
 int isospinZ()
          Returns the number of 1/2 units of the z-component of isospin.
 int muLeptonQN()
          Returns the muon lepton number.
 int spin()
          Returns the number of 1/2 units of spin.
 int tauLeptonQN()
          Returns the tau lepton number.
 
Methods inherited from class JSci.physics.quantum.QuantumParticle
anti, charge, isAnti, strangeQN
 
Methods inherited from class JSci.physics.RelativisticParticle
equals, restMass
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RED

public static final int RED
See Also:
Constant Field Values

GREEN

public static final int GREEN
See Also:
Constant Field Values

BLUE

public static final int BLUE
See Also:
Constant Field Values

color

public int color
The color.

Constructor Detail

Quark

public Quark()
Constructs a quark.

Method Detail

spin

public final int spin()
Returns the number of 1/2 units of spin.

Specified by:
spin in class QuantumParticle
Returns:
1

eLeptonQN

public final int eLeptonQN()
Returns the electron lepton number.

Specified by:
eLeptonQN in class QuantumParticle
Returns:
0

muLeptonQN

public final int muLeptonQN()
Returns the muon lepton number.

Specified by:
muLeptonQN in class QuantumParticle
Returns:
0

tauLeptonQN

public final int tauLeptonQN()
Returns the tau lepton number.

Specified by:
tauLeptonQN in class QuantumParticle
Returns:
0

baryonQN

public final int baryonQN()
Returns the number of 1/3 units of baryon number.

Specified by:
baryonQN in class QuantumParticle
Returns:
1

isospin

public final int isospin()
Returns the number of 1/2 units of isospin.

Specified by:
isospin in class QuantumParticle
Returns:
0

isospinZ

public final int isospinZ()
Returns the number of 1/2 units of the z-component of isospin.

Specified by:
isospinZ in class QuantumParticle
Returns:
0

emit

public Quark emit(Gluon g)
Emits a gluon.


absorb

public Quark absorb(Gluon g)
Absorbs a gluon.