rhalphalib
Quickstart
CMSSW with EL8/EL9
We use the scram-venv utility to create a python virtual environment in our CMSSW area:
cmsrel CMSSW_14_1_0_pre4
cd CMSSW_14_1_0_pre4/src
cmsenv
scram-venv
cmsenv
git clone https://github.com/cms-analysis/HiggsAnalysis-CombinedLimit.git HiggsAnalysis/CombinedLimit
cd HiggsAnalysis/CombinedLimit
git checkout v10.1.0
scram b -j4
python3 -m pip install git+https://github.com/nsmith-/rhalphalib.git
Elsewhere (no warranty)
First, install Combine v10 using your choice of installation instructions (with CMSSW, using LCG, or inside a Conda environment). In a python virtual environment, run:
python3 -m pip install --user git+https://github.com/nsmith-/rhalphalib.git
Usage
Take a look at test_rhalphalib.py for examples of how to use the package. You can run a test with, e.g.
curl -Ol https://raw.githubusercontent.com/nsmith-/rhalphalib/master/tests/test_rhalphalib.py
python3 test_rhalphalib.py
cd tmp/testModel
. build.sh
combine -M FitDiagnostics model_combined.root
An example output of the final line is:
<<< Combine >>>
<<< v10.1.0 >>>
>>> Random number generator seed is 123456
>>> Method used is FitDiagnostics
--- FitDiagnostics ---
Best fit r: 0.999999 -0.208174/+0.212715 (68% CL)
Done in 0.59 min (cpu), 0.59 min (real)
Metadata
Release files for rhalphalib 0.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| rhalphalib-0.3.0.tar.gz | 34.9 kB | With provenance | Details for rhalphalib-0.3.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| rhalphalib-0.3.0-py3-none-any.whl | Python 3 | none | any | Details for rhalphalib-0.3.0-py3-none-any.whl |
Total release size: 66.6 kB
Release files / rhalphalib-0.3.0.tar.gz
| Download URL | rhalphalib-0.3.0.tar.gz |
|---|---|
| Size | 34.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d7689b28e0e09af13f7464cc0cf7c77404ed0d859dfefff5f66dca215808a957
|
|
BLAKE2b-256 checksum How to use checksums |
b341776622413a262755a1a268bad54f94e8ff031cbf033740969c32d63bedc8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Feb 26, 2025.
Transparency logRelease files / rhalphalib-0.3.0-py3-none-any.whl
| Download URL | rhalphalib-0.3.0-py3-none-any.whl |
|---|---|
| Size | 31.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
32773a195bfc09f628f38d6ed522aaa9623abcb1ed4d6302717bf8d7f8e2b92f
|
|
BLAKE2b-256 checksum How to use checksums |
8c5b9c3dc0c70cbfd107cbc4ee876bc629ea011674ebc5635ef5938167fe1362
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Feb 26, 2025.
Transparency logSecurity for rhalphalib 0.3.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for rhalphalib-0.3.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Feb 26, 2025.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.