Skip to content
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

add L2L3Residual as know correction level to JetCorrector[Calculator]… #13951

Conversation

kirschen
Copy link
Contributor

@kirschen kirschen commented Apr 6, 2016

…; this way, L2L3Residual txt-files can also carry L2L3Residual als correction level in their parametrization

backport of #13949

…; this way, L2L3Residual txt-files can also carry L2L3Residual als correction level in their parametrization
@cmsbuild
Copy link
Contributor

cmsbuild commented Apr 6, 2016

A new Pull Request was created by @kirschen for CMSSW_8_0_X.

It involves the following packages:

CondFormats/JetMETObjects
JetMETCorrections/Algorithms

@ggovi, @cmsbuild, @davidlange6 can you please review it and eventually sign? Thanks.
@TaiSakuma, @ahinzmann, @mmarionncern, @rappoccio, @jdolen, @nhanvtran, @apfeiffer1, @schoef, @mariadalfonso this is something you requested to watch as well.
@slava77, @Degano, @smuzaffar you are the release manager for this.

cms-bot commands are list here #13028

@mmusich
Copy link
Contributor

mmusich commented Apr 6, 2016

please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Apr 6, 2016

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-any-integration/12201/console

@cmsbuild
Copy link
Contributor

cmsbuild commented Apr 6, 2016

@cmsbuild
Copy link
Contributor

cmsbuild commented Apr 6, 2016

@mmusich
Copy link
Contributor

mmusich commented Apr 6, 2016

+1

1 similar comment
@ggovi
Copy link
Contributor

ggovi commented Apr 6, 2016

+1

@gpetruc
Copy link
Contributor

gpetruc commented Apr 11, 2016

Hello, would you mind explaining a bit more what this PR does? (in particular, does it affect production in any way?)

@kirschen
Copy link
Contributor Author

Hi Giovanni,

short answer: no, it is [almost] just cosmetics ;)
The FactorizedJetCorrectorCalculator-code was never updated to accept L2L3Residual as a valid string for a correction level, when parsing the correction-parameters.

This leads to the unpractical situation that ever since the addition of L2L3Residual corrections in 2010, the txt-files carry "L2Relative" as dummy in the header line (see e.g. https://github.com/cms-sw/cmssw/blob/CMSSW_8_1_X/CondFormats/JetMETObjects/data/Jec10V1_L2L3Residual_AK5PF.txt for one of the first "L2L3Residual" files). This is in contrast to all other previously existing correction levels where txt-file name and "correction level" match and is just inconsistent.

The definition of the "correction level" has almost zero impact, the only place I am aware of is a check that enforces that L4EMF (not used anyway) is only applied to CaloJets (https://github.com/kirschen/cmssw/blob/CMSSW_8_0_X_makeL2L3ResidualKnownToJetCorrector/JetMETCorrections/Algorithms/src/LXXXCorrector.cc#L74).

The only practical change is that new L2L3Residuals can (but don't have to) carry "L2L3Residual" as correction level in their definition. Old behaviour is preserved.

Cheers,
Henning

P.S.: The reason why to get rid of this inconsistency ~now is that a payload with "L2L3Residual" in the definition was put into the CondDB for HLT-usage and lead to runtime errors.

@kirschen
Copy link
Contributor Author

It would be good if you could merge the PR in.
#13949 (81X-version) was merged in a couple of days ago.

@kirschen
Copy link
Contributor Author

@gpetruc @ggovi @mmusich @davidlange6
Could you merge this in, please?

@davidlange6
Copy link
Contributor

+1

@davidlange6 davidlange6 merged commit be2cbb1 into cms-sw:CMSSW_8_0_X May 7, 2016
@cmsbuild
Copy link
Contributor

cmsbuild commented May 7, 2016

This pull request is fully signed and it will be integrated in one of the next CMSSW_8_0_X IBs (tests are also fine). This pull request will be automatically merged.

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

Successfully merging this pull request may close these issues.

None yet

6 participants