Skip to content

Commit

Permalink
Link to original samples
Browse files Browse the repository at this point in the history
  • Loading branch information
prayagyadav committed Oct 15, 2024
1 parent 09f6f61 commit 8c2b2e8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion tests/test_nanoevents_fcc_spring2021.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@


def _events(**kwargs):
# Path to original sample : /eos/experiment/fcc/ee/generation/DelphesEvents/spring2021/IDEA/p8_ee_ZH_ecm240/events_082532938.root
path = os.path.abspath("tests/samples/test_FCC_Spring2021.root")
factory = NanoEventsFactory.from_root(
{path: "events"}, schemaclass=FCC.get_schema(version="latest"), **kwargs
Expand Down Expand Up @@ -169,4 +170,4 @@ def test_KaonParent_to_PionDaughters_Loop(eager_events):
# Is that parent K(S)0 ?
nested_bool_parent = ( p.PDG == PDG_IDs['K(S)0'] )
daughters_have_K_S0_parent = awkward.all(awkward.ravel(nested_bool_parent))
assert daughters_have_K_S0_parent
assert daughters_have_K_S0_parent
3 changes: 2 additions & 1 deletion tests/test_nanoevents_fcc_winter2023.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@


def _events(**kwargs):
# Path to original sample: /eos/experiment/fcc/ee/generation/DelphesEvents/winter2023/IDEA/wzp6_ee_mumuH_Hbb_ecm240/events_159112833.root
path = os.path.abspath("tests/samples/test_FCC_Winter2023.root")
factory = NanoEventsFactory.from_root(
{path: "events"}, schemaclass=FCC.get_schema(version="latest"), **kwargs
Expand Down Expand Up @@ -169,4 +170,4 @@ def test_KaonParent_to_PionDaughters_Loop(eager_events):
# Is that parent K(S)0 ?
nested_bool_parent = ( p.PDG == PDG_IDs['K(S)0'] )
daughters_have_K_S0_parent = awkward.all(awkward.ravel(nested_bool_parent))
assert daughters_have_K_S0_parent
assert daughters_have_K_S0_parent

0 comments on commit 8c2b2e8

Please sign in to comment.