/my-scripts

A collection of personal Python and Bash scripts.

Primary LanguagePythonMIT LicenseMIT

A collection of personal Python and Bash scripts

v1.0 license Python 3.8 Bash
code size repo size total lines

Table of contents

Introduction

This repository contains some scripts I write for other personal and working projects. I keep them here for two reasons: first, to keep them easily accessible to me in case of the needing to retrieve some parts of code; secondly, to let everybody accessing them freely.

If you want to use one of my scripts please cite them with this template citation file.

Repository diagram structure

my-scripts/
├── scripts/
│   ├── python/
│   │   ├── data analysis/
│   │   │   ├── impact parameters/
│   │   │   │   ├── compare_plots.py
│   │   │   │   ├── impact_parameters_1D.py
│   │   │   │   ├── impact_parameters_1D.py
│   │   │   ├── WbWb/
│   │   │   │   ├── OverlapSelections.py
│   ├── bash/
│   │   ├── installation/
│   │   │   ├── install.sh
│   │   │   ├── uninstall.sh
│   │   │   ├── update.sh
│   │   ├── debugging/
│   │   │   ├── debug.sh
├── img/
├── README.mc
├── LICENSE/

List of scripts

python

  • impact_parameters_1D.py: script used to produce 1D impact parameters plots, using the pyROOT framework, for some of my master thesis studies (see Appendix A).

  • impact_parameters_2D.py: script used to produce 2D impact parameters plots, using the pyROOT framework, for some of my master thesis studies (see Appendix A).

  • compare_plots.py: script used to compare impact parameters plots produced with impact_parameters_2D.py and impact_parameters_1D.py scripts, using the pyROOT framework.

  • OverlapSelections.py: script used to produce unfolding plots with overlapped b-tagging selections for each systematic. This script is produced with the pyROOT framework and is used in the ATLAS WbWb analysis.

    NOTE on the usage: if this script is used with ./OverlapSelections command it will produce overlapped plots for each selection of the selections dict. If it is used instead with the option -o [selection_name], it will produce a plot with the [selection_name] selection modified (changes are given in the input file) and overlaps it to the real [selection_name].

bash

  • debug.sh: script used to debug C++ code with Valgrind and cppcheck.

    More information about how to use this script can be found here

  • install.sh: script used to install headers and libraries into the system.

  • uninstall.sh: script used to uninstall headers and libraries into the system.

  • update.sh: script used to update a repository.