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.12.tar.gz (10.7 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.12-py3-none-any.whl (11.3 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pocket_coffea-0.9.12.tar.gz
  • Upload date:
  • Size: 10.7 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.12.tar.gz
Algorithm Hash digest
SHA256 85551310eb36f3aa4d989ad84c5234d5d5d9deaa10e1650de0ae2438514df63a
MD5 ad71ae77c7741ac446ae5054c2b9d9da
BLAKE2b-256 12035aa727afcd8922de7afbe0441dc3091384a8582d55b5079c726bc5a640cc

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pocket_coffea-0.9.12-py3-none-any.whl
  • Upload date:
  • Size: 11.3 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.12-py3-none-any.whl
Algorithm Hash digest
SHA256 4b1bd89fab39920b6f89c1a661d57110f8efd5394562b205a893853ca827186e
MD5 6bf91b2c6af16bb55cc02c63bf256eb7
BLAKE2b-256 bd9742a54f9dce8dccfc11541128ad7b0382ef6eb326ddd9be5e16ee384a496c

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