Analysis Software
Documentation for sPHENIX simulation software
|
#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() |
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
|
inline |
Classify a measurement as a valid one or an outlier.
track_state_t | Type of the track state |
state | The track state to classify |
False | if the measurement is not an outlier |
True | if 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().
Definition at line 42 of file FitterTestsCommon.hpp.
View newest version in sPHENIX GitHub at line 42 of file FitterTestsCommon.hpp