JSci.physics.particles
Class PiPlus

java.lang.Object
  extended by JSci.physics.Particle
      extended by JSci.physics.RelativisticParticle
          extended by JSci.physics.quantum.QuantumParticle
              extended by JSci.physics.particles.Hadron
                  extended by JSci.physics.particles.Meson
                      extended by JSci.physics.particles.Pion
                          extended by JSci.physics.particles.PiPlus
All Implemented Interfaces:
java.io.Serializable

public final class PiPlus
extends Pion

A class representing pi+.

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
PiPlus()
          Constructs a pi+.
 
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.
 int isospinZ()
          Returns the number of 1/2 units of the z-component of isospin.
 QuantumParticle[] quarks()
          Returns the quark composition.
 double restMass()
          Returns the rest mass (MeV).
 java.lang.String toString()
          Returns a string representing this class.
 
Methods inherited from class JSci.physics.particles.Pion
isospin, strangeQN
 
Methods inherited from class JSci.physics.particles.Meson
baryonQN, spin
 
Methods inherited from class JSci.physics.particles.Hadron
eLeptonQN, muLeptonQN, 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

PiPlus

public PiPlus()
Constructs a pi+.

Method Detail

restMass

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

Specified by:
restMass in class RelativisticParticle
Returns:
139.57018

charge

public int charge()
Returns the electric charge.

Specified by:
charge in class QuantumParticle
Returns:
1

isospinZ

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

Specified by:
isospinZ in class QuantumParticle
Returns:
2

quarks

public QuantumParticle[] quarks()
Returns the quark composition.


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