Electron id and reco SF
Created by: mmarchegiani
The electron scale factors are read from the json files as recommended by EGamma, the reconstruction and ID scale factors are computed per-electron and a final per-event weight is computed as the product of the single electron weights and included in the set of applied per-event weights. Together with the nominal weights, also the weights corresponding to the up and down variations are returned, obtained by varying up and down the electron SF by 1 sigma:
sf_reco [1, 0.972, 0.994, 0.985, 0.996, 0.996, ... 0.979, 0.986, 1, 0.992, 0.999, 0.989]
sfup_reco [1, 1.01, 1.01, 1.01, 1.01, 1.01, 1, 1, ... 1.01, 1.01, 1, 1.01, 1, 1.01, 1.02, 1]
sfdown_reco [1, 0.993, 0.987, 0.988, 0.995, 0.995, ... 0.997, 0.994, 1, 0.988, 0.977, 0.996]
sf_id [1, 0.891, 0.922, 0.872, 0.98, 0.971, ... 0.938, 0.952, 1, 0.956, 0.962, 0.957]
sfup_id [1, 1.03, 1.02, 1.02, 1.01, 1.01, 1.01, 1, ... 1.01, 1.01, 1.01, 1, 1.02, 1.03, 1.01]
sfdown_id [1, 0.975, 0.984, 0.979, 0.989, 0.991, ... 0.989, 0.987, 1, 0.983, 0.972, 0.993]