Tools for doing Collider HEP style analysis with columnar operations at Fermilab
Project description
.. inclusion-marker-1-5-do-not-remove
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
.. inclusion-marker-2-do-not-remove
Installation
============
Install uproot-methods like any other Python package:
.. code-block:: bash
pip install fnal-column-analysis-tools
or similar (use ``sudo``, ``--user``, ``virtualenv``, or pip-in-conda if you wish).
Strict dependencies:
====================
- `Python <http://docs.python-guide.org/en/latest/starting/installation/>`__ (2.7+, 3.4+)
The following are installed automatically when you install uproot with pip:
- `Numpy <https://scipy.org/install.html>`__ (1.13.1+)
- `awkward-array <https://pypi.org/project/awkward>`__ to manipulate data from non-flat TTrees, such as jagged arrays (`part of Scikit-HEP <https://github.com/scikit-hep/awkward-array>`__)
- `uproot-methods <https://pypi.org/project/uproot-methods>`__ to allow expressions of things as lorentz vectors
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
.. inclusion-marker-2-do-not-remove
Installation
============
Install uproot-methods like any other Python package:
.. code-block:: bash
pip install fnal-column-analysis-tools
or similar (use ``sudo``, ``--user``, ``virtualenv``, or pip-in-conda if you wish).
Strict dependencies:
====================
- `Python <http://docs.python-guide.org/en/latest/starting/installation/>`__ (2.7+, 3.4+)
The following are installed automatically when you install uproot with pip:
- `Numpy <https://scipy.org/install.html>`__ (1.13.1+)
- `awkward-array <https://pypi.org/project/awkward>`__ to manipulate data from non-flat TTrees, such as jagged arrays (`part of Scikit-HEP <https://github.com/scikit-hep/awkward-array>`__)
- `uproot-methods <https://pypi.org/project/uproot-methods>`__ to allow expressions of things as lorentz vectors
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Close
Hashes for fnal-column-analysis-tools-0.0.1.dev3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 066aede3d218c78c4668bf3b7fd56d60989c5a098c7fc3e5c7261394b632e556 |
|
MD5 | 3f84d0cc953ee4e8c8f36073bbef1b74 |
|
BLAKE2b-256 | 1db530a689b0d0cb40317cfba950941bfe48846ffe41dde926d0b069169a145d |
Close
Hashes for fnal_column_analysis_tools-0.0.1.dev3-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 90474768f9cfaa6607085990fa297d549105add782eaa0d2d8f90c224e5ab5bc |
|
MD5 | 521c9fef99a4037db66365502eb3986a |
|
BLAKE2b-256 | df7d77c293b7091b37340fe8a0d856c66727748a2b2c79057278b5a1f07335ec |
Close
Hashes for fnal_column_analysis_tools-0.0.1.dev3-py2.7.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | 63fd34a429377843523a2004acf550e86c082ba23b0df5339e177616df4d609a |
|
MD5 | 7337176efd4e94988454c129c0bc5ffa |
|
BLAKE2b-256 | dd3fdd95812e7f4dd05c621e0ea84bc46cd8ba7a08a918bb7c02bc58e229d2da |