ACTS
Experiment-independent tracking
Loading...
Searching...
No Matches
ActsFatras::NoDecay Struct Reference

Decay module that treats all particles as stable. More...

#include <ActsFatras/Physics/Decay/NoDecay.hpp>

Public Member Functions

template<typename generator_t>
constexpr double generateProperTimeLimit (generator_t &, const Particle &) const
 Generate the proper time limit for a particle.
template<typename generator_t>
constexpr std::array< Particle, 0 > run (generator_t &, const Particle &) const
 Decay the particle without generating any descendant particles.

Detailed Description

Decay module that treats all particles as stable.

Member Function Documentation

◆ generateProperTimeLimit()

template<typename generator_t>
double ActsFatras::NoDecay::generateProperTimeLimit ( generator_t & ,
const Particle &  ) const
constexpr

Generate the proper time limit for a particle.

Returns
Always returns infinity as limit.

◆ run()

template<typename generator_t>
std::array< Particle, 0 > ActsFatras::NoDecay::run ( generator_t & ,
const Particle &  ) const
constexpr

Decay the particle without generating any descendant particles.

Returns
Empty array of particles (no decay products)