conservation_rules¶
Collection of quantum number conservation rules for particle reactions.
Contains: - Functors for quantum number condition checks.
-
class
AdditiveQuantumNumberConservation
(qn_name)[source]¶ Bases:
expertsystem.state.conservation_rules.AbstractRule
Check for conservation of an additive quantum numbers.
\(\sum q_{in} = \sum q_{out}\)
- Additive quantum numbers are, for example:
electric charge
baryon number
lepton number
-
class
CParityConservation
[source]¶ Bases:
expertsystem.state.conservation_rules.AbstractRule
Check for \(C\)-parity conservation.
-
class
ClebschGordanCheckHelicityToCanonical
[source]¶ Bases:
expertsystem.state.conservation_rules.AbstractRule
Implement Clebsch-Gordan checks.
For \(S_1, S_2\) to \(S\) and the \(L,S\) to \(J\) coupling based on the conversion of helicity to canonical amplitude sums.
-
class
DefinedForAllEdges
[source]¶ Bases:
expertsystem.state.conservation_rules.AbstractConditionFunctor
Check if a graph has all edges defined.
-
class
DefinedForAllOutgoingEdges
[source]¶ Bases:
expertsystem.state.conservation_rules.AbstractConditionFunctor
Check if all outgoing edges are defined.
-
class
DefinedForInteractionNode
[source]¶ Bases:
expertsystem.state.conservation_rules.AbstractConditionFunctor
Check if all interaction nodes are defined.
-
class
DefinedIfOtherQnNotDefinedInOutSeparate
(other_qn_names)[source]¶ Bases:
expertsystem.state.conservation_rules.AbstractConditionFunctor
Implements logic for…
-
class
GParityConservation
[source]¶ Bases:
expertsystem.state.conservation_rules.AbstractRule
Check for \(G\)-parity conservation.
-
class
GellMannNishijimaRule
[source]¶ Bases:
expertsystem.state.conservation_rules.AbstractRule
Conservation rule for Gell-Mann-Nishijima.
-
class
HelicityConservation
[source]¶ Bases:
expertsystem.state.conservation_rules.AbstractRule
Implementation of helicity conservation.
-
class
IdenticalParticleSymmetrization
[source]¶ Bases:
expertsystem.state.conservation_rules.AbstractRule
Implementation of particle symmetrization.
-
class
MassConservation
(width_factor=3)[source]¶ Bases:
expertsystem.state.conservation_rules.AbstractRule
Mass conservation rule.
-
check
(ingoing_part_qns, outgoing_part_qns, interaction_qns)[source]¶ Implement the mass check.
\(M_{out} - N \cdot W_{out} < M_{in} + N \cdot W_{in}\)
It makes sure that the net mass outgoing state \(M_{out}\) is smaller than the net mass of the ingoing state \(M_{in}\). Also the width \(W\) of the states is taken into account.
-
-
class
ParityConservation
[source]¶ Bases:
expertsystem.state.conservation_rules.AbstractRule
Check parity conservation.
-
class
ParityConservationHelicity
[source]¶ Bases:
expertsystem.state.conservation_rules.AbstractRule
Check parity conservation for the helicity formalism.
-
check
(ingoing_part_qns, outgoing_part_qns, interaction_qns)[source]¶ Implements the check parity conservation check.
Check the following:
\[A_{-\lambda_1-\lambda_2} = P_1 P_2 P_3 (-1)^{S_2+S_3-S_1} A_{\lambda_1\lambda_2}\]Notice that only the special case \(\lambda_1=\lambda_2=0\) may return False.
-
-
class
SpinConservation
(spinlike_qn, use_projection=True)[source]¶ Bases:
expertsystem.state.conservation_rules.AbstractRule
Implementation of conservation of a spin-like quantum number.
That is, for a two body decay (coupling of two particle states). See
check()
for details.