jsci.physics.particles
Class Up
- java.lang.Object
-
- All Implemented Interfaces:
- java.io.Serializable
public final class Up extends Quark
A class representing ups.- 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
Constructors Constructor and Description Up()Constructs an up.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description QuantumParticleanti()Returns the antiparticle of this particle.intcharge()Returns the number of 1/3 units of electric charge.booleanisAnti(QuantumParticle qp)Returns true if qp is the antiparticle.doublerestMass()Returns the rest mass (MeV).intstrangeQN()Returns the strangeness number.java.lang.StringtoString()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
-
-
-
-
Method Detail
-
restMass
public double restMass()
Returns the rest mass (MeV).- Specified by:
restMassin classRelativisticParticle- Returns:
- 5.0
-
charge
public int charge()
Returns the number of 1/3 units of electric charge.- Specified by:
chargein classQuantumParticle- Returns:
- 2
-
strangeQN
public int strangeQN()
Returns the strangeness number.- Specified by:
strangeQNin classQuantumParticle- Returns:
- 0
-
anti
public QuantumParticle anti()
Returns the antiparticle of this particle.- Specified by:
antiin classQuantumParticle
-
isAnti
public boolean isAnti(QuantumParticle qp)
Returns true if qp is the antiparticle.- Specified by:
isAntiin classQuantumParticle
-
toString
public java.lang.String toString()
Returns a string representing this class.- Overrides:
toStringin classjava.lang.Object
-
-
DMelt 3.0 © DataMelt by jWork.ORG