Interface ElectricalNoiseFilter
- All Known Implementing Classes:
SimpleElectricalNoiseFilter
public interface ElectricalNoiseFilter
Filter which checks whether possible track might be electrical noise.
- Author:
- Jamie Macaulay
-
Method Summary
Modifier and TypeMethodDescriptiondouble
addChi2Penalties
(double chi2, TrackBitSet<?> bitSet, int bitCount, int kcount, int nPruneback) Add electric noise penalty to the chi2 value.
-
Method Details
-
addChi2Penalties
double addChi2Penalties(double chi2, TrackBitSet<?> bitSet, int bitCount, int kcount, int nPruneback) Add electric noise penalty to the chi2 value.- Parameters:
chi2
- - the chi2 value to add the penalty to.bitSet
- - the bit set representing the current track.bitCount
- - the bit count i.e. number of clicks in the train.kcount
- - the total data unit count.nPruneback
- - the prune back value i.e. what detections on end of track to ignore.mhtChi2Vars
- - the current mhtCh2Vars.- Returns:
- chi2 - the input chi2 value.
-