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

Retrieve the transverse absolute distance of the position to the origin. More...

#include <ActsFatras/Selectors/KinematicCasts.hpp>

Public Member Functions

double operator() (const Particle &particle) const
 Extract transverse distance from origin.

Detailed Description

Retrieve the transverse absolute distance of the position to the origin.

Member Function Documentation

◆ operator()()

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

Extract transverse distance from origin.

Parameters
particleThe particle to extract from
Returns
Transverse distance rho = sqrt(x² + y²) from particle position