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

Retrieve the absolute momentum. More...

#include <ActsFatras/Selectors/KinematicCasts.hpp>

Public Member Functions

double operator() (const Particle &particle) const
 Extract absolute momentum magnitude.

Detailed Description

Retrieve the absolute momentum.

Member Function Documentation

◆ operator()()

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

Extract absolute momentum magnitude.

Parameters
particleThe particle to extract from
Returns
Total momentum magnitude |p| of the particle