public override bool Equals(object obj) { if (!(obj is Quark) || !base.Equals(obj)) { return(false); } Quark p = obj as Quark; return((baryonNumber.Equals(p.baryonNumber) && color.Equals(p.color) && bottomness.Equals(p.bottomness) && topness.Equals(p.topness) && strangeness.Equals(p.strangeness) && charmness.Equals(p.charmness) && isospinZ.Equals(p.isospinZ) && hypercharge.Equals(p.hypercharge) && weakIsospin.Equals(p.weakIsospin) && weakHypercharge.Equals(p.weakHypercharge) ) ? true : false); }
public Baryon(Quark q1, Quark q2, Quark q3) : base(q1, q2, q3) { this.antiParticle = new AntiBaryon(this); }
public Hyperon(Quark q1, Quark q2, StrangeQuark s) : base(q1, q2, s) { }