Skip to content

script to merge the 5j histograms with 1 and 2 RC

Davide Gerbaudo requested to merge merge-1+2rc-in5j into master

Will merge now, as it doesn't impact any other piece of code.

@orlando I will now run it on our current inputs and send them to you.

It seems to work fine and it can merge a file in ~20sec. Example usage:

$ VLQAnalysis/python/merge_regions.py /tmp/gerbaudo/FitInputs_2016_07_28_2256/outVLQAnalysis_tttt_400_344074._nominal_Loose_0.root /tmp/foo.root 2>&1 | tee foo.log
merging c1l1RCTTMass5j2b_mu with ['c1l2RCTTMass5j2b_mu']
merging c1l1RCTTMass5j4b_mu with ['c1l2RCTTMass5j4b_mu']
...
copying c0l1RC2inSJ2b
copying c1l5ji4bi_mu
...
Read 33096 histograms from /tmp/gerbaudo/FitInputs_2016_07_28_2256/outVLQAnalysis_tttt_400_344074._nominal_Loose_0.root
Wrote 32340 histograms to /tmp/foo.root

Merge request reports