Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
52 commits
Select commit Hold shift + click to select a range
6659cd1
Jet Flavour Extension (Main part)
HarryWang0619 Jun 3, 2025
970f708
Add ONNX to compat
HarryWang0619 Jun 4, 2025
6bea82e
Update JetReconstruction.jl to fix the formatting.
HarryWang0619 Jun 4, 2025
d5ccbbc
Add ONNX part; changes for better efficiency
HarryWang0619 Jun 5, 2025
087bbc4
Updated Jet Constituent Builder
HarryWang0619 Jun 6, 2025
bae8ef5
Fix function for covMatrix of track
HarryWang0619 Jun 9, 2025
13051fb
Update JetConstituentUtils.jl
HarryWang0619 Jun 9, 2025
5e7885f
Update the Jet Constituents methods
HarryWang0619 Jun 11, 2025
cae668c
Create an mock example on this module
HarryWang0619 Jun 11, 2025
5079cec
Temp add to .gitignore
HarryWang0619 Jun 11, 2025
4adf317
Add JSON to library Project.toml
HarryWang0619 Jun 11, 2025
c331c66
Update simple-flavour-tagging.ipynb
HarryWang0619 Jun 12, 2025
b2b4ee9
Update bTag functions
HarryWang0619 Jun 13, 2025
e7f3053
Optimized Kinematic
HarryWang0619 Jun 15, 2025
2d2a5fc
optimizing all jet constituent methods
HarryWang0619 Jun 17, 2025
ac7690b
finish optimizing relativistic functions.
HarryWang0619 Jun 17, 2025
060a01a
latest optimized
HarryWang0619 Jun 17, 2025
c564fb4
Update JetConstUtils to most optimized.
HarryWang0619 Jun 17, 2025
ba91c1b
Minor fix for the Utils
HarryWang0619 Jun 17, 2025
5a6528b
Merge branch 'main' into JetFlavour
Moelf Jun 17, 2025
9e2c7f5
Updated gitignore to make ONNX readable
HarryWang0619 Jun 17, 2025
9b3166b
Temperory removed functions in JetConstituentBuilder
HarryWang0619 Jun 18, 2025
466c3ef
quick run JuliaFormatter
HarryWang0619 Jun 18, 2025
2c5c4d2
Add generated test & update .gitignore
HarryWang0619 Jun 18, 2025
b5e071f
Update test with formatter
HarryWang0619 Jun 18, 2025
04f5838
Fix function naming convension and spelling
HarryWang0619 Jun 27, 2025
898df4b
Fix string type, remove TODO
HarryWang0619 Jun 27, 2025
65aa54f
Update JetFlavourTagging.jl
HarryWang0619 Jun 27, 2025
a9c1cc8
fix variable name jet and jets
HarryWang0619 Jun 27, 2025
9e6f182
using constants
HarryWang0619 Jun 27, 2025
9a56eac
remove one TODO
HarryWang0619 Jun 27, 2025
dde8a5c
Update JetPhysicalConstants.jl
HarryWang0619 Jun 27, 2025
df59181
Merge branch 'main' into JetFlavour
HarryWang0619 Jun 27, 2025
99174f7
Changed parameter names
HarryWang0619 Jun 27, 2025
dddf022
update project.toml
HarryWang0619 Jun 27, 2025
d5640da
Update .gitignore
HarryWang0619 Jun 28, 2025
38f81e7
new tests
HarryWang0619 Jul 11, 2025
45a0a28
update test
HarryWang0619 Jul 11, 2025
5ad3704
New Example
HarryWang0619 Jul 11, 2025
dc50a73
Merge branch 'main' into JetFlavour
HarryWang0619 Jul 11, 2025
b561b02
Latest updates
HarryWang0619 Jul 17, 2025
7b752e2
Run Julia Formatter
HarryWang0619 Jul 17, 2025
e3084ee
fix simple flavour tagging
HarryWang0619 Jul 17, 2025
ed5e0e8
add eos for example
HarryWang0619 Jul 17, 2025
74cf26f
variables to lower case
HarryWang0619 Jul 17, 2025
3b940fa
Extract Features based on the JSON
HarryWang0619 Jul 17, 2025
9248104
run formatter
HarryWang0619 Jul 17, 2025
25f8492
Update JetFlavourHelper.jl
HarryWang0619 Jul 18, 2025
ccfd877
Add loading vertex value from MC Vertex
HarryWang0619 Jul 18, 2025
c1e9e1b
Merge branch 'main' into JetFlavour
HarryWang0619 Jul 18, 2025
99d98b0
Merge branch 'main' into JetFlavour
graeme-a-stewart Jul 22, 2025
ca4cdea
Change to new calling convention for exclusive_jets
graeme-a-stewart Jul 24, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,5 @@ benchmark/*
/profile/*
/statprof/*
/debug/*
ext/JetFlavourTagging/PROGRESS.md
examples/flavour-tagging/data/events_080263084.root
6 changes: 6 additions & 0 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,14 @@ StructArrays = "09ab397b-f2b6-538f-b94a-2f83cf4a842a"
[weakdeps]
EDM4hep = "eb32b910-dde9-4347-8fce-cd6be3498f0c"
Makie = "ee78f7c6-11fb-53f2-987a-cfe4a2b5a57a"
ONNXRunTime = "e034b28e-924e-41b2-b98f-d2bbeb830c6a"
JSON = "682c06a0-de6a-54ab-a142-c8b1cf79cde6"
PhysicalConstants = "5ad8b20f-a522-5ce9-bfc9-ddf1d5bda6ab"

[extensions]
EDM4hepJets = "EDM4hep"
JetVisualisation = "Makie"
JetFlavourTagging = ["EDM4hep", "ONNXRunTime", "JSON", "PhysicalConstants"]

[compat]
Accessors = "0.1.36"
Expand All @@ -38,9 +42,11 @@ Makie = "0.20, 0.21, 0.22, 0.23, 0.24"
MuladdMacro = "0.2.4"
Random = "1.9"
Statistics = "1.9"
ONNXRunTime = "1.3.1"
StructArrays = "0.6.18, 0.7"
Test = "1.9"
julia = "1.9"
PhysicalConstants = "0.2.4"

[extras]
Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595"
Expand Down
20 changes: 20 additions & 0 deletions examples/flavour-tagging/Project.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
[deps]
Accessors = "7d9f7c33-5ae7-4f3b-8dc6-eff91059b697"
ArgParse = "c7e460c6-2fb9-53a9-8c5b-16f535851c63"
CodecZlib = "944b1d66-785c-5afd-91f1-9de20f533193"
CodecZstd = "6b39b394-51ab-5f42-8807-6242bab2b4c2"
EDM4hep = "eb32b910-dde9-4347-8fce-cd6be3498f0c"
EnumX = "4e289a0a-7415-4d19-859d-a7e5c4648b56"
IJulia = "7073ff75-c697-5162-941a-fcdaad2a7d2a"
JSON = "682c06a0-de6a-54ab-a142-c8b1cf79cde6"
JetReconstruction = "44e8cb2c-dfab-4825-9c70-d4808a591196"
Logging = "56ddb016-857b-54e1-b83d-db4d58db5568"
LorentzVectorHEP = "f612022c-142a-473f-8cfd-a09cf3793c6c"
LorentzVectors = "3f54b04b-17fc-5cd4-9758-90c048d965e3"
MuladdMacro = "46d2c3a1-f734-5fdb-9937-b9b9aeba4221"
ONNXRunTime = "e034b28e-924e-41b2-b98f-d2bbeb830c6a"
PhysicalConstants = "5ad8b20f-a522-5ce9-bfc9-ddf1d5bda6ab"
StructArrays = "09ab397b-f2b6-538f-b94a-2f83cf4a842a"

[sources]
JetReconstruction = {path = "/Users/harrywanghc/Developer/2025/JuliaHEPForkToMain/JetReconstruction.jl"}
13 changes: 13 additions & 0 deletions examples/flavour-tagging/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Jet Reconstruction Flavour Tagging Module Examples

## `simple-flavour-tagging.jl`

```bash
julia --project simple-flavour-tagging.jl
```
This script will perform a simple flavour tagging with one events only.
It will use the `FlavourTagging` module to tag the jets in the event and print the results.

## `simple-flavour-tagging.ipynb`

The same as the above example, but using a Jupyter notebook.
Binary file not shown.
Loading
Loading