1 package JSci.physics.particles; 2 3 import JSci.physics.quantum.QuantumParticle; 4 5 10 public abstract class Quark extends QuantumParticle { 11 public final static int RED=1; 12 public final static int GREEN=2; 13 public final static int BLUE=3; 14 17 public int color; 18 21 public Quark() {} 22 26 public final int spin() {return 1;} 27 31 public final int eLeptonQN() {return 0;} 32 36 public final int muLeptonQN() {return 0;} 37 41 public final int tauLeptonQN() {return 0;} 42 46 public final int baryonQN() {return 1;} 47 51 public final int isospin() {return 0;} 52 56 public final int isospinZ() {return 0;} 57 60 public Quark emit(Gluon g) { 61 momentum=momentum.subtract(g.momentum); 62 return this; 63 } 64 67 public Quark absorb(Gluon g) { 68 momentum=momentum.add(g.momentum); 69 return this; 70 } 71 } 72 73 | Popular Tags |