Skip to content

Commit

Permalink
adding to test_exclusive_jets_softdrop_grooming test
Browse files Browse the repository at this point in the history
  • Loading branch information
Ka Wa Ho committed Sep 12, 2024
1 parent 3e2dba7 commit 3c6588f
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions tests/test_002-exclusive_jets.py
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,8 @@ def test_exclusive_jets_softdrop_grooming():
{"px": 32.45, "py": 63.21, "pz": 543.14, "E": 599.56},
],
"msoftdrop": 488.2395243115817,
"deltaRsoftdrop": 0.009873899817126915,
"symmetrysoftdrop": 0.49727522889673303,
"ptsoftdrop": 142.88274528437645,
"etasoftdrop": 2.726117171791057,
"phisoftdrop": 1.1012644074821902,
Expand Down Expand Up @@ -275,6 +277,18 @@ def test_exclusive_jets_softdrop_grooming():
rtol=1e-12,
atol=0,
),
ak.isclose(
ak.Array([softdrop_output.deltaRsoftdrop]),
ak.Array([softdrop.deltaRsoftdrop]),
rtol=1e-12,
atol=0,
),
ak.isclose(
ak.Array([softdrop_output.symmetrysoftdrop]),
ak.Array([softdrop.symmetrysoftdrop]),
rtol=1e-12,
atol=0,
),
ak.isclose(
ak.Array([softdrop_output.ptsoftdrop]),
ak.Array([softdrop.ptsoftdrop]),
Expand Down

0 comments on commit 3c6588f

Please sign in to comment.