Skip to content
Snippets Groups Projects
Commit 6060ffd8 authored by Bernhard Pilsl's avatar Bernhard Pilsl Committed by Finn King
Browse files

fix FakeRate method RADIUS

tracks with an intercept got skipped, but we wanted to skip tracks without an intercept
parent 0ab20410
No related branches found
No related tags found
No related merge requests found
......@@ -571,7 +571,7 @@ StatusCode AnalysisEfficiency::run(const std::shared_ptr<Clipboard>& clipboard)
// discard tracks without intercept, using a tolerance defined
// by the radial cut which we will use later.
if(m_detector->hasIntercept(track.get(), -m_fake_rate_distance)) {
if(!m_detector->hasIntercept(track.get(), -m_fake_rate_distance)) {
continue;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment