-
Notifications
You must be signed in to change notification settings - Fork 168
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: TrackSelector supports eta-dependent cuts (#2405)
This changes `TrackSelector` so that eta dependent cuts can be supplied. To this end, a new nested struct `CutConfig` is introduced. The existing `Config` struct is auto-convertible from that struct, and will produce a single cut set for all eta. You can also supply `Config` with a vector of absolute eta bin edges and correspondingly sized (`N-1`) vector of `CutConfig` structs. The selector will then look up the associated cut value. Note: the `CutConfig` properties `etaMin`, `etaMax`, `absEtaMin` and `absEtaMax` are only supported if there is a single cut configuration with an abs eta bin from `0.0` to `+infinity`. The `TrackSelector` constructor checks consistency of the configuration.
- Loading branch information
1 parent
2beed70
commit ed0bb27
Showing
5 changed files
with
888 additions
and
82 deletions.
There are no files selected for viewing
This file contains 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
Oops, something went wrong.