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 handles cleanly the analysis’s parameters and metadata, separing 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
- Changelog
- Installation
- Running the analysis
- Executors
- Run a PocketCoffea Analysis with law
- Full analysis examples
- HOW-TOs for common tasks
- Plotting
- Concepts
- Configuration
- Parameters
- Datasets handling
- Analysis performance
- API Reference Guide