JECStack
- class coffea.jetmet_tools.JECStack(corrections, jec=None, junc=None, jer=None, jersf=None)[source]
Bases:
objectMostly used as an input to
CorrectedJetsFactory. Hosts and organizes multiple corrections under one object.jec, junc, etc. can be explicitly set by passing in the appropriate corrector class (eg: FactorizedJetCorrector). If they are not set, correctors will be created, using the info in
correctionsas input.- Parameters:
corrections (dict[str,lookup_base]) – A dict-like of function names and functions. The function depends on the type of correction (eg: for JEC, should be jme_standard_function). We expect JEC names to be formatted as their filenames.
jec (FactorizedJetCorrector, optional) – If provided, overrides the jec that would be created from
correctionsin the stack.junc (JetCorrectionUncertainty, optional) – If provided, overrides the junc that would be created from
correctionsin the stack.jer (JetResolution, optional) – If provided, overrides the jer that would be created from
correctionsin the stack.jersf (JetResolutionScaleFactor, optional) – If provided, overrides the jersf that would be created from
correctionsin the stack.
Attributes Summary
A dictionary in the form of the
name_mapinput parameter forCorrectedJetsFactory, with all keys mapped to None.The stack's FactorizedJetCorrector object.
The stack's JetResolution object.
The stack's JetResolutionScaleFactor object.
The stack's JetCorrectionUncertainty object.
Attributes Documentation
- blank_name_map
A dictionary in the form of the
name_mapinput parameter forCorrectedJetsFactory, with all keys mapped to None.
- jec
The stack’s FactorizedJetCorrector object.
- jer
The stack’s JetResolution object.
- jersf
The stack’s JetResolutionScaleFactor object.
- junc
The stack’s JetCorrectionUncertainty object.