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

Retrieve the total energy. More...

#include <ActsFatras/Selectors/KinematicCasts.hpp>

Public Member Functions

double operator() (const Particle &particle) const
 Extract total energy.

Detailed Description

Retrieve the total energy.

Member Function Documentation

◆ operator()()

double ActsFatras::Casts::E::operator() ( const Particle & particle) const

Extract total energy.

Parameters
particleThe particle to extract from
Returns
Total energy E = sqrt(p²c² + m²c⁴) of the particle