JSci.physics.particles
Class Graviton

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.Graviton
All Implemented Interfaces:
java.io.Serializable

public final class Graviton
extends GaugeBoson

A class representing gravitons.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class JSci.physics.quantum.QuantumParticle
spinZ
 
Fields inherited from class JSci.physics.RelativisticParticle
momentum, position
 
Constructor Summary
Graviton()
          Constructs a graviton.
 
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
 

Constructor Detail

Graviton

public Graviton()
Constructs a graviton.

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:
4

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