Celeritas 0.7-develop+980877a
Loading...
Searching...
No Matches
Public Member Functions | List of all members
celeritas::DecayProcess Class Referencefinal

Spontaneous decay of unstable particles. More...

#include <DecayProcess.hh>

Inheritance diagram for celeritas::DecayProcess:
Inheritance graph
[legend]

Public Types

Type aliases
using SPConstParticles = std::shared_ptr< ParticleParams const >
 
using SPConstChannel = std::shared_ptr< DecayChannel const >
 
using VecChannel = std::vector< SPConstChannel >
 
- Public Types inherited from celeritas::Process
using ActionIdIter = RangeIter< ActionId >
 

Public Member Functions

 DecayProcess (SPConstParticles particles, inp::DecayPhysics input)
 Construct from particles and input.
 
VecChannel build_channels (ActionIdIter start_id) const
 Construct the decay channels, assigning each an action ID.
 
Process interface
bool applies_at_rest () const final
 Whether the process applies when the particle is stopped.
 
std::string_view label () const final
 Name of the process.
 
- Public Member Functions inherited from celeritas::Process
virtual ~Process ()
 Default destructor.
 

Additional Inherited Members

- Protected Member Functions inherited from celeritas::Process
 Process (Process const &)=default
 
Process & operator= (Process const &)=default
 
 Process (Process &&)=default
 
Process & operator= (Process &&)=default
 

Detailed Description

Spontaneous decay of unstable particles.

This single process manages all supported decay channels, each of which is analogous to a model of an InteractionProcess : the channel is the step action that samples the decay products. Unlike an interaction with matter, the decay rate depends only on the particle: in flight, the decay "cross section" is the inverse of the mean decay length

\[ \Sigma_\mathrm{decay} = \frac{1}{\beta \gamma c \tau} = \frac{\lambda m}{c p}, \]

where \( \lambda = 1/\tau \) is the particle's decay constant. As in Geant4, it is evaluated at the momentum at the start of the step.

Decay also applies at rest, where it is selected only if the particle has no other at-rest process. This mirrors Geant4, where at-rest processes such as \(\mu^-\) capture occur immediately and always preempt decay.

Each particle type may currently decay through at most one channel.

Member Function Documentation

◆ applies_at_rest()

bool celeritas::DecayProcess::applies_at_rest ( ) const
inlinefinalvirtual

Whether the process applies when the particle is stopped.

Implements celeritas::Process.

◆ label()

std::string_view celeritas::DecayProcess::label ( ) const
inlinefinalvirtual

Name of the process.

Implements celeritas::Process.


The documentation for this class was generated from the following files: