Skip to content

Releases: PocketCoffea/PocketCoffea

0.9.11

27 Apr 08:02

Choose a tag to compare

New features

  • Weights by subsamples (#294): per-subsample weights, inclusive and by-category, with full variation (up/down) support. Subsample-specific weight variations are correctly isolated per subsample in the histogram variation axis.
  • Shape variations by subsamples (#330): subsample-specific shape (calibrator) variations. Each subsample can carry a different set of shape variations; histogram axes are built per-subsample so the variation labels are correctly isolated.
  • Fix histogram filling for subsample weight and shape variations (#491): several bugs in HistManager were fixed — wrong variation axis used in the fill loop when subsamples are configured, subsample-specific shape variations silently skipped during filling, and subsample nominal weights not applied during shape-variation passes. Comprehensive integration tests added.
  • Variations-aware skimming (#467): the skim step now retains events that pass at least one preselection variation (not just the nominal), ensuring shape-variation passes do not lose events skimmed away by the nominal selection.
  • MET Type-1 correction calibrator (#472): new calibrator for MET Type-1 propagation, including unclustered energy systematics. Extended to Run2.
  • Multi-dimensional variables (#374): HistConf now supports multi-dimensional delayed-evaluation variables.
  • Jet pT regression (#461): jet pT regression support in the jet calibrator, with merge_collections_for_variations and collection_name_alias options to merge regressed and standard jet collections.
  • JetID from correctionlib (#421, #395): JetID delivered via correctionlib, replacing hardcoded values.
  • msoftdrop correction (#420): soft-drop mass correction for AK8 jets.
  • Default JEC via correctionlib (#401, #418): JEC/JER now use correctionlib as the default backend.
  • Read unpublished remote datasets over XRootD (#461): dataset builder can now discover and read files from unpublished XRootD endpoints.
  • merge_columns CLI command (#482): new pocket-coffea merge-columns sub-command to merge columnar outputs.
  • CCsorted function (#456): utility to sort collections by a given field with stable ordering.

Scale factors and corrections

  • Muon promptMVA scale factors, including ISO SF for 2024 (#470)
  • Electron promptMVA scale factors with promptMVA ID (#474)
  • Updated BTV scale factors for 2024 (#473)
  • Lepton (electron and muon) scale factors for 2024 (#466)
  • Electron trigger scale factor added to common weights for Run3 (#476); sf_ele_trigger renamed for Run2 consistency (#481)
  • Updated electron scale factors and electron SS energy scale/smearing (#444, #414, #419)
  • Muon calibrator update (#432)
  • Rochester muon momentum corrections (#475): new MuonsRochesterCalibrator for Run 2 Ultra-Legacy muon pT corrections using the RoccoR library; correction files included for 2016 pre/post-VFP, 2017, and 2018.
  • Muon SF lower pT bound for Run3 set to 26 GeV; electron to 25 GeV (#476)
  • Jets for NanoAODv12 (#355)
  • JetVetoMap fix (#430)
  • FatJet ID fix and 2024 AK8 support (#429, #440)
  • Updated JEC data tags for 2022/2023 (#489); JEC configuration for 2023 preBPix MC
  • Lepton mvaTTH discriminant added to lepton objects (#455)
  • UParT tagger scores added to jet_taggers_hists() (#460)
  • Updated luminosity values for 2023 and 2024; golden JSON updated for 2022, 2023, 2024 and added for 2025 (#441, #490)
  • Updated correctionlib tags (#415)

Plotter and output improvements

  • Plotter: correct handling of subsamples and weight/shape variations (#442)
  • Plotter: fix systematic band rendering (#408)
  • Save shape variation arrays to output (#368)
  • Cutflow: major rework with subsample support and various fixes (#369); fix for cutflow with subsamples in plot scripts; fix handling of variations in sum-of-weights
  • Datacard output support (#407)
  • New analysis metadata stored in output (#409)

LAW integration

  • Updated LAW task parameters and skipbadfiles option (#464)
  • LAW tasks for plotting (#393)
  • Dask scheduler support in runner (#403, #411)
  • Updated dataset-definition parameter handling (#464)

Bug fixes

  • Fixed priority list not being passed to dataset builder (#485)
  • NanoAOD v15 compatibility for Run 2 UL (#457): rho field access, PU jet ID, and JER now use the correct NanoAOD-version-aware branch paths (Rho.fixedGridRhoFastjetAll for v12+, fixedGridRhoFastjetAll for <=v9); PUid selection correctly disabled for NanoAOD v15.
  • Fixed jets variations for AK8Puppi collection
  • Fixed jets variations and config when using collection_name_alias
  • Fixed legacy calibrator raw-factor NaN (#428)
  • Fixed filesets configuration exception message with filter details (#448)
  • Fixed histogram filling for only_variations histograms (#392)
  • Fixed calibrators variations handling (#389)
  • Fixed muon SF for Run3 (#397)
  • Fixed dump_ak_array for XRootD mkdir (#448)
  • Improved hadd_skimmed_files, check_jobs, and merge_output scripts

New Contributors

Full Changelog: 0.9.10...0.9.11

0.9.10

12 Aug 07:34

Choose a tag to compare

Many improvements on different fronts:

  • First version of the datacard export system
  • improved handling of big analyses on condor@lxplus executor: automatic resubmission and update of the filelist for failing remote reading
  • New sites supported by new executors
  • Improvements in the plotting scripts

What's Changed

New Contributors

Full Changelog: 0.9.9...0.9.10

0.9.9

31 Mar 08:04

Choose a tag to compare

Minor version update with many improvements, new executors and few new features.

What's Changed

New Contributors

Full Changelog: 0.9.8...0.9.9

0.9.8

19 Nov 09:11

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 0.9.7...0.9.8

0.9.7

07 Oct 07:48

Choose a tag to compare

What's Changed

  • improving dataset_query to add several metadata information by @uttiyasarkar in #188
  • Basic methods to deal with GenParticles and GenJets, and more tagger options for Jets by @andreypz in #233
  • Introducing dask for RWTH executor by @andreypz in #234
  • Weights cache to local variable to avoid dask issues by @valsdav in #240
  • Assign provenance to b-quarks in ttHbb dileptonic decays by @matintorkian in #239
  • Update/law tasks by @felixzinn in #242
  • Save rescaling of genWeight to make skimmed NanoAOD coherent by @valsdav in #241

New Contributors

Full Changelog: 0.9.6...0.9.7

v0.9.6

11 Sep 11:14

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 0.9.5...0.9.6

v0.9.5

28 Aug 11:22

Choose a tag to compare

Summary

  • Generalized handling of common Weights and user-defined Weights
  • Added first integration of LAW tasks to stear an analysis running PocketCoffea workflows
  • Many improvements in the plotting scripts
  • Added Dataset discovery cli to dynamically query for dataset and build the dataset definition file
  • Cleaning up of the default skimming function (Breaking changes! see below)
  • Added CDCI tests of utils and full configuration tests
  • New parameters exploration CLI
  • Added more executors
  • Tested the Swan AF and INFN AF

Thanks to all the contributors!! :)

Breaking changes

Checkout the list of breaking changes in the docs page: https://pocketcoffea.readthedocs.io/en/stable/changelog.html#breaking-changes

What's Changed

Full Changelog: 0.9.4...0.9.5

0.9.4

21 Jun 08:21

Choose a tag to compare

Full Changelog: 0.9.3...0.9.4

v0.9.3

10 Jun 08:44

Choose a tag to compare

What's Changed

  • Implementing JECs for 2022 and 2023 eras by @andreypz in #174
  • Enhancement/plotting by @felixzinn in #178
  • Allow INFN redirector to be used when no sites are found with -ws option by @andreypz in #176

Full Changelog: 0.9.2...0.9.3

v0.9.0

22 May 16:49
cb0d35d

Choose a tag to compare

PocketCoffea v0.9.0

  • New executor plugin setup to support multiple sites and analysis facilities
  • New defaults for Run3 corrections
  • Improve CLI interface and unified scripts under pocket-coffea command
  • Added dataset-discovery-cli to build dataset_definition files

What's Changed

New Contributors

Full Changelog: 0.1...0.9.0