Compute the L2L3Residuals calibration within the JetMET group of CMS as described by the JERC sub-group. This is done by combining the outputs from the photon+jet, dijet and Z+jet analyses.
An installation of ROOT is required to run the scripts.
Copy the outputs of the different analyses to a common directory with
python arrange_L2L3Res_inputs.py -v version -o workRun the L2L3Residuals, recompiling the libraries, with
python L2L3Res.py -y all -v versionThis script executes the following actions:
make cleanmake- Compute the L3Res doing a global fit and show the different contributions running
python minitools/runAllIOVs.py -v version - change version and year in
L2Res.Cand runroot -l -b L2Res.C+gto compute the L2Res - change version and year in
createL2L3ResTextFile.Cand runroot -l -b createL2L3ResTextFile.C+gto create the text file containing the L2L3Residuals
To run the JERSF calculation, use
root -l -b -q JERSF.C+g