14 #include <corsika/detail/framework/process/DecayProcess.hpp> 50 template <
typename TDerived>
55 template <
typename TParticle>
59 static_assert(has_method_getLifetime_v<TDerived, TimeType, TParticle const&>,
60 "TDerived has no method with correct signature \"GrammageType " 61 "getInteractionLength(TParticle const&)\" required for " 62 "InteractionProcess<TDerived>. ");
64 return 1. / getRef().getLifetime(particle);
71 template <
typename TProcess>
74 std::enable_if_t<std::is_base_of_v<DecayProcess<typename std::decay_t<TProcess>>,
75 typename std::decay_t<TProcess>>>>
Import and extend the phys::units package.
Each process in C8 must derive from BaseProcess.
class "quantity" is the heart of the library.
`, since they are used everywhere as integral part of the framework.
A traits marker to identify DecayProcess.
Process decribing the decay of particles.