JSci.physics.particles
Class Charm

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

public final class Charm
extends Quark

A class representing charms.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class JSci.physics.particles.Quark
BLUE, color, GREEN, RED
 
Fields inherited from class JSci.physics.quantum.QuantumParticle
spinZ
 
Fields inherited from class JSci.physics.RelativisticParticle
momentum, position
 
Constructor Summary
Charm()
          Constructs a charm.
 
Method Summary
 QuantumParticle anti()
          Returns the antiparticle of this particle.
 int charge()
          Returns the number of 1/3 units of electric charge.
 boolean isAnti(QuantumParticle qp)
          Returns true if qp is the antiparticle.
 double restMass()
          Returns the rest mass (MeV).
 int strangeQN()
          Returns the strangeness number.
 java.lang.String toString()
          Returns a string representing this class.
 
Methods inherited from class JSci.physics.particles.Quark
absorb, baryonQN, eLeptonQN, emit, isospin, isospinZ, muLeptonQN, spin, 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

Charm

public Charm()
Constructs a charm.

Method Detail

restMass

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

Specified by:
restMass in class RelativisticParticle
Returns:
1500.0

charge

public int charge()
Returns the number of 1/3 units of electric charge.

Specified by:
charge in class QuantumParticle
Returns:
2

strangeQN

public int strangeQN()
Returns the strangeness number.

Specified by:
strangeQN 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