Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
TestOutlierFinder Struct Reference

#include <acts/blob/sPHENIX/Tests/UnitTests/Core/TrackFitting/FitterTestsCommon.hpp>

Public Member Functions

template<typename traj_t >
bool operator() (typename traj_t::ConstTrackStateProxy state) const
 

Public Attributes

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

Detailed Description

Find outliers using plain distance for testing purposes.

In a real setup, the outlier classification can be much more involved, e.g. by computing the weighted distance/ local chi2 value. Here, the purpose is to test that the basic principle works using simplified, synthetic data. Thus, the simplest possible implementation should do.

Definition at line 41 of file FitterTestsCommon.hpp.

View newest version in sPHENIX GitHub at line 41 of file FitterTestsCommon.hpp

Member Function Documentation

template<typename traj_t >
bool TestOutlierFinder::operator() ( typename traj_t::ConstTrackStateProxy  state) const
inline

Classify a measurement as a valid one or an outlier.

Template Parameters
track_state_tType of the track state
Parameters
stateThe track state to classify
Return values
Falseif the measurement is not an outlier
Trueif the measurement is an outlier

Definition at line 51 of file FitterTestsCommon.hpp.

View newest version in sPHENIX GitHub at line 51 of file FitterTestsCommon.hpp

References distance().

+ Here is the call graph for this function:

Member Data Documentation

double TestOutlierFinder::distanceMax = std::numeric_limits<double>::max()

Definition at line 42 of file FitterTestsCommon.hpp.

View newest version in sPHENIX GitHub at line 42 of file FitterTestsCommon.hpp


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