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 -e ./rx_common/

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

Where projects.txt is the 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 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.6.tar.gz (14.3 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.6-py3-none-any.whl (21.4 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for rx_common-0.0.6.tar.gz
Algorithm Hash digest
SHA256 72570a3b907e2e3185990d765343006a9441efb885219992975a825aa1534fe5
MD5 07bd81941771afc0e57fe47d5578c409
BLAKE2b-256 a4323dd6a02625466c634a759dd571db203679b33c9cfaebdf3e4f2be1cc9865

See more details on using hashes here.

Provenance

The following attestation bundles were made for rx_common-0.0.6.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.6-py3-none-any.whl.

File metadata

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

File hashes

Hashes for rx_common-0.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 68bc1de8e59ded3f7a7df80f2a08a81c255c3ea0f08c9dc261aa2a07f98ea646
MD5 2daa7fecc441a4bd5df03aac8c04de15
BLAKE2b-256 bd041e01c33df5f42d131e0ae7c5c8e82ea50abe9d26063834cd36ff4abaf80d

See more details on using hashes here.

Provenance

The following attestation bundles were made for rx_common-0.0.6-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