Skip to content
Snippets Groups Projects

Remove special field EVENT, add parameter event_variables to FunTuple

Merged Sascha Stahl requested to merge remove_event_field into master
All threads resolved!

Closes DaVinci#43 (closed)

With this merge request event variables have their own parameter in the FUnTuple function instead of using a special key in the variables dict.

evt_variables = FunctorCollection({
        "RUNNUMBER":
        F.RUNNUMBER(odin),
        "EVENTNUMBER":
        F.EVENTNUMBER(odin),
        "Hlt2_TCK":
        F.TCK(hlt2_dec),
        "Sel":
        F.DECISIONS(Lines=hlt2_lines, DecReports=hlt2_dec),
})
variables = {
    "D0": d0_variables,
    "Kminus": daughter_variables,
    "piplus": daughter_variables}

my_tuple = Funtuple(
        name="Tuple",
        tuple_name="DecayTree",
        fields=fields,
        variables=variables,
        event_variables=evt_variables,
        inputs=d02kpi_data)

Requires DaVinci!669 (merged)

Edited by Sascha Stahl

Merge request reports

Merge request pipeline #3681851 passed

Merge request pipeline passed for 819c9b15

Merged by Patrick KoppenburgPatrick Koppenburg 2 years ago (Mar 11, 2022 10:05am UTC)

Loading

Pipeline #3690375 passed

Pipeline passed for 14e75c15 on master

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Patrick Koppenburg resolved all threads

    resolved all threads

  • mentioned in commit 14e75c15

  • Patrick Koppenburg mentioned in merge request !878 (merged)

    mentioned in merge request !878 (merged)

  • Please register or sign in to reply
    Loading