Skip to content
Snippets Groups Projects

Migration of semileptonic trigger SF library to hist

Merged Davide Valsecchi requested to merge github/fork/mmarchegiani/main into main

Created by: mmarchegiani

The present PR re-implements the semileptonic trigger SF library in order to migrate from Coffea histograms to hist histograms.

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
6 6
7 7 import mplhep as hep
8 8 import hist
9 from hist import Hist
9 10 from coffea import processor
10 from coffea.hist import Bin, Hist, plot
11 #from coffea.hist import Bin, Hist, plot
  • Davide Valsecchi
    Davide Valsecchi @dvalsecc started a thread on commit 82a87abc
  • 116 109 self._year = self.events.metadata["year"]
    117 110 self._triggers = triggers[self.cfg.finalstate][self._year]
    118 111 self._btag = btag[self._year]
    119 self._isMC = self.events.metadata["isMC"]
    112 self._isMC = self.events.metadata["isMC"] == "True"
  • Review: Commented

    The changes are fine for me!

  • Merged by: valsdav at 2022-11-10 09:22:38 UTC

  • Please register or sign in to reply
    Loading