Skip to main content

Project with lists of LFNs and utilities needed to download filteres ntuples

Project description

$R_X$ data

This repository contains:

  • Versioned lists of LFNs
  • Utilities to download them and link them into a tree structure

for all the $R_X$ like analyses.

Installation

To install this project run:

pip install rx_data

# The line below will upgrade it, in case new samples are available, the list of LFNs is part of the
# project itself
pip install --upgrade rx_data

The download would require a grid proxy, which can be made with:

. /cvmfs/lhcb.cern.ch/lib/LbEnv

# This will create a 100 hours long proxy
lhcb-proxy-init -v 100:00

Listing available triggers

In order to see what triggers are present in the current version of the ntuples do:

list_triggers -v v1

# And this will save them to a yaml file
list_triggers -v v1 -o triggers.yaml

Downloading the ntuples

For this, run:

download_rx_data -m 5 -p /path/to/downloaded/.data -v v1 -d -t triggers.yaml

which will use 5 threads to download the ntuples associated to the triggers in triggers.yaml and version v1 to the specified path.

IMPORTANT: In order to prevent deleting the data, save it in a hiden folder, e.g. one starting with a period. Above it is .data.

Building directory structure

All the ntuples will be downloaded in a single directory. In order to group them by sample and trigger run:

make_tree_structure -i /path/to/downloaded/.data/v1 -o /path/to/directory/structure

this will not make a copy of the ntuples, it will only create symbolic links to them.

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

rx_data-0.0.4.tar.gz (570.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

rx_data-0.0.4-py3-none-any.whl (591.4 kB view details)

Uploaded Python 3

File details

Details for the file rx_data-0.0.4.tar.gz.

File metadata

  • Download URL: rx_data-0.0.4.tar.gz
  • Upload date:
  • Size: 570.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for rx_data-0.0.4.tar.gz
Algorithm Hash digest
SHA256 5128b7c8d3707314add214d2d8f5a3ceb97efbe11684d6d18229d87e95880df7
MD5 ee8800bc4e6bc1d2e65c8fe5060c9bc9
BLAKE2b-256 1d8f41c5834a1d5ccb3a28745352b0c06a8aa6e11d50ff88f8f9cdbef4ba551b

See more details on using hashes here.

Provenance

The following attestation bundles were made for rx_data-0.0.4.tar.gz:

Publisher: publish.yaml on acampove/rx_data

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file rx_data-0.0.4-py3-none-any.whl.

File metadata

  • Download URL: rx_data-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 591.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for rx_data-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 aac51b721fd8e5374e9e6239345c1c861ae816c5f1bf814385d7b2f5e71a2498
MD5 c413ae48013b5aa10d43b3735b62bb8b
BLAKE2b-256 46e06afda0528184ff2cad497e85ca570e3de988262de0951c4fe953c13dc2bb

See more details on using hashes here.

Provenance

The following attestation bundles were made for rx_data-0.0.4-py3-none-any.whl:

Publisher: publish.yaml on acampove/rx_data

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page