Skip to content

Restore scripts to submit condor jobs for RichFutureRecSys examples

No ci tests needed here as nothing changed is tested by them.

FYI @lmalenta @fkeizer @seaso

There are three main parts here

  1. /path/to/Rich/RichFutureRecSys/examples/jobs/RunJobs.py
  2. /path/to/Rich/RichFutureRecSys/examples/jobs/submit.sh
  3. /path/to/Rich/RichFutureRecSys/examples/jobs/merge.py

1 is the main script, and is set up to make it easy to submit jobs for various 4D tuning options. See e.g.

pcmf ~/LHCb/output > ~/LHCbCMake/Feature/Rec/Rich/RichFutureRecSys/examples/jobs/RunJobs.py -h
usage: RunJobs.py [-h] [-l LUMIS] [-4d] [--pixwins PIXWINS] [--photwins PHOTWINS]

Submit condor jobs for RICH reco

optional arguments:
  -h, --help            show this help message and exit
  -l LUMIS, --lumis LUMIS
                        luminosity value(s) (default: 1.5e34,1.2e34,1.0e34,3.0e33,2.0e33,2.0e32)
  -4d, --enable4D       Enable 4D (default: False)
  --pixwins PIXWINS     Pixel time window(s) (only for 4D) (default: 3.0)
  --photwins PHOTWINS   Photon time window(s) (only for 4D) (default: 1.0,0.5,0.25,0.1,0.05)

should be fairly self explanatory how to extend for other tenable parameters. Note, these will need to be passed into the options that are parsed and for this I use environment variables. See what is done in RichFuture.py

Finally, 3. is a script that is designed to merge all the individual sub-job root files into a single merged set for each main condor job. You use it once all the jobs you have run are complete.

Edited by Christopher Rob Jones

Merge request reports