Utilities needed for analysis productions in LHCb
Project description
ap_utilities
This project holds code needed to transform the AP used by the RD group into something that makes ntuples with MVA HLT triggers.
Check for samples existence
Given a set of MC samples specified in a YAML file like:
settings:
year : 2024
mc_path : 2024.W31.34
polarity : MagUp
nu_path : Nu6.3
sim_vers : Sim10d
generator : Pythia8
ctags : sim10-2024.Q3.4-v1.3-mu100
dtags : dddb-20240427
event_type :
B2K1 : 12425000
B2K2 : 12425011
Bu2Kstee : 12123445
Bd2Kpiee : 11124037
run:
check_samples -i samples.yaml -n 6
to check if the samples exist using 6 threads (default is 1) and store them in samples_found.yaml
To run this one has to be in an environment with:
- Access to DIRAC.
- A valid grid token.
Specific to MVA lines in the RD group
Add lines to Config.py
To do that run:
transform_text -i Config.py -c conf_rename.toml
which will create an output.py
file with the replacements specified in hlt_rename.toml
.
Add lines to main.py
To do that run:
transform_text -i main.py -c main_rename.toml
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
Built Distribution
File details
Details for the file ap_utilities-0.0.3.tar.gz
.
File metadata
- Download URL: ap_utilities-0.0.3.tar.gz
- Upload date:
- Size: 4.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ac72c049cf807d9c9ed3b7ecb88ac5bc201bcf5d1a44ef813c629cc7c2388ef7 |
|
MD5 | c6c145b187d9b03935094fae6f6ec17f |
|
BLAKE2b-256 | 7accdf7f5aed59c1076330c7e46c7ea915cab54aab697068f85d155d51673e53 |
Provenance
The following attestation bundles were made for ap_utilities-0.0.3.tar.gz
:
Publisher:
publish.yaml
on acampove/ap_utilities
-
Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
ap_utilities-0.0.3.tar.gz
- Subject digest:
ac72c049cf807d9c9ed3b7ecb88ac5bc201bcf5d1a44ef813c629cc7c2388ef7
- Sigstore transparency entry: 150458230
- Sigstore integration time:
- Predicate type:
File details
Details for the file ap_utilities-0.0.3-py3-none-any.whl
.
File metadata
- Download URL: ap_utilities-0.0.3-py3-none-any.whl
- Upload date:
- Size: 5.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | da6768e9d190961b1ccbb6c1b6094f77b5e8b5683466dbdb41b0a15e18b47a44 |
|
MD5 | e2ce7a2ddd54029878816d4331e781b8 |
|
BLAKE2b-256 | 768b3929d692d29f4df2bacc0a9cc96423383bad61828cc89367e39f8ffad589 |
Provenance
The following attestation bundles were made for ap_utilities-0.0.3-py3-none-any.whl
:
Publisher:
publish.yaml
on acampove/ap_utilities
-
Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
ap_utilities-0.0.3-py3-none-any.whl
- Subject digest:
da6768e9d190961b1ccbb6c1b6094f77b5e8b5683466dbdb41b0a15e18b47a44
- Sigstore transparency entry: 150458232
- Sigstore integration time:
- Predicate type: