Skip to content

New di higgs chain

Frederic Renner requested to merge newDiHiggsChain into master

This adds the highly configurable new DiHiggsChain. Docs yet to come. related to #21 (closed)

changes in here

  • algorithm to get ghost associated VR jets into the storegate with a reference to the large R jet configurable from python. This allows us also easily e.g. to construct an intermediate analysis.
  • final vars for boosted

so for example you could get a certain amount of Large R's via minimumToHave

            cfg.addEventAlgo(
                CompFactory.HH4B.JetSelectorAlg(
                    "LargeJetSelectorAlg_" + btag_wp,
                    containerInKey=LargeJetKey,
                    containerOutKey="boostedAnalysisJets_" + btag_wp,
                    bTagWP="",  # empty string: "" ignores btagging
                    minPt=250_000,
                    maxEta=2.0,
                    howManyToKeep=2,  # -1 means keep all
                    minimumToHave=2,  # -1 means ignores this
                    pTsort=True,
                )
            )

and then select with whichJet which VR's you would like to get

            cfg.addEventAlgo(
                CompFactory.HH4B.GhostAssocVRJetGetterAlg(
                    "LeadingLargeRGhostAssocVRJetGetterAlg_" + btag_wp,
                    containerInKey="boostedAnalysisJets_" + btag_wp,
                    containerOutKey="leadingLargeRVRJets_" + btag_wp,
                    whichJet=0,
                )
            )

Algorithm for the final vars, like m_hh

cfg.addEventAlgo(
                CompFactory.HH4B.FinalVarsAlg(
                    "FinalVarsAlg_" + btag_wp,
                    smallRContainerInKey="pairedResolvedAnalysisJets_" + btag_wp,
                    largeRContainerInKey="",
                    leadingLargeR_GA_VRJets="",
                    subLeadingLargeR_GA_VRJets="",
                    bTagWP=btag_wp,
                    doDiHiggsResolved=flags.Analysis.do_resolved_dihiggs_analysis,
                    doDiHiggsBoosted=False,
                )
            )
Edited by Frederic Renner

Merge request reports