HEP-KBFI / tth-htt

code and python config files for ttH, H -> tautau analysis with matrix element techniques
3 stars 10 forks source link

Investigate promptness of generator-level hadronic taus #178

Closed ktht closed 2 years ago

ktht commented 3 years ago

We'd like to see if there's a good reason to require that the generator-level hadronic taus originate from not just any tau but from a prompt tau. Since the reconstructed taus are matched to the GenVisTau collection, and this collection has genPartIdxMother branch, we could in principle use the GenPart collection to pinpoint its mother particle (with PDG ID = +/- 15) and check its status flags.

The issue is somewhat complicated by the fact that we drop the GenPart collection from our Ntuples due to performance reasons, as it can sometimes include lots of objects to the point that we run out of memory. What we do have is a bunch of smaller gen particle collections, including a collection of generator-level taus (PDG ID = +/- 15) that are the last copies of itself in the Pythia decay chain. So, what we could do is to either:

Regarding the last point, I learned that we should never use the by_index gen-matching option via command line, because the generator-level taus that are considered in the matching are not hadronic generator-level taus but taus that haven't decayed yet. Fortunately, none of the results we have produced thus far have this problem.

For testing, a few channels suffice, eg 0l+4tau and 2l+2tau in HH-multilepton. In the first approximation, we can ignore its effects on jet->tau FRs and just see how irreducible event yields are impacted by the change.