Skip to main content

Configurable analysis framework based on Coffea for CMS NanoAOD events analysis

Project description

    ____             __        __  ______      ________          
   / __ \____  _____/ /_____  / /_/ ____/___  / __/ __/__  ____ _
  / /_/ / __ \/ ___/ //_/ _ \/ __/ /   / __ \/ /_/ /_/ _ \/ __ `/
 / ____/ /_/ / /__/ ,< /  __/ /_/ /___/ /_/ / __/ __/  __/ /_/ / 
/_/    \____/\___/_/|_|\___/\__/\____/\____/_/ /_/  \___/\__,_/  

Documentation Status PyPI version PyPI platforms GitHub Discussion

PocketCoffea is a slim configuration framework for CMS NanoAOD analysess based on Coffea.

The goal of the framework is to define an HEP analysis in a declarative way where possible (with a well defined configuration files), and with python code where customization is needed (by subclassing the base PocketCoffea processor).

PocketCoffea defines a customizable structure to process NanoAOD events and define weights, categories, histograms. This is done thans to a BaseProcessor class which defines a workflow of operations to go from Raw NanoAOD to histograms. The user can customize the process from the confguration file or by redefining well-defined steps in the workflow.

Documentation

Testing

At the moment this repository is mirrored to the CERN GitLab: https://gitlab.cern.ch/cms-analysis/general/PocketCoffea.

Tests are running on the GitLab CDCI for every commit. Docker images are created for the latest, stable branchs, and for tags, and are pushed to /cvmfs with the unpacked CERN service.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pocket_coffea-0.9.11.tar.gz (10.4 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pocket_coffea-0.9.11-py3-none-any.whl (11.1 MB view details)

Uploaded Python 3

File details

Details for the file pocket_coffea-0.9.11.tar.gz.

File metadata

  • Download URL: pocket_coffea-0.9.11.tar.gz
  • Upload date:
  • Size: 10.4 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for pocket_coffea-0.9.11.tar.gz
Algorithm Hash digest
SHA256 b6e5b2c017b54e57224bf43fcc6f6192b1b054fe86556069eeb7424507b818fc
MD5 7c008aba6604918f2cc560562147258d
BLAKE2b-256 7e52b8b00780468d5f56b93eb1198f17c249c3c520a638955059227aa85f0fa8

See more details on using hashes here.

File details

Details for the file pocket_coffea-0.9.11-py3-none-any.whl.

File metadata

  • Download URL: pocket_coffea-0.9.11-py3-none-any.whl
  • Upload date:
  • Size: 11.1 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for pocket_coffea-0.9.11-py3-none-any.whl
Algorithm Hash digest
SHA256 ce768ebded7c81bd39e5f9d34c814dd282ff58cf84e1c41ae48539e38bd1249f
MD5 483ab82d645a1837fed3cba013268255
BLAKE2b-256 7cdb30de3d9c6d4b212a7aa5ad4031f940369d40b5522c2ae135dae5bb4196af

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page