-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ULV0 #1
base: master
Are you sure you want to change the base?
ULV0 #1
Conversation
python/EgammaPostRecoTools.py
Outdated
return "EgammaAnalysis/ElectronTools/data/ScalesSmearings/Run2017_24Feb2020_runEtaR9Gain_v2" | ||
|
||
if era=="2016-UL" or era=="2018-UL": | ||
raise RuntimeError('Error in postRecoEgammaTools, eras 2016-UL and 2018-UL are not yet have energy corrections, please contact the e/gamma pog for more information') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
super minor but theres a typo here "do not" rather than "are not"
Excellent. It probably shouldnt be merged until the recipe is in place for the changes in EgammaTools and we have updated the twiki. But otherwise looks perfect. |
Hi @Sam-Harper In my previous version, I had not checked the compatibility with 11X. It seems there were some changes to MVAValueMapProducer: cms-sw/cmssw#26814 (comment) The corresponding PR (which I havent created yet) to the Reco/EgammaTools can be found here (in particular the changes done to determine the file format) - runMatrix ran fine on the changes: Thanks |
This is essentially taking care of putting in scales and smearing corrections for UL2017. As @Sam-Harper suggested, I now have removed any switch that takes an input of the file type for the reader of txt files.