OPALX (Object Oriented Parallel Accelerator Library for Exascal) master (dc2a29eed580)
OPALX
Loading...
Searching...
No Matches
Physics/MuonDecay.h
Go to the documentation of this file.
1#ifndef OPAL_PHYSICS_MUON_DECAY_H
2#define OPAL_PHYSICS_MUON_DECAY_H
3
4#include "Physics/Physics.h"
5
6#include <Kokkos_Core.hpp>
7
8namespace Physics {
9 namespace MuonDecay {
10
12 KOKKOS_INLINE_FUNCTION constexpr double maxElectronEnergy() { return Physics::m_mu / 2.0; }
13
15 KOKKOS_INLINE_FUNCTION constexpr double minElectronX() {
17 }
18
21 KOKKOS_INLINE_FUNCTION double michelSpectrum(double x) {
22 return 2.0 * x * x * (3.0 - 2.0 * x);
23 }
24
26 KOKKOS_INLINE_FUNCTION constexpr double michelUpperBound() { return 2.0; }
27
28 } // namespace MuonDecay
29} // namespace Physics
30
31#endif // OPAL_PHYSICS_MUON_DECAY_H
Muon decay: mu -> e + nu_e + nu_mu (three-body).
KOKKOS_INLINE_FUNCTION constexpr double michelUpperBound()
Upper bound of the Michel spectrum, attained at : .
KOKKOS_INLINE_FUNCTION constexpr double minElectronX()
Minimum reduced energy .
KOKKOS_INLINE_FUNCTION double michelSpectrum(double x)
KOKKOS_INLINE_FUNCTION constexpr double maxElectronEnergy()
Maximum electron energy in the muon rest frame [GeV]: .
Definition Air.h:27
constexpr double m_e
The electron rest mass in GeV.
Definition Physics.h:93
constexpr double m_mu
The muon rest mass in GeV.
Definition Physics.h:129