Skip to main content

Tools for doing Collider HEP style analysis with columnar operations at Fermilab

Project description

This package is currently organized into three subpackages:

  1. lookup_tools - This package manages importing corrections and scale factors, and provides a unified interface for evaluating those corrections on physics objects.
    • lookup_tools.extractor: handles importing the lookups from root files

    • lookup_tools.evaluator: handles organizing, providing an interface for, and evaluating the lookups

  2. analysis_objects - This package contains definitions of physics objects casted in the language of JaggedArrays
    • JaggedCandidateArray - This object represents a list of candidates (things with four momenta and other attribute). Upon creation one can add extra columns of data that were not imported at construction, and all columns are accessible as though they were attributes of the class. This gives analysts a simple-to-read but rich, descriptive, and highly configurable object to represent muons, electrons, etc.

    • JaggedTLorentzVectorArray - This is a jagged representation of a TLorentzVectorArray.

  3. striped - This package defines transformations from the raw striped database into JaggedArrays and JaggedCandidateArrays
    • ColumnGroup - This object takes the name of a column that has attributes in striped and creates a dictionary of all given attributes.

    • PhysicalColumnGroup - Just like ColumnGroup except it requires a “p4” attribute to be defined, and is specialized to aide in creating JaggedCandidateArrays

    • jaggedFromColumnGroup - This is a function that takes a column group and returns a JaggedArray if it is a normal column group, or a JaggedCandidateArray if given a PhysicalColumnGroup

Installation

Install fnal-column-analysis-tools like any other Python package:

pip install fnal-column-analysis-tools

or similar (use sudo, --user, virtualenv, or pip-in-conda if you wish).

Strict dependencies:

The following are installed automatically when you install uproot with pip:

  • numpy (1.15+)

  • awkward-array to manipulate data from non-flat TTrees, such as jagged arrays (part of Scikit-HEP)

  • uproot-methods to allow expressions of things as lorentz vectors

  • numba just-in-time compilation of python functions

  • scipy for statistical functions

  • matplitlib as a plotting backend

  • uproot for interacting with ROOT files

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

fnal-column-analysis-tools-0.4.4.tar.gz (58.3 kB view details)

Uploaded Source

Built Distribution

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

fnal_column_analysis_tools-0.4.4-py2.py3-none-any.whl (86.1 kB view details)

Uploaded Python 2Python 3

File details

Details for the file fnal-column-analysis-tools-0.4.4.tar.gz.

File metadata

  • Download URL: fnal-column-analysis-tools-0.4.4.tar.gz
  • Upload date:
  • Size: 58.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.8

File hashes

Hashes for fnal-column-analysis-tools-0.4.4.tar.gz
Algorithm Hash digest
SHA256 fc4ea32851a908d9010ca6e878c55e6eec5c159007e9581835fb22761516f091
MD5 e6b13451d75ae1ca8840424b83700020
BLAKE2b-256 3c6201d5f23699740cdab6ac42401adfd359487109d07057853ea26e4895ae6d

See more details on using hashes here.

File details

Details for the file fnal_column_analysis_tools-0.4.4-py2.py3-none-any.whl.

File metadata

  • Download URL: fnal_column_analysis_tools-0.4.4-py2.py3-none-any.whl
  • Upload date:
  • Size: 86.1 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.8

File hashes

Hashes for fnal_column_analysis_tools-0.4.4-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 20636fe6ece49ab87281c6216314bbb73e0ad2396c4474473898ca6247212524
MD5 f63ed51635523a88410584ed1a50f806
BLAKE2b-256 cc577c23e5868379e332d1a9f675f1a50f074d0936e72767957193cca57e704b

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