Jet Energy Corrections

jecProviderRDF

class Corrections.JME.jec.jecProviderRDF(**kwargs)[source]

Bases:

Module to compute jec uncertainty factors. If parameters pt and eta are included, the module will output the pt (and mass if it’s included as a parameter) of the object after applying the uncertainties.

Note: UL2016_preVFP is not implemented

Parameters:
  • jec_sources (list of str) –

    names of the systematic sources to consider. They depend on the year:

    • 2016: FlavorQCD, RelativeBal, HF, BBEC1, EC2, Absolute, BBEC1_2016, EC2_2016, Absolute_2016, HF_2016, RelativeSample_2016, Total

    • 2017: FlavorQCD, RelativeBal, HF, BBEC1, EC2, Absolute, BBEC1_2017, EC2_2017, Absolute_2017, HF_2017, RelativeSample_2017, Total

    • 2018: FlavorQCD, RelativeBal, HF, BBEC1, EC2, Absolute, BBEC1_2018, EC2_2018, Absolute_2018, HF_2018, RelativeSample_2018, Total

    Note: probably more are available, to be checked.

  • pt (str) – pt of the object to shift

  • eta (str) – pt of the object to shift

  • mass (str) – mass of the object to shift

YAML sintaxis:

codename:
    name: jecProviderRDF
    path: Base.Modules.jec
    parameters:
        year: self.config.year
        isMC: self.dataset.process.isMC
        jerTag: self.config.year
        isUL: self.dataset.has_tag('ul')
        ispreVFP: self.config.get_aux('ispreVFP', False)
        jec_sources: []
        (pt: bjet1_pt_nom)
        (eta: bjet1_eta)
        (mass: bjet1_mass_nom)

jecVarRDF

class Corrections.JME.jec.jecVarRDF(**kwargs)[source]

Bases:

Module to compute jet pt and mass after applying jec uncertainty factors

Required RDFModules: jetSmearerRDF.

Note: UL2016_preVFP is not implemented

Parameters:

jec_sources (list of str) –

names of the systematic sources to consider. They depend on the year:

  • 2016: FlavorQCD, RelativeBal, HF, BBEC1, EC2, Absolute, BBEC1_2016, EC2_2016, Absolute_2016, HF_2016, RelativeSample_2016, Total

  • 2017: FlavorQCD, RelativeBal, HF, BBEC1, EC2, Absolute, BBEC1_2017, EC2_2017, Absolute_2017, HF_2017, RelativeSample_2017, Total

  • 2018: FlavorQCD, RelativeBal, HF, BBEC1, EC2, Absolute, BBEC1_2018, EC2_2018, Absolute_2018, HF_2018, RelativeSample_2018, Total

Note: probably more are available, to be checked.

YAML sintaxis:

codename:
    name: jecVarRDF
    path: Base.Modules.jec
    parameters:
        year: self.config.year
        isMC: self.dataset.process.isMC
        jec_sources: []

jecMETRDF

class Corrections.JME.jec.jecMETRDF(**kwargs)[source]

Bases:

Module to compute MET pt and phi after applying jec uncertainty factors

Required RDFModules: jetSmearerRDF.

Note: UL2016_preVFP is not implemented

Parameters:

jec_sources (list of str) –

names of the systematic sources to consider. They depend on the year:

  • 2016: FlavorQCD, RelativeBal, HF, BBEC1, EC2, Absolute, BBEC1_2016, EC2_2016, Absolute_2016, HF_2016, RelativeSample_2016, Total

  • 2017: FlavorQCD, RelativeBal, HF, BBEC1, EC2, Absolute, BBEC1_2017, EC2_2017, Absolute_2017, HF_2017, RelativeSample_2017, Total

  • 2018: FlavorQCD, RelativeBal, HF, BBEC1, EC2, Absolute, BBEC1_2018, EC2_2018, Absolute_2018, HF_2018, RelativeSample_2018, Total

Note: probably more are available, to be checked.

YAML sintaxis:

codename:
    name: jecMETRDF
    path: Base.Modules.jec
    parameters:
        year: self.config.year
        isMC: self.dataset.process.isMC
        jec_sources: []