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 and C compiler (e.g. gfortran in gcc)
References
- HAWK
- CT10 PDF set
- Markus Schumacher
- arXiv:2002.05315 [hep-ex]
- arXiv:1602.04516 [hep-ex]
Link back
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.2.tar.gz
(221.2 kB
view hashes)
Built Distributions
Close
Hashes for vbfcprw-0.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 87ce23e353dc39a59779a06ab3cb2cf2f6d3e48684811fc09cd9eb32fe86651d |
|
MD5 | 4c1e86669623b5a75430e7692245fe4a |
|
BLAKE2b-256 | 4038efb2ac67e89499e91ec4f64fab204aebdf9f7e6367aa28c706d056cdfc3a |
Close
Hashes for vbfcprw-0.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6dc94f3d5d91b21723b6018f20105c962f523105883d436331d021f25c6455fe |
|
MD5 | 6235d1caec8dfb732b451925cb3678cf |
|
BLAKE2b-256 | 8f1e271bb3442c75a8565be5c14c595852f300c2e4fd16881f84cea1450fd8be |
Close
Hashes for vbfcprw-0.2-cp39-cp39-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bbe8b8b6f14121b0934437b3f0600a8dc0547ec095cba22edd7e5b75461d9b9a |
|
MD5 | 2eea0d6d000823f0704aedb73018db46 |
|
BLAKE2b-256 | 6ba0f1084910cbfcc1d5bd9ffa7053812f6f800f3223415f5a69845ff634a37e |
Close
Hashes for vbfcprw-0.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 42e1c2a6ba3b2d7a02368ac596a62b0f1a0eb0ead14357614e6548c90afd473e |
|
MD5 | 78c48dae39b99a14ed13c1fa285c5381 |
|
BLAKE2b-256 | ac3146589236d4dad20c9b572385d51a5f40720d9cadf3919ce9414ec8a20706 |
Close
Hashes for vbfcprw-0.2-cp38-cp38-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 49a5c9bb0a5d74e39050b4e9fb0f26360290ea01066cd64140f132aaa7dd4023 |
|
MD5 | fb64bd72000622075911c3e35c7f4976 |
|
BLAKE2b-256 | a5695773cd1769758ea112cfa3b639ef9f9340664018e8fda41a9f20ce55689c |
Close
Hashes for vbfcprw-0.2-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a19b0769cd3bc334da3616b6afceb294c8a95d37b3d1f25af0b4da80a460fd4a |
|
MD5 | 6553a822f455bad5ad401ac6c43970af |
|
BLAKE2b-256 | 999b5feb14a7e396fbd403ceed0094ebe9f94f6dd25c1b2e8a7cc2a06aca51ce |
Close
Hashes for vbfcprw-0.2-cp37-cp37m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ddd20d27a84354b921ba0327ca81855b7db4f05789103b3de4dac02dc1fc9f91 |
|
MD5 | becef25005201cf9bfe533d0a00881ac |
|
BLAKE2b-256 | ea5f59fd0a3a9bab90c1ed9a4ed4f482c89d37b41ec5bbfaf50f064d6cefef80 |
Close
Hashes for vbfcprw-0.2-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9e1bb7d525a01114e05f591f86c97fe3e29ca17a2c5acec585e1cf4ddf120df8 |
|
MD5 | bff49c89baa701d82d8fdd867b9c0019 |
|
BLAKE2b-256 | a6adc26f3dad82a803688a7646961c7ec25e4f4d112189264cc0b950396e8829 |
Close
Hashes for vbfcprw-0.2-cp36-cp36m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3a25d098fb0d20828998d5d6297c6868ec53bfef8355d73a8a00c5455a49cef1 |
|
MD5 | 1df5b4b2b1c82d456fb190c7b62e2b5e |
|
BLAKE2b-256 | dbbead5b82127562169458a297d98b628f00f8968b00f635ea7fa7fc4a7e3fdb |