CharmModel#
- class MCEq.charm_models.CharmModel[source]#
Bases:
objectAbstract class, from which implemeted charm models can inherit.
Note
Do not instantiate this class directly.
Methods Summary
get_yield_matrix(proj, sec)The implementation of this abstract method returns the yield matrix spanned over the energy grid of the calculation.
Methods Documentation
- abstractmethod get_yield_matrix(proj, sec)[source]#
The implementation of this abstract method returns the yield matrix spanned over the energy grid of the calculation.
- Parameters:
proj (int) – PDG ID of the interacting particle (projectile)
sec (int) – PDG ID of the final state charmed meson (secondary)
- Returns:
yield matrix
- Return type:
np.array
- Raises:
NotImplementedError –