All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class JSci.physics.particles.Gluon

java.lang.Object
   |
   +----JSci.physics.Particle
           |
           +----JSci.physics.quantum.QuantumParticle
                   |
                   +----JSci.physics.particles.GaugeBoson
                           |
                           +----JSci.physics.particles.Gluon

public final class Gluon
extends GaugeBoson
A class representing gluons.


Variable Index

 o color
The color.

Constructor Index

 o Gluon()
Constructs a gluon.

Method Index

 o anti()
Returns the antiparticle of this particle.
 o charge()
Returns the electric charge.
 o isAnti(QuantumParticle)
Returns true if qp is the antiparticle.
 o restMass()
Returns the rest mass (MeV).
 o spin()
Returns the number of 1/2 units of spin.
 o toString()
Returns a string representing this class.

Variables

 o color
 public int color
The color.

Constructors

 o Gluon
 public Gluon()
Constructs a gluon.

Methods

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

Returns:
0.0
Overrides:
restMass in class Particle
 o spin
 public int spin()
Returns the number of 1/2 units of spin.

Returns:
2
Overrides:
spin in class QuantumParticle
 o charge
 public int charge()
Returns the electric charge.

Returns:
0
Overrides:
charge in class QuantumParticle
 o anti
 public QuantumParticle anti()
Returns the antiparticle of this particle.

Overrides:
anti in class QuantumParticle
 o isAnti
 public boolean isAnti(QuantumParticle qp)
Returns true if qp is the antiparticle.

Overrides:
isAnti in class QuantumParticle
 o toString
 public String toString()
Returns a string representing this class.

Overrides:
toString in class Object

All Packages  Class Hierarchy  This Package  Previous  Next  Index