Skip to main content

RuleSet

Struct RuleSet 

Source
pub struct RuleSet {
Show 16 fields pub parity: bool, pub isospin: bool, pub isospin_projection: bool, pub c_parity: bool, pub g_parity: bool, pub charge: bool, pub strangeness: bool, pub charm: bool, pub bottomness: bool, pub topness: bool, pub baryon_number: bool, pub electron_lepton_number: bool, pub muon_lepton_number: bool, pub tau_lepton_number: bool, pub lepton_number: bool, pub identical_particle_symmetry: bool,
}
Expand description

A collection of optional selection rules for testing whether a two-body decay channel is allowed.

Each boolean enables one conservation or symmetry check. Disabled checks are ignored. Enabled checks are treated permissively with respect to missing quantum numbers: if the required values are not known, that check does not reject the channel.

The purely angular-momentum constraints are not represented here. Those are handled separately when constructing candidate partial waves.

Fields§

§parity: bool

Enforce intrinsic parity conservation.

For a two-body final state this checks $P_\text{parent} = P_a P_b (-1)^L$.

§isospin: bool

Enforce total isospin coupling.

This checks whether the two daughter isospins can couple to the parent isospin: $I_\text{parent} \in |I_a - I_b|, \ldots, I_a + I_b$.

§isospin_projection: bool

Enforce conservation of the isospin projection $I_3$.

This checks $I_{3,\text{parent}} = I_{3,a} + I_{3,b}$.

§c_parity: bool

Enforce charge-conjugation parity conservation when applicable.

This is only meaningful for states with a defined $C$ eigenvalue and final states that can be interpreted as $C$ eigenstates, such as suitable particle-antiparticle combinations.

§g_parity: bool

Enforce G-parity conservation when applicable.

This is mainly useful for light-quark isospin multiplets where $G$-parity is defined. It should not be enabled blindly for arbitrary hadrons.

§charge: bool

Enforce electric charge conservation.

This checks $Q_\text{parent} = Q_a + Q_b$.

§strangeness: bool

Enforce strangeness conservation.

This checks $S_\text{parent} = S_a + S_b$.

Strong and electromagnetic interactions conserve strangeness; weak interactions generally do not.

§charm: bool

Enforce charm conservation.

This checks $C_\text{parent} = C_a + C_b$, where $C$ here denotes charm quantum number, not charge conjugation.

§bottomness: bool

Enforce bottomness conservation.

This checks $B'_\text{parent} = B'_a + B'_b$, where $B'$ denotes bottomness, not baryon number.

§topness: bool

Enforce topness conservation.

This checks $T_\text{parent} = T_a + T_b$.

§baryon_number: bool

Enforce baryon-number conservation.

This checks $B_\text{parent} = B_a + B_b$.

§electron_lepton_number: bool

Enforce electron-family lepton-number conservation.

This checks $L_e(\text{parent}) = L_e(a) + L_e(b)$.

§muon_lepton_number: bool

Enforce muon-family lepton-number conservation.

This checks $L_\mu(\text{parent}) = L_\mu(a) + L_\mu(b)$.

§tau_lepton_number: bool

Enforce tau-family lepton-number conservation.

This checks $L_\tau(\text{parent}) = L_\tau(a) + L_\tau(b)$.

§lepton_number: bool

Enforce total lepton-number conservation.

This checks $L_\text{parent} = L_a + L_b$, where $L = L_e + L_\mu + L_\tau$.

This is independent of the individual lepton-family checks. If both this and the family-specific checks are enabled, all enabled checks must pass.

§identical_particle_symmetry: bool

Enforce exchange-symmetry constraints for identical final-state particles when enough information is available.

At minimum, this is useful for cases such as identical spin-zero bosons, where only even $L$ is allowed.

Implementations§

Source§

impl RuleSet

Source

pub fn angular() -> Self

Construct a rule set with no non-angular selection rules enabled.

This is useful when only the angular-momentum coupling constraints should be applied: $S \in |j_a - j_b|, \ldots, j_a + j_b$ and $J \in |L - S|, \ldots, L + S$.

Source

pub fn strong() -> Self

Construct a rule set appropriate for ordinary strong two-body decays.

This enables parity, isospin, isospin projection, electric charge, flavor quantum numbers, baryon number, and identical-particle exchange symmetry.

Charge-conjugation parity and G-parity are left disabled because they are only meaningful for certain channels and should be enabled explicitly when applicable.

Source

pub fn electromagnetic() -> Self

Construct a rule set appropriate for electromagnetic two-body decays.

This enables parity, electric charge, flavor quantum numbers, baryon number, isospin-projection conservation, and identical-particle exchange symmetry.

Total isospin is not enabled because electromagnetic interactions break isospin symmetry.

Source

pub fn weak() -> Self

Construct a rule set appropriate for weak two-body decays.

This enables electric charge, baryon number, individual lepton-family numbers, total lepton number, and identical-particle exchange symmetry.

Parity, isospin, strangeness, charm, bottomness, and topness are not enabled because weak interactions can violate or change them.

Source

pub fn check( &self, parent: &ParticleProperties, daughters: (&ParticleProperties, &ParticleProperties), l: OrbitalAngularMomentum, s: AngularMomentum, ) -> bool

Check whether a candidate two-body partial wave satisfies this rule set.

parent is the decaying particle, daughters are the two final-state particles, l is their relative orbital angular momentum, and s is their coupled spin.

Returns false if any enabled rule is definitely violated. Returns true if all enabled rules pass or if some enabled rules cannot be evaluated because the required quantum numbers are unknown.

The angular-momentum coupling itself should be checked before or during candidate partial-wave construction; this method only applies the selected conservation and symmetry rules.

Trait Implementations§

Source§

impl Clone for RuleSet

Source§

fn clone(&self) -> RuleSet

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for RuleSet

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for RuleSet

Source§

fn default() -> RuleSet

Returns the “default value” for a type. Read more
Source§

impl Hash for RuleSet

Source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
Source§

impl PartialEq for RuleSet

Source§

fn eq(&self, other: &RuleSet) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Eq for RuleSet

Source§

impl StructuralPartialEq for RuleSet

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Any for T
where T: Any,

Source§

fn into_any(self: Box<T>) -> Box<dyn Any>

Source§

fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

Source§

fn type_name(&self) -> &'static str

Source§

impl<T> AnySync for T
where T: Any + Send + Sync,

Source§

fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> DynClone for T
where T: Clone,

Source§

fn __clone_box(&self, _: Private) -> *mut ()

Source§

impl<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

Source§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
Source§

impl<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

Source§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

impl<T> Pointable for T

Source§

const ALIGN: usize

The alignment of pointer.
Source§

type Init = T

The type for initializers.
Source§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
Source§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
Source§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
Source§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<SS, SP> SupersetOf<SS> for SP
where SS: SubsetOf<SP>,

Source§

fn to_subset(&self) -> Option<SS>

The inverse inclusion map: attempts to construct self from the equivalent element of its superset. Read more
Source§

fn is_in_subset(&self) -> bool

Checks if self is actually part of its subset T (and can be converted to it).
Source§

fn to_subset_unchecked(&self) -> SS

Use with care! Same as self.to_subset but without any property checks. Always succeeds.
Source§

fn from_subset(element: &SS) -> SP

The inclusion map: converts self to the equivalent element of its superset.
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> Allocation for T
where T: RefUnwindSafe + Send + Sync,

Source§

impl<T> Scalar for T
where T: 'static + Clone + PartialEq + Debug,