ATLAS Offline Software
Public Member Functions | Public Attributes | List of all members
ActsTrk::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::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. More...
 

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 79 of file FitterHelperFunctions.h.

Member Function Documentation

◆ operator()()

template<typename trajectory_t >
bool ActsTrk::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 90 of file FitterHelperFunctions.h.

90  {
91  // can't determine an outlier w/o a measurement or predicted parameters
92  auto momentum = std::abs(1. / trackState.filtered()[Acts::eBoundQOverP]);
93  return (momentum <= momentumMax);
94  }

Member Data Documentation

◆ momentumMax

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

Definition at line 80 of file FitterHelperFunctions.h.


The documentation for this struct was generated from the following file:
ActsTrk::FitterHelperFunctions::ReverseFilteringLogic::momentumMax
double momentumMax
Definition: FitterHelperFunctions.h:80
ParticleGun_EoverP_Config.momentum
momentum
Definition: ParticleGun_EoverP_Config.py:63