Skip to main content

Project used to find and load libraries in cal-rx-run3 c++ code

Project description

$R_X$ common

The purpose of this project is to:

  • Offer a thin layer of python code meant to interface and test the $R_X$ run3 gitlab tools, written in C++ and adapted from the Run1/2 code.

  • Store new tools, needed for the Run3 analyses, that can be shared among run3 $R_X$ analyses.

Installation

It is strongly recommended to use conda/mamba/micromamba to create a virtual environment where the code will go. Instructions for micromamba can be found here.

The code is split into multiple projects, each doing a specific study and all belonging to a given group. The code is available as a set of packages that can be cloned and installed through with:

# Define a path in your computer/cluster where the code will be clonned
# This should be placed in your .bashrc
export SFTDIR=$HOME/run3_rx

git clone ssh://git@gitlab.cern.ch:7999/rx_run3/rx_common.git
# install
pip install rx_common

# This will install all the packages in your system, in editable mode
rx_setup -k sync -i 1 -f $PWD/projects.txt

Where $PWD/projects.txt is the full path to a file with the list of branches and project names to run over, e.g.:

master rx_classifier
master rx_calibration
master rx_selection
master rx_common
master rx_data
master post_ap
master dmu

The sync flag will make sure that:

  • All the remote changes are pulled to your local branch.
  • The code gets reinstalled.
  • All your local changes have been committed.
  • All the changes you committed locally are pushed to whatever branch you specified.

Thus, making it easier to synchronize your local changes with the remote ones. To check if the project you will run over are the right ones, one can run a dry run with the -d 1 flag:

rx_setup -k sync -i 1 -f $PWD/projects.txt -d 1

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

rx_common-0.0.5.tar.gz (14.2 kB view details)

Uploaded Source

Built Distribution

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

rx_common-0.0.5-py3-none-any.whl (21.2 kB view details)

Uploaded Python 3

File details

Details for the file rx_common-0.0.5.tar.gz.

File metadata

  • Download URL: rx_common-0.0.5.tar.gz
  • Upload date:
  • Size: 14.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for rx_common-0.0.5.tar.gz
Algorithm Hash digest
SHA256 5a8cd2d947d5f9fe81d40987ba844c7fe0619425c8fa53846bcc3b7b8e78d502
MD5 fd97bdf1b773b594ea79f21c5a011a4e
BLAKE2b-256 5cdc6c4ba15f36121897f7ba250fac888611c491bcc17e9f096b0aa8987e8248

See more details on using hashes here.

Provenance

The following attestation bundles were made for rx_common-0.0.5.tar.gz:

Publisher: publish.yaml on acampove/rx_common

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_common-0.0.5-py3-none-any.whl.

File metadata

  • Download URL: rx_common-0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 21.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for rx_common-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 cbc137531c54e9a764493f472e8c2912b69d59617421f79ad244aeed5d064c60
MD5 abe405c00e1110a533c07b073a6e3aa8
BLAKE2b-256 8714644ff6f5328222fed5bef5c25608655abfafd0f4568df6f853678db5d59f

See more details on using hashes here.

Provenance

The following attestation bundles were made for rx_common-0.0.5-py3-none-any.whl:

Publisher: publish.yaml on acampove/rx_common

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