Support merging of sample folders from prepare or initialze stages
Hi, creating this as a follow up from this email discussion.
For a brief summary, I wanted to run over a combination of MC16a/MC16c samples. These two MC campaigns had to be normalised to the data15+16 and data17 luminosity, respectively. To get the normalisations right, I did separate prepare/initialize stages for the two MC campaigns, and merged the sample files after the initialize stage.
The usual tqmerge did not work and instead I wrote a script to do the process. See the attached script + example config file below. The python script is still a WIP!
@rgugel suggested that it could be worth adding this variant of merging somewhere in CAFCore, so I am creating this issue for any follow up discussions.
Let me know if anymore information (i.e. sample files going into the merging process) is needed.
Thanks!