The following steering macro will add the BIB overlay to an existing output of the simulation.
It uses a merged BIB simulation as input, with the MCParticle collection removed.
/global/cfs/cdirs/atlas/kkrizka/MCC/tracking/sim_bib.slcio
Make sure you have PyTaskFarmer setup along with a runner defined for the MCC container. Instructions.
Add the following the following tasklist handler definition to a bib.ini file:
[biboverlay]
TaskList = mcctaskfarmer.MarlinTaskList
steering = biboverlay_steer.xml
maxEventsPerJob = 20
Output_ALL.LCIOOutputFile={workdir}/{SAMPLE}
pytaskfarmer.py -t biboverlay -r mcc -w pionGun_sim_MuColl_v1_BIB pionGun_sim_MuColl_v1.filelist
--array==1..5 (for 5 jobs) option to sbatch.sbatch --output=slurm-%j.out --error=slurm-%j.err --qos=regular --constraint=haswell --signal=B:USR1@60 --time=48:00:00 -- pytaskfarmer.py -n22 -t biboverlay -r mcc -w pionGun_sim_MuColl_v1_BIB pionGun_sim_MuColl_v1.filelist