git clone https://github.com/ruelasvh/hh.git
cd hh
python3 -m pip install -e .
Create a directory outside of the repository, and go into it. For example:
cd ..
mkdir workdir
cd workdir
hh4b_non_res_res_make_hists config.json -v
For example, have a look in this config file.
The output will be an h5
file. To make the actual plots, do:
hh4b_non_res_res_draw_hists hists.h5
hh4b_dump config.json -v
This will create a h5
file with the information specifiend in config.json
(look in here for an example). If you want to instead dump the information into a ROOT
file, then do:
hh4b_dump config.json -v --output output.root
First you need to set up kerberos authentication, usually done with kinit
.
The Apptainer path should be set in the environment variable APPTAINER_CACHEDIR
:
export APPTAINER_CACHEDIR=/path/to/apptainer_cache
Then you need to create an image that contains all the depedencies:
apptainer build $APPTAINER_CACHEDIR/hh.sif hh/Apptainer.def
The container should be re-built every time jobs will be submitted to htcondor.
Now everything's ready to submit jobs. Submit the jobs with:
hh4b_submit $APPTAINER_CACHEDIR/hh.sif [hh4b_non_res_res_make_hists|hh4b_dump] config.json
The output will be stored to the working directory.
For any of the commands, you can use the -h
flag to get more information on the options available.