Skip to content

init new boosted analysis chain config

Frederic Renner requested to merge newBoosted into master

Proper Docs yet to come. related to #21 (closed)

This adds and 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.

so for example you could jet 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,
                )
            )
Edited by Frederic Renner

Merge request reports