Add FilterTracks processor to filter tracks.#10
Merged
gianelle merged 3 commits intoMuonColliderSoft:masterfrom Feb 28, 2023
Merged
Add FilterTracks processor to filter tracks.#10gianelle merged 3 commits intoMuonColliderSoft:masterfrom
gianelle merged 3 commits intoMuonColliderSoft:masterfrom
Conversation
gianelle
added a commit
that referenced
this pull request
Jan 25, 2023
Merge remote-tracking branch 'karolrepo/FilterTracks' into v02-08-MC
|
Hi, For example:
A second request is if it is possible to put the "hits requests" in OR condition instead of AND, this because you can With these two changes we can remove the filter from the RefitFinal processor, using this one instead (which seems a Ale |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Originally written by @njbruhwiler.
A processor that filters a track collection. The input and output collections are set via
InputTrackCollectionNameandOutputTrackCollectionNameparameters.The available track properties to filter on are:
BarrelOnly: Keep tracks with only barrel hits.NHitsTotal: Minimum number of hits on trackNHitsVertex: Minimum number of hits on vertex detectorNHitsInner: Minimum number of hits on inner trackerNHitsOuter: Minimum number of hits on outer trackerMinPt: Minimum transverse momentumChi2Spatial: Spatial chi squared