Skip to content

Add Rochester correction for muons

Pieter David requested to merge piedavid/bamboo:rochester into master

Closes #21 (closed)

Very similar to the jet variations (I recycled most of the code). The default NanoAOD decorators insert the "calculator" but don't set it up to calculate the correction (this comes at a small CPU cost, so should be done after HLT filter, with forceDefine, but having the list of 4-vectors may actually save a bit of time later on).

There is no automatic mechanism to keep track of the txt files yet (as for scalefactors), suggestions for that are still welcome in https://gitlab.cern.ch/cp3-cms/bamboo/issues/22 .

Validation to be done: look at @kjaffel 's Z->MuMu peak with and without this correction :-)

Merge request reports