JetResolution#
- class coffea.jetmet_tools.JetResolution(**kwargs)[source]#
Bases:
objectThis class is a columnar implementation of the JetResolution tool in CMSSW and FWLite. It calculates the jet energy resolution for a corrected jet in a given binning.
It implements the jet energy correction definition specified in the JER TWiki.
You can use this class as follows:
jr = JetResolution(name1=corrL1,...) jetRes = jr.getResolution(JetParameter1=jet.parameter1,...)
in which
jetResare the resolutions, with the same shape as the input parameters. In order to see what parameters must be passed togetResolution, one can dojr.signature.You construct a JetResolution object by passing in a dict of names and functions. Names must be formatted as ‘<campaign>_<dataera>_<datatype>_<level>_<jettype>’. You can use coffea.lookup_tools’
extractorandevaluatorto get the functions from some input files.Attributes Summary
list the necessary jet properties that must be input to this function
Methods Summary
getResolution(**kwargs)Returns the set of resolutions for all input jets at the highest available level
Attributes Documentation
- signature#
list the necessary jet properties that must be input to this function
Methods Documentation