diff --git a/configs/V29/rate_plots/all_rate_plots.yaml b/configs/V29/rate_plots/all_rate_plots.yaml index 054eef04..d2aa5401 100644 --- a/configs/V29/rate_plots/all_rate_plots.yaml +++ b/configs/V29/rate_plots/all_rate_plots.yaml @@ -1,3 +1,15 @@ +HTRates: + sample: MinBias + version: V29 + test_objects: + - phase1PuppiHT:default + # - seededConePuppiHT:default + # - trackerJet:default + binning: + min: 40 + max: 420 + step: 20 + JetDefaultRates: sample: MinBias version: V29 diff --git a/menu_tools/utils/scalings.py b/menu_tools/utils/scalings.py index 3b239ca4..65bbf00f 100644 --- a/menu_tools/utils/scalings.py +++ b/menu_tools/utils/scalings.py @@ -37,13 +37,10 @@ def load_scaling_params(obj: Object, eta_range: str) -> tuple[float, float]: def get_pt_branch(arr: ak.Array) -> ak.Array: if "pt" in arr.fields: - print("pt branch selected for offline") pt_orig = arr.pt elif "et" in arr.fields: - print("et branch selected for offline") pt_orig = arr.et elif "" in arr.fields: - print("'' branch selected for offline") pt_orig = arr[""][:, 0] else: raise RuntimeError("Unknown pt branch!")