This is a quick fix if we want to launch on signal tomorrow.
P4 of the two Higgs from the hard process are stored in the tree, as well as mHH and cos(theta)*. I used the flag isHardProcess as it's the only only which is set for the higgs in the gen history, and it's always the two first higgs in the history. Other higgs have only the flag fromHardProcess set, but none have the previously used isLastCopyBeforeFSR flag set...
It's anyway coherent with what is done to extract the weights for the v1 to v3 reweighting.
This is a quick fix if we want to launch on signal tomorrow.
P4 of the two Higgs from the hard process are stored in the tree, as well as mHH and cos(theta)*. I used the flag
isHardProcess
as it's the only only which is set for the higgs in the gen history, and it's always the two first higgs in the history. Other higgs have only the flagfromHardProcess
set, but none have the previously usedisLastCopyBeforeFSR
flag set...It's anyway coherent with what is done to extract the weights for the v1 to v3 reweighting.