For a correct production and decay parsing, the process names must be provided with the following syntax:
<production>_<whatever>_<decay>
For intermediate decays, e.g. H->ZZ->llll, the syntax must be <hdecay1><sub-decays>
Some example:
qqHH_CV_1_C2V_1_kl_0_2016_hbbhgg
ggHH_kl_1_kt_1_hbbhzz4l
ttH_hzz4l
ggH_hww2l2nu
Code by fmonti .