Skip to main content

Interface for the CERN Yellow Report

Project description

About

yellowhiggs provides an interface with Higgs production cross section and branching ratio data in the CERN Yellow Report:

Automatic Installation

Automatically install the latest version of yellowhiggs with pip:

pip install --user yellowhiggs

or with easy_install:

easy_install --user yellowhiggs

Omit the --user for a system-wide installation (requires root privileges).

To upgrade an existing installation use the -U option in the pip or easy_install commands above.

Manual Installation

Get the latest tarball on PyPI

Untar and install (replace X appropriately):

tar -zxvf yellowhiggs-X.tar.gz
cd yellowhiggs-X

To install yellowhiggs into your home directory if using at least Python 2.6:

python setup.py install --user

or with older Python versions:

python setup.py install --prefix=~/.local

You might need to first create the installation directory before executing the line above (for Python 2.4):

mkdir -p ~/.local/lib/python2.4/site-packages/

Usage

An example of how to use yellowhiggs:

>>> import yellowhiggs
>>>
>>> yellowhiggs.xsbr(7, 130, 'vbf', 'bb')
(0.5689219999999999, 0.584851816, 0.555836794)
>>>
>>> yellowhiggs.xsbr(7, 130, 'vbf', 'tautau')
(0.0632392, 0.0650098976, 0.06178469839999999)
>>>
>>> yellowhiggs.xsbr(7, 125, 'ggf', 'gammagamma')
(0.0350599, 0.0418965805, 0.0297658551)
>>>
>>> yellowhiggs.xs(7, 150, 'vbf')
(0.9617, 0.9895892999999999, 0.9405426)
>>>
>>> yellowhiggs.br(150, 'tautau')
0.0178
>>> yellowhiggs.br(155, 'tautau')
0.0105

Cross sections are returned in units of [pb].

  • xs returns the (central cross section, high value, low value) for a center-of-mass energy [TeV], Higgs mass [GeV], and production mode.

  • br returns the branching ratio for a Higgs mass [GeV] and decay channel.

  • xsbr returns the cross section times branching ratio for a center-of-mass energy [TeV], Higgs mass [GeV], production mode, and decay channel.

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

yellowhiggs-1.0a2.tar.gz (51.6 kB view details)

Uploaded Source

File details

Details for the file yellowhiggs-1.0a2.tar.gz.

File metadata

  • Download URL: yellowhiggs-1.0a2.tar.gz
  • Upload date:
  • Size: 51.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for yellowhiggs-1.0a2.tar.gz
Algorithm Hash digest
SHA256 ef6ecb76e2cf1aebdc594c97bd352aca1ed6c219c54ec28d7b5e2d4859c6159f
MD5 e1c4eb015ab7ceec602c9fb56feb2fd3
BLAKE2b-256 f0a869585169c8b0d2f439bca2dec2a939357fb82180b86b4b4b6ed507748c4a

See more details on using hashes here.

Supported by

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