JSci.physics.particles
Class Gluon

java.lang.Object
  extended by JSci.physics.Particle
      extended by JSci.physics.RelativisticParticle
          extended by JSci.physics.quantum.QuantumParticle
              extended by JSci.physics.particles.GaugeBoson
                  extended by JSci.physics.particles.Gluon
All Implemented Interfaces:
java.io.Serializable

public final class Gluon
extends GaugeBoson

A class representing gluons.

See Also:
Serialized Form

Field Summary
static int BLUE_ANTIGREEN
           
static int BLUE_ANTIRED
           
 int color
          The color.
static int GREEN_ANTIBLUE
           
static int GREEN_ANTIRED
           
static int MIXED_RED_GREEN
          The state (rr~-gg~)/sqrt(2).
static int MIXED_RED_GREEN_2BLUE
          The state (rr~+gg~-2bb~)/sqrt(6).
static int RED_ANTIBLUE
           
static int RED_ANTIGREEN
           
 
Fields inherited from class JSci.physics.quantum.QuantumParticle
spinZ
 
Fields inherited from class JSci.physics.RelativisticParticle
momentum, position
 
Constructor Summary
Gluon()
          Constructs a gluon.
 
Method Summary
 QuantumParticle anti()
          Returns the antiparticle of this particle.
 int charge()
          Returns the electric charge.
 boolean isAnti(QuantumParticle qp)
          Returns true if qp is the antiparticle.
 double restMass()
          Returns the rest mass (MeV).
 int spin()
          Returns the number of 1/2 units of spin.
 java.lang.String toString()
          Returns a string representing this class.
 
Methods inherited from class JSci.physics.particles.GaugeBoson
baryonQN, eLeptonQN, isospin, isospinZ, muLeptonQN, strangeQN, tauLeptonQN
 
Methods inherited from class JSci.physics.RelativisticParticle
equals, hashCode
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

RED_ANTIGREEN

public static final int RED_ANTIGREEN
See Also:
Constant Field Values

RED_ANTIBLUE

public static final int RED_ANTIBLUE
See Also:
Constant Field Values

GREEN_ANTIRED

public static final int GREEN_ANTIRED
See Also:
Constant Field Values

GREEN_ANTIBLUE

public static final int GREEN_ANTIBLUE
See Also:
Constant Field Values

BLUE_ANTIRED

public static final int BLUE_ANTIRED
See Also:
Constant Field Values

BLUE_ANTIGREEN

public static final int BLUE_ANTIGREEN
See Also:
Constant Field Values

MIXED_RED_GREEN

public static final int MIXED_RED_GREEN
The state (rr~-gg~)/sqrt(2).

See Also:
Constant Field Values

MIXED_RED_GREEN_2BLUE

public static final int MIXED_RED_GREEN_2BLUE
The state (rr~+gg~-2bb~)/sqrt(6).

See Also:
Constant Field Values

color

public int color
The color.

Constructor Detail

Gluon

public Gluon()
Constructs a gluon.

Method Detail

restMass

public double restMass()
Returns the rest mass (MeV).

Specified by:
restMass in class RelativisticParticle
Returns:
0.0

spin

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

Specified by:
spin in class QuantumParticle
Returns:
2

charge

public int charge()
Returns the electric charge.

Specified by:
charge in class QuantumParticle
Returns:
0

anti

public QuantumParticle anti()
Returns the antiparticle of this particle.

Specified by:
anti in class QuantumParticle

isAnti

public boolean isAnti(QuantumParticle qp)
Returns true if qp is the antiparticle.

Specified by:
isAnti in class QuantumParticle

toString

public java.lang.String toString()
Returns a string representing this class.

Overrides:
toString in class java.lang.Object