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
Example of usage:
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
pytaskfarmer.py -n22 -t biboverlay -r mcc -w ../samples/pionGun_sim_MuColl_v1_BIB/ pionGun_sim_MuColl_v1.filelist