cms-sw/cmssw — pull request #6035 by kpedro88 (2014-10-28 00:23:22+00:00)
Title: HE recalibration for radiation damage scenarios

This pull request:
1) extends the addition of a "scenario" parameter for HEDarkening ([5916](https://github.com/cms-sw/cmssw/pull/5916)) to HERecalibration;
2) picks up some optimizations to HERecalibration which had not yet been backported to 62XSLHC (see [7XX history](https://github.com/cms-sw/cmssw/commits/CMSSW_7_3_X/CalibCalorimetry/HcalPlugins/src/HERecalibration.cc));
3) creates a Python customization function "set_HE_aging_scenario" in aging.py, which can easily be added to the end of config files to ensure agreement between the HEDarkening scenario and the HERecalibration scenario settings;
4) fixes a few bugs in the HE aging scenario definitions.

It has been tested using upgrade configuration 11861 in runTheMatrix, to make sure that the calculation of recalibration factors changes appropriately based on the chosen scenario.