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

Utils cleanup #67

Merged
merged 2 commits into from
Jul 16, 2024
Merged

Utils cleanup #67

merged 2 commits into from
Jul 16, 2024

Conversation

graeme-a-stewart
Copy link
Member

This is a small cleanup for the read_final_state_particles function, allowing return type specialisation (avoiding the clunky need for two versions of the code).

Make the return type for read_final_state_particles a type, allowing
one function to serve both for PseudoJet and LorentzVector
A type can be passed in as a parameter, and the function will
try to construct objects of that
type to return
@graeme-a-stewart graeme-a-stewart merged commit b49a8f3 into main Jul 16, 2024
7 checks passed
@graeme-a-stewart graeme-a-stewart deleted the utils-cleanup branch July 16, 2024 11:33
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.

1 participant