Skip to content

Commit

Permalink
Merge pull request #382 from trackreco/filterUpdate
Browse files Browse the repository at this point in the history
Tighten pixelLessStep filter
  • Loading branch information
osschar authored Nov 9, 2021
2 parents 6b7d6e4 + 3c11a5b commit 42a9425
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions mkFit/MkStdSeqs.h
Original file line number Diff line number Diff line change
Expand Up @@ -131,9 +131,14 @@ namespace StdSeq
float invptmin = 1.11; // =1/0.9

float thetasym = std::abs(t.theta() - Config::PIOver2);
float thetasymmin = 0.8; // -> |eta|=0.9
float thetasymmin_l = 0.80; // -> |eta|=0.9
float thetasymmin_h = 1.11; // -> |eta|=1.45

return !( (nLyrs<=3 || nHits<=3) || ( (nLyrs<=4 || nHits<=4) && (invpt<invptmin || (thetasym>thetasymmin && std::abs(d0BS)>d0_max)) ) );
return !(
( ( nLyrs<=3 || nHits<=3 ) ) ||
( ( nLyrs<=4 || nHits<=4 ) && ( invpt<invptmin || (thetasym>thetasymmin_l && std::abs(d0BS)>d0_max) ) ) ||
( ( nLyrs<=6 || nHits<=6 ) && ( invpt>invptmin && thetasym>thetasymmin_h && std::abs(d0BS)>d0_max ) )
);
}

template<class TRACK>
Expand Down

0 comments on commit 42a9425

Please sign in to comment.