TopEFT / topeft

15 stars 24 forks source link

Convert flip rate `coffea.hist` to `hist` #397

Closed bryates closed 4 months ago

bryates commented 7 months ago

The pkl files containing the fake rates were made with coffea.hist. We need to convert them to hist.

    AttachPerLeptonFR(e_fo, flavor = "Elec", year=year)
  File "/afs/crc.nd.edu/user/b/byates2/coffea2023/topeft/topeft/modules/corrections.py", line 267, in AttachPerLeptonFR
    flip_hist = pickle.load(fin)
ModuleNotFoundError: No module named 'coffea.hist'