wrapper for simplified CP reweighting using HAWK generator
Project description
This is a wrapper around Fortran-routines written by M. Schumacher
using routines extracted from HAWK. The
module hawkroutines
contains the bare fortran interface. The
relevant subroutines are mirrored in the vbfcprw
module with
docstrings: optobs
, weightdtilde
, reweight
.
The module vbfcprw
additionally contains more convenient
object-style interfaces OptimalObservable
and WeightDtilde
Examples
See also vbfcprw/test_vbfcprw.py
import vbfcprw, numpy
pjet1 = numpy.array([438.019730, -24.873165, -94.306022, 427.023386]) # E,px,py,pz of nth final state parton
pjet2 = numpy.array([656.475632, -55.150478, 66.466227, -650.769506])
phiggs= numpy.array([177.080599, 54.152473, 24.069573, -110.547404]) # E,px,py,pz of Higgs boson make sure that four-momentum conservation holds
oo = vbfcprw.OptimalObservable([pjet1, pjet2], phiggs)
print(f"First order OO: {oo.oo1}, Second order: {oo.oo2}")
Requirements
If the wheel is incompatible:
- Fortran compiler (e.g. gfortran)
References
- HAWK
- CT10 PDF set
- Markus Schumacher
- arXiv:2002.05315 [hep-ex]
- arXiv:1602.04516 [hep-ex]
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
vbfcprw-0.1.tar.gz
(220.8 kB
view hashes)
Built Distributions
Close
Hashes for vbfcprw-0.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fe227dcaf13329738ac1c2504c70c5c012cfd73a58ce92673e6ef45e54dd90a9 |
|
MD5 | 031dbaf15dcf5d42112c08400749e52f |
|
BLAKE2b-256 | e33605fea90c523280d42d000358f875b6a2dfb98ed05e7da39df3cfded05d6b |
Close
Hashes for vbfcprw-0.1-cp39-cp39-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f05d7a65110290490c763a59eafbc74b3421b0d62ed1f8de057f6f50dfb7c931 |
|
MD5 | ceb40a36868315061b1f445e3e6b3e1f |
|
BLAKE2b-256 | c7178b2016ea6ab3d147b71f9ba14c47f43b6ba7a7918ea09a89b409fd96fbf2 |
Close
Hashes for vbfcprw-0.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a2f03ae3017c8f64945770c86483e3d7a3cd02e37e0da6f6f696e0dd3836696f |
|
MD5 | e7632c7ff5017b55408cafad080a96bd |
|
BLAKE2b-256 | 90155eee879a21129b8505ff89f5588c966ef74f869a7ee99cfc911c63c13661 |
Close
Hashes for vbfcprw-0.1-cp38-cp38-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 73866e7a6a3aba3182f2a1c6492ad6dd40a80ba9dceba266f1101c86932bb21e |
|
MD5 | 572380e67e6d7dd99f9bfabb00db60d0 |
|
BLAKE2b-256 | e2d238c17a309070e5fbf2b2f74ed7102c3af2accdc1b35a584fe95b6ad4d381 |