ATLAS Offline Software
Loading...
Searching...
No Matches
ActsTrk::detail::FitterHelperFunctions::ReverseFilteringLogic Struct Reference

Determine if the smoothing of a track should be done with or without reverse filtering. More...

#include <FitterHelperFunctions.h>

Collaboration diagram for ActsTrk::detail::FitterHelperFunctions::ReverseFilteringLogic:

Public Member Functions

template<typename trajectory_t>
bool operator() (typename Acts::MultiTrajectory< trajectory_t >::ConstTrackStateProxy trackState) const
 Determine if the smoothing of a track should be done with or without reverse filtering.

Public Attributes

double momentumMax = std::numeric_limits<double>::max()

Detailed Description

Determine if the smoothing of a track should be done with or without reverse filtering.

Definition at line 89 of file FitterHelperFunctions.h.

Member Function Documentation

◆ operator()()

template<typename trajectory_t>
bool ActsTrk::detail::FitterHelperFunctions::ReverseFilteringLogic::operator() ( typename Acts::MultiTrajectory< trajectory_t >::ConstTrackStateProxy trackState) const
inline

Determine if the smoothing of a track should be done with or without reverse filtering.

Template Parameters
track_state_tType of the track state
Parameters
trackStateThe trackState of the last measurement
Return values
Falseif we don't use the reverse filtering for the smoothing of the track
Trueif we use the reverse filtering for the smoothing of the track

Definition at line 100 of file FitterHelperFunctions.h.

100 {
101 // can't determine an outlier w/o a measurement or predicted parameters
102 auto momentum = std::abs(1. / trackState.filtered()[Acts::eBoundQOverP]);
103 return (momentum <= momentumMax);
104 }

Member Data Documentation

◆ momentumMax

double ActsTrk::detail::FitterHelperFunctions::ReverseFilteringLogic::momentumMax = std::numeric_limits<double>::max()

Definition at line 90 of file FitterHelperFunctions.h.


The documentation for this struct was generated from the following file: