Code cheat sheet
Root Prompt
- Tree-\>Draw("Branch\>\>HistName(nBin,xmin,xmax)","Condition","Option")
YCM
f to find source ctrl-O to go back ctrl-I to go forward
Cmake Set-up for clangd
cmake -DCMAKE_EXPORT_COMPILE_COMMANDS=1
Do not forget
In project config modifiy analysis output before doing a test analysis
Config NPTOOL
when doing cmake for npl do
-DNPMULTITHREADING=0
to facilitate multithreading with snakemake
Config for SnakeMake
You NEED Python3.12
venv
python3.12 -m venv ./.venv
source ./.venv/bin.activate
pip install snakemake
Snakefile
Don't forget to modify the input file .
Your project.config must point to the root dir of your computer
Compatibility AlmaLinux
Never import a detector class in a macro, if you do be sure to put a
#ifdef 0
#include DETECTOR.h
#endif