A binned fit intermediate representation library
Project description
rhalphalib
Quickstart
# check your platform: CC7 shown below, for SL6 it would be "x86_64-slc6-gcc8-opt"
source /cvmfs/sft.cern.ch/lcg/views/LCG_96python3/x86_64-centos7-gcc8-opt/setup.sh # or .csh, etc.
pip install --user https://github.com/nsmith-/rhalphalib/archive/master.zip
Take a look at test_rhalphalib.py for examples of how to use the package.
Requirements
Standalone model creation requires:
- Python 2.7+ or 3.6+
numpy >= 1.14
RooFit+combine rendering requires:
ROOT < 6.18
(i.e. LCG96 is too recent, CMSSW 8 combine cannot handle it. LCG95a is fine)
Use in combine requires, well, combine. The CMSSW 10 (CC7) recipe satisfies the requirements, however the CMSSW 8 recipe has a too old version of numpy.
There is a python 3 compatible standalone fork of combine available. It is also possible to render the model folder using the quickstart recipe, and then move the folder or switch environments to a CMSSW+combine environment and proceed from there.
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
rhalphalib-0.1.3.tar.gz
(18.9 kB
view hashes)
Built Distribution
rhalphalib-0.1.3-py3-none-any.whl
(21.6 kB
view hashes)
Close
Hashes for rhalphalib-0.1.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 894df15df0d9911716d8031f5463e9a42a6cfe606d6e606e6e7f38eabfc49f69 |
|
MD5 | be5b626469b8350b8b87bc8d8e9c98ec |
|
BLAKE2b-256 | ab708767358348f368245a3f4448baf1126265922a9cf8a010be614aca307c50 |