Updates for (maily electron) FR and scale factors, and other utility stuff #269
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixes for scripts about electrons fake rate, now:
/eos/cms/store/cmst3/group/wmass/mciprian/TREES_1LEP_80X_V3_FRELSKIM_V8
PR is almost unchanged, while FR decreases by 2% on average (up to 5-10% in EE, but FR was already lower than in EB)
Plots: http://mciprian.web.cern.ch/mciprian/wmass/13TeV/fake-rate/electron/FR_graphs/fakeRate_eta_pt_granular_mT40_35p9fb_signedEta_pt65_subtrAllMC_newTrigSF_fitpol2/
Updating txt files accordingly to get fakes in plots and cards.
NOTE FOR ELE: for the moment, when making cards the FR slope variation syst was removed because we fit with pol2. However, a new shape syst for awayJetPt from 30 to 45 GeV was added, which should be larger than previous syst anyway. This is treated as pdf to make up/down variation, i.e. by symmetrizing with respect to nominal (with same integral)
Ratio of PR and FR: http://mciprian.web.cern.ch/mciprian/wmass/13TeV/fake-rate/electron/ratio_FR_PR/subtrAlllMC_newTrigSF_fitpol2__jetPt30_Over_jetPt45/
Updating scripts and root file managing smoothed scale factors production and dumping them in ntuples. These files are still preliminary so before making new ntuples with SF, let's discuss the status
NEW STUFF:
WARNING: I haven't tried yet to make datacards with the new FR systematics, but is should work