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

Weaver jet flavour inference #188

Merged
merged 54 commits into from Aug 1, 2022
Merged

Conversation

forthommel
Copy link
Contributor

@forthommel forthommel commented Jul 25, 2022

This PR introduces the capacity to infer jet flavours from an ONNX model prepared with @hqucms' Weaver toolbox.
Given a list of jet constituents kinematic and physical properties, the jet flavour weight is computed using the ONNXRuntime library (present on v102 of LCG's SW stack, but not yet on HSF's spackages) for which the API is simplified and matched to Weaver's output. Therefore, three new utilities namespaces/objects are introduced: the ONNXRuntime interface, the Weaver variables translation interface, and the JetFlavourUtils RDF tools.

Additionally, a unit test is introduced, along with an example which can be run at integration tests.

tests/CMakeLists.txt Outdated Show resolved Hide resolved
analyzers/dataframe/CMakeLists.txt Outdated Show resolved Hide resolved
CMakeLists.txt Outdated Show resolved Hide resolved
set(EXTRA_LIBRARIES)

if(${WITH_ONNX})
find_package(ONNXRuntime)

This comment was marked as outdated.

CMakeLists.txt Outdated Show resolved Hide resolved
Copy link
Member

@vvolkl vvolkl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, thanks a lot for this clean PR and the fast implementation of the comments!

@vvolkl vvolkl merged commit e5c916e into HEP-FCC:master Aug 1, 2022
@forthommel
Copy link
Contributor Author

Thanks to you for this very fast and efficient review and interaction!

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.

None yet

2 participants