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.
my-scripts/
├── .github/
│ ├── workflows/
│ │ ├── codeql-analysis.yml
├── scripts/
│ ├── python/
│ │ ├── data analysis/
│ │ │ ├── impact parameters/
│ │ │ │ ├── compare_plots.py
│ │ │ │ ├── impact_parameters_1D.py
│ │ │ │ ├── impact_parameters_1D.py
│ │ │ ├── WbWb/
│ │ │ │ ├── OverlapSelections.py
│ │ ├── file management/
│ │ │ ├── size_of_dir.py
│ │ │ ├── dirs_remover.py
│ │ ├── social utils/
│ │ │ ├── send_whatsapp.py
│ ├── bash/
│ │ ├── installation/
│ │ │ ├── install.sh
│ │ │ ├── uninstall.sh
│ │ │ ├── update.sh
│ │ │ ├── system_update.sh
│ │ ├── debugging/
│ │ │ ├── debug.sh
├── img/
├── README.mc
├── LICENSE/-
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
./OverlapSelectionscommand it will produce overlapped plots for each selection of theselectionsdict. 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]. -
size_of_dir.py: script used to compute the size of a particular directory.
NOTE on the usage: it takes 3 arguments,
--pathscontains the directory paths (in form of"path_1 path_2 path_n"),--messageis a flag to turn on/off the final message and--exceptiontakes an extra file which should be removed from the final size count (it takes only the file name not the path). -
dirs_remover.py: script used to efficiently remove directories in parallel.
NOTE on the usage: it takes 1 argument,
--dirswhich contains path to dirs to be removed (in form of"dir_1 dir_2 dir_3"). -
send_whatsapp.py: script used to send whatsapp messages using Twilio.
NOTE on the usage: it takes 2 arguments,
--numberwhich is your personal number (with prefix and +) and--messagewhich is the message to be sent.
-
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.