Skip to main content

Event Isotropy

A Robust Measure of Event Isotropy at Colliders (https://arxiv.org/abs/2004.06125)

C. Cesarotti and J. Thaler

Repository created December 2019 by Cari Cesarotti (ccesarotti@g.harvard.edu)

Installation

From this repository

In your Python environment from the top level of this repository run

python -m pip install .

From GitHub

In your Python environment run

python -m pip install "git+https://github.com/caricesarotti/event_isotropy.git#egg=eventIsotropy"

Event Isotropy Code

emdVar.py

This is the module with the functions to calculate the distances between sets for several distance measures as well as the event isotropy.

  • Geometries For the spherical case, one can calculate the measure (_cdist_cos(X,Y)) or the measure (_cdist_sqrt_cos(X,Y)). To calculate, pass these functions arrays X, Y of the 3 momenta of each set.

For the cylindrical case, one can calculate the squared Euclidean distance in space (_cdist_phi_y(X,Y,ymax)) or the unnormalized Euclidean distance in (_cdist_phi_y_sqrt(X,Y)) space. Pass these functions arrays of the position in space and the maximum value of y ymax.

For the ring case, one can calculate the distance in (_cdist_phi(X,Y)) and (_cdist_phicos(X,Y)). Pass the function the arrays of values X, Y.

  • Event Isotropy Calculation To calculate the event isotropy, use the function emd_Calc(ev0,ev1,M) where ev0, ev1 are the energy weights of the event and the uniform event, and M is the distance matrix between them as computed by one of the previous functions. Note, this function will also accept user defined distance matrices of the correct dimension.

spherGen.py

Generates spherical samples and some related quantities. To generate a spherical quasi-uniform event with particles for , use sphericalGen(i)

cylGen.py

Generates cylindrical samples and ring-like samples, as well as related quatities. To generate a cylinder with uniform tiling in the plane, use cylinderGen(piSeg, etaMax) where piSeg is an integer, the number of slices in .

For a ring-like sample, use ringGen(piSeg) where piSeg is an integer, the number of slices in .

Examples

There are three example programs in the examples directory. The examples have external dependencies, but can be installed through the test extra with

python -m pip install --upgrade -e .[test]

evIsoSphere.py file i

Calculates the spherical event isotropy of an uploaded event. User specifies file name of event and spherical index i. The file should be saved as the four momenta of the particles. i is the sphere index, not particle number, and corresponds to the tiling of the quasi uniform comparison sphere. The number of particles in the sphere will be .

evIsoCyl.py

Calculates the cylindrical event isotropy of very coarse to very finely gridded cylinders for random extremal transverse dijet configurations. In the limit of large n, we expect to see the event isotropy drop to zero. No user input needed.

evIsoRing.py

Calculates the ring isotropy between two rings at random orientations and with potentially different particle number. Generates 1000 random configurations to average event isotropy for given configuration. No user input needed.

Release files for eventIsotropy 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for eventIsotropy 0.0.1
File Size Uploaded
eventIsotropy-0.0.1.tar.gz 9.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for eventIsotropy 0.0.1
File Interpreter ABI Platform
eventIsotropy-0.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 18.2 kB

Release files / eventIsotropy-0.0.1.tar.gz

Download URL eventIsotropy-0.0.1.tar.gz
Size 9.2 kB
Tags Source
SHA-256 checksum
How to use checksums
aafc0b70ef66746f1f2f44057ac5e60d31cb7a88f33452365da35d9927172181
BLAKE2b-256 checksum
How to use checksums
e49e9ba90f5f96004db8f53b5ae0aa342d4c944a313098e56ce9876157852988
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.12

Release files / eventIsotropy-0.0.1-py3-none-any.whl

Download URL eventIsotropy-0.0.1-py3-none-any.whl
Size 9.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a36fa91331758a37463a09ce43316f69e87a6904d8effd3b4fcc9d5616454345
BLAKE2b-256 checksum
How to use checksums
9dd165e58d5ce82a1a18281f78d33dd8139695c67597243934673b1a4a11ef9a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.12

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page