Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exclusive jet selections #47

Merged
merged 8 commits into from
May 23, 2024
Merged

Exclusive jet selections #47

merged 8 commits into from
May 23, 2024

Conversation

graeme-a-stewart
Copy link
Member

@graeme-a-stewart graeme-a-stewart commented May 23, 2024

Add exclusive jet selection methods. These take a ClusterSequence object and return the exclusive jets based on either an njets cut (that is, cluster up to njets and stop) or on a dijmax cut (that is, cluster until the metric distance exceeds that cut value).

There is an auxiliary method which returns the number of jets for a particular dij cut value.

Four tests are added, which test njets and dijmax for the Cambridge/Aachen and Inclusive-kT algorithms (N.B. exclusive selections are not useful for anti-kT).

Also changed is to rename JetRecoStrategy to RecoStrategy.

Closes #41

First implementation of exclusive jet finder, for njets

Add a record of initial jets/clusters given to the ClusterSequence.

Add an Enum for the jet algorithm (to be allowed as a CLI option
and also to record this value internally in the ClusterSequence).
Used to store the algorithm in the ClusterSequence

Can also be used to build a simple CLI to select the algorithm
Call this RecoStrategy instead if JetRecoStrategy

(This is different from JetAlgorithm, where it's how do I define jets,
vs. RecoStrategy, how to I build the reconstructed jets
- seems to make sense to me...)
This returns the number of jets that would pass a cut
where the reconstruction stopped at a certain dcut
value
This makes comparisons a lot easier!
Had been multiplying by R^2, instead of dividing!
Inclusive kT with dijmax=20
Better structuring for exclusive selection tests
using a struct for all parameters.
Tests for njets and dijcut for both Cambridge/Aachen and
Inclusive-kT.
@graeme-a-stewart graeme-a-stewart merged commit 63faefa into main May 23, 2024
4 checks passed
@graeme-a-stewart graeme-a-stewart deleted the exclusive-jets branch June 13, 2024 14:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Implement exclusive jet methods
1 participant