Skip to content

Conversation

@jainshilpi
Copy link
Contributor

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.

@jainshilpi jainshilpi requested a review from Sam-Harper April 16, 2020 16:23
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')
Copy link
Contributor

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"

@Sam-Harper
Copy link
Contributor

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.

@jainshilpi
Copy link
Contributor Author

jainshilpi commented Apr 19, 2020

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)
so EgammaPostRecoTools had to be adapted to it. It now runs fine in 106X and 11X.

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:
https://github.com/cms-sw/cmssw/compare/master...jainshilpi:ULV0?expand=1#diff-49f8f70058db868635a6e3dcad4f1a3dR218-R223

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants