Skip to content
Snippets Groups Projects

More useful truth labels

Merged Dan Guest requested to merge dguest/hh4b-analysis:use-history into master
1 unresolved thread

This adds a few outputs to the ntuples:

  • For large-R jets:
    • parent{Higgs,Scalar,Top}NMatchedChildren: tells how many of the descendants of the particle in question, following W and b-hadron decays, are matched to a given jet. For most resolved jets this should be 0 or 1, whereas for more boosted jets this can be 2 for H or S, 3 for top.
  • For all jets:
    • nTopTo{W,B}Children: number of b-quark or W decay products in the jet, again expect 0 or 1 for resolved, possibly 2 in the W case for boosted.
    • parent{Higgs,Top}ParentsMask: bitmask where the bits represent matches to the mass-sorted higgs or top, e.g. a jet with 0x10 would be matched to one higgs, whereas 0x11 would have a descendant of both.

I also changed the default configuration to dump UFO large-R jets rather than topo jets. Why do does anyone want topo jets?

Merge request reports

Pipeline #5584377 passed

Pipeline passed for 0fafff82 on dguest:use-history

Merged by Dan GuestDan Guest 2 years ago (May 15, 2023 4:48pm UTC)

Loading

Pipeline #5585077 passed

Pipeline passed for f03556d9 on master

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
193 if not flags.Input.isPHYSLITE:
194 truth_labels = [
195 *[f"parent{b}{l}" for l in parent_labels for b in parent_bosons],
196 *[f"nTopTo{p}Children" for p in "BW"],
197 *[f"parent{p}ParentsMask" for p in ["Higgs", "Top"]],
198 ]
199 large_r_labels += [
200 f"parent{p}NMatchedChildren" for p in parent_bosons
201 ]
197 202
198 203 truths = []
199 204 if flags.Analysis.write_small_R_jets:
200 205 truths.append((4, "", small_r_labels))
201 206 if flags.Analysis.write_large_R_UFO_jets:
202 truths.append((10, "UFO", []))
207 truths.append((10, "UFO", large_r_labels))
  • Arely Cortes-Gonzalez approved this merge request

    approved this merge request

  • merged

  • Please register or sign in to reply
    Loading