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

fixing bug for cut-based jet pu ID #12053

Merged
merged 5 commits into from Oct 28, 2015

Conversation

jbrands
Copy link
Contributor

@jbrands jbrands commented Oct 22, 2015

This PR uses the new weight names from cms-data/RecoJets-JetProducers#6 to fix the bug for cut based pu ID. The names of offline and online pu ID are now the same. Nevertheless,this PR targets mainly the offline pu ID. The fix includes that cut-based variables have the same name as MVA variables as well as including the pull variable in the offline pu ID. The code was tested and gives reasonable values for all variables (online and offline) before running the MVA.

@cmsbuild
Copy link
Contributor

A new Pull Request was created by @jbrands for CMSSW_7_6_X.

From cmssw 7 6 0 pre7 jbrands

It involves the following packages:

DataFormats/JetReco
RecoJets/JetProducers

@cmsbuild, @cvuosalo, @slava77 can you please review it and eventually sign? Thanks.
@rappoccio, @jdolen, @yslai, @TaiSakuma, @ahinzmann, @nhanvtran, @schoef, @mariadalfonso this is something you requested to watch as well.
You can sign-off by replying to this message having '+1' in the first line of your reply.
You can reject by replying to this message having '-1' in the first line of your reply.
If you are a L2 or a release manager you can ask for tests by saying 'please test' in the first line of a comment.
@Degano you are the release manager for this.
You can merge this pull request by typing 'merge' in the first line of your comment.

@slava77
Copy link
Contributor

slava77 commented Oct 22, 2015

@cmsbuild please test

@jbrands please submit a PR to 80X as well (in case there are delays in integration to 76X)

@cmsbuild
Copy link
Contributor

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

@jbrands jbrands changed the title From cmssw 7 6 0 pre7 jbrands fixing bug for cut-based jet pu ID Oct 22, 2015
@cmsbuild
Copy link
Contributor

-1
Tested at: 699ddc3
When I ran the RelVals I found an error in the following worklfows:
4.53 step3

runTheMatrix-results/4.53_RunPhoton2012B+RunPhoton2012B+HLTD+RECODreHLT+HARVESTDreHLT/step3_RunPhoton2012B+RunPhoton2012B+HLTD+RECODreHLT+HARVESTDreHLT.log

9.0 step3

runTheMatrix-results/9.0_Higgs200ChargedTaus+Higgs200ChargedTaus+DIGI+RECO+HARVEST/step3_Higgs200ChargedTaus+Higgs200ChargedTaus+DIGI+RECO+HARVEST.log

135.4 step3

runTheMatrix-results/135.4_ZEE_13+ZEEFS_13+HARVESTUP15FS+MINIAODMCUP15FS/step3_ZEE_13+ZEEFS_13+HARVESTUP15FS+MINIAODMCUP15FS.log

25.0 step3

runTheMatrix-results/25.0_TTbar+TTbar+DIGI+RECOAlCaCalo+HARVEST+ALCATT/step3_TTbar+TTbar+DIGI+RECOAlCaCalo+HARVEST+ALCATT.log

1306.0 step3

runTheMatrix-results/1306.0_SingleMuPt1_UP15+SingleMuPt1_UP15+DIGIUP15+RECOUP15+HARVESTUP15/step3_SingleMuPt1_UP15+SingleMuPt1_UP15+DIGIUP15+RECOUP15+HARVESTUP15.log

1000.0 step2

runTheMatrix-results/1000.0_RunMinBias2011A+RunMinBias2011A+TIER0+SKIMD+HARVESTDfst2+ALCASPLIT/step2_RunMinBias2011A+RunMinBias2011A+TIER0+SKIMD+HARVESTDfst2+ALCASPLIT.log

1001.0 step2

runTheMatrix-results/1001.0_RunMinBias2011A+RunMinBias2011A+TIER0EXP+ALCAEXP+ALCAHARVD1+ALCAHARVD2+ALCAHARVD3+ALCAHARVD4/step2_RunMinBias2011A+RunMinBias2011A+TIER0EXP+ALCAEXP+ALCAHARVD1+ALCAHARVD2+ALCAHARVD3+ALCAHARVD4.log

1330.0 step3

runTheMatrix-results/1330.0_ZMM_13+ZMM_13+DIGIUP15+RECOUP15+HARVESTUP15/step3_ZMM_13+ZMM_13+DIGIUP15+RECOUP15+HARVESTUP15.log

1003.0 step2

runTheMatrix-results/1003.0_RunMinBias2012A+RunMinBias2012A+RECODDQM+HARVESTDDQM/step2_RunMinBias2012A+RunMinBias2012A+RECODDQM+HARVESTDDQM.log

50202.0 step3

runTheMatrix-results/50202.0_TTbar_13+TTbar_13+DIGIUP15_PU50+RECOUP15_PU50+HARVESTUP15_PU50/step3_TTbar_13+TTbar_13+DIGIUP15_PU50+RECOUP15_PU50+HARVESTUP15_PU50.log

25202.0 step3

runTheMatrix-results/25202.0_TTbar_13+TTbar_13+DIGIUP15_PU25+RECOUP15_PU25+HARVESTUP15_PU25/step3_TTbar_13+TTbar_13+DIGIUP15_PU25+RECOUP15_PU25+HARVESTUP15_PU25.log

you can see the results of the tests here:
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-12053/9137/summary.html

@slava77
Copy link
Contributor

slava77 commented Oct 22, 2015

--- <FATAL> BDTG                     : The expression declared to the Reader needs to be checked (name or order are wrong)
***> abort program execution

I suppose, the very latest cms-data/RecoJets-JetProducers#6 should be available first, before this can be tested.
For some reason I thought that cms-data/RecoJets-JetProducers#5 was already with the right names.
@jbrands please confirm.

@jbrands
Copy link
Contributor Author

jbrands commented Oct 22, 2015

@slava77 Unfortunately this PR cms-data/RecoJets-JetProducers#6 was necessary again because I still had to rename some variables to avoid confusion and cms-data/RecoJets-JetProducers#5 was not enough. So with cms-data/RecoJets-JetProducers#6 in the code everything should run. I use the new weight files from this PR

@slava77
Copy link
Contributor

slava77 commented Oct 25, 2015

@cmsbuild please test

@cmsbuild
Copy link
Contributor

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

@cmsbuild
Copy link
Contributor

Pull request #12053 was updated. @cmsbuild, @cvuosalo, @slava77 can you please check and sign again.

@cmsbuild
Copy link
Contributor

float dphi = reco::deltaPhi(*part, *jet);
float ddeta, ddphi, ddR;
ddeta = deta - ave_deta ;
ddphi = dphi-ave_dphi;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

reco::deltaPhi(dphi, ave_dphi)
unless you are sure this is always small (neither dphi nor ave_dphi goes above pi/2; which is probably correct, considering the constituents are a part of the jet)
[my per-commit comment may go unnoticed]

@slava77
Copy link
Contributor

slava77 commented Oct 27, 2015

@cmsbuild please test

@cmsbuild
Copy link
Contributor

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

@cmsbuild
Copy link
Contributor

Pull request #12053 was updated. @cmsbuild, @cvuosalo, @slava77 can you please check and sign again.

@cmsbuild
Copy link
Contributor

@slava77
Copy link
Contributor

slava77 commented Oct 28, 2015

+1

for #12053 832c2c0

  • changes in the code look OK (parts are in line with my earlier findings of previously inconsistent use of variables)
  • jenkins tests pass and comparisons with baseline show differences only in PU ID variables (plots in DQM)
  • additionally tested locally with 134.* workflows for 2015B and 2015C:
    • the smaller statistics results from jenkins tests are confirmed;
    • the last commits 832c2c0 compared to c6125cc give identical results on 134.705 and 134.805

plots suggest a better separation of PU jets (red is with this PR):
134.802 (2015C DoubleEG)
wf134 802_pujid_lowpt_barrel
smaller effect/difference for higher pt jets
wf134 802_pujid_midhpt_barrel

@cmsbuild
Copy link
Contributor

This pull request is fully signed and it will be integrated in one of the next CMSSW_7_6_X IBs (tests are also fine). This pull request requires discussion in the ORP meeting before it's merged. @davidlange6, @Degano, @smuzaffar

@cmsbuild
Copy link
Contributor

@cmsbuild
Copy link
Contributor

This pull request is fully signed and it will be integrated in one of the next CMSSW_7_6_X IBs (tests are also fine). This pull request requires discussion in the ORP meeting before it's merged. @davidlange6, @Degano, @smuzaffar

@davidlange6
Copy link
Contributor

+1

cmsbuild added a commit that referenced this pull request Oct 28, 2015
@cmsbuild cmsbuild merged commit deaf58f into cms-sw:CMSSW_7_6_X Oct 28, 2015
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

4 participants