HHLepton

HHLeptonRDF

class Tools.Tools.HHLepton.HHLeptonRDF(**kwargs)[source]

Bases:

Returns the index of the two selected taus + several of their variables not affected by systematics.

Lepton systematics (used for pt and mass variables) can be modified using the parameters from JetLepMetSyst.

Parameters:
  • runPeriod (str) – run period in caps (data only)

  • isV10 (bool) – whether the input sample is from nanoaodV10 (default: False)

  • deeptau_version (str) – version of the DeepTau discriminator (default: 2017v2p1)

  • vvvl_vsjet (int) – VVVLoose DeepTauVSjet WP value

  • vl_vse (int) – VLoose DeepTauVSe WP value

  • vvl_vse (int) – VVLoose DeepTaVSe WP value

  • t_vsmu (int) – Tight DeepTauVSmu WP value

  • vl_vsmu (int) – VLoose DeepTauVSmu WP value

  • filter (bool) – whether to filter out output events if they don’t have 2 lepton candidates

YAML sintaxis:

codename:
    name: HHLeptonRDF
    path: Tools.Tools.HHLepton
    parameters:
        isMC: self.dataset.process.isMC
        isV10: self.dataset.has_tag("nanoV10")
        year: self.config.year
        runPeriod: self.dataset.runPeriod
        vvvl_vsjet: self.config.deeptau.vsjet.VVVLoose
        vl_vse: self.config.deeptau.vse.VLoose
        vvl_vse: self.config.deeptau.vse.VVLoose
        t_vsmu: self.config.deeptau.vsmu.Tight
        vl_vsmu: self.config.deeptau.vsmu.VLoose
        filter: True

HHLeptonVarRDF

class Tools.Tools.HHLepton.HHLeptonVarRDF(**kwargs)[source]

Bases:

Returns the pt and mass of the selected taus possibly including systematics

Lepton systematics (used for pt and mass variables) can be modified using the parameters from JetLepMetSyst.

Required RDFModules: HHLeptonRDF.

YAML sintaxis:

codename:
    name: HHLeptonVarRDF
    path: Tools.Tools.HHLepton
    parameters:
        isMC: self.dataset.process.isMC