PocketCoffea#
Introduction#
PocketCoffea is a slim analysis framework based on Coffea for CMS NanoAOD events.
The goal of the framework is to define an HEP analysis in a declarative way where possible (with a well defined configuration file), and with python code where customization is needed (by defining new coffea processors).
PocketCoffea defines a customizable structure to process NanoAOD events and define weights, categories, histograms. This
is done thanks to a BaseProcessor class which defines a workflow of operations to go from NanoAOD to histograms.
The user can customize the process from the configuration file or by redefining well-defined steps in the workflow.
The framework features a powerful calibration system that handles object corrections (JEC, electron energy scale, etc.) and systematic variations in a modular, configurable way. See the Calibrators documentation for details.
The framework handles cleanly the analysis’s parameters and metadata, separating in a transparent way the definition of an analysis phase space and metadata from CMS groups, and an analysis’s run configuration.
Tip
If you wish to jump into practice have a look at the full analyses example.
Tutorials for newcomers here
Installation instructions available here
If you want a broader introduction to the components of PocketCoffea have a look at Concepts.
Looking for the configuration manual? Configuration
New: Learn about object calibrations and systematic variations: Calibrators
- Changelog
- Installation
- Concepts
- Running the analysis
- Executors
- Full analysis examples
- Configuration
- Calibrators
- Plotting
- Cutflow plotting
- Statistical Analysis
- Parameters
- Datasets handling
- HOW-TOs for common tasks
- Running with law
- Analysis performance
- API Reference Guide