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

bsunanda:Run2-hcx114 Correct CaloTowerConstituent map with the merged Ids for Plan1 #17627

Merged
merged 2 commits into from Feb 26, 2017

Conversation

bsunanda
Copy link
Contributor

@bsunanda bsunanda commented Feb 24, 2017

Removes the warnings in JetIdHelper class

@cmsbuild
Copy link
Contributor

A new Pull Request was created by @bsunanda for CMSSW_9_0_X.

It involves the following packages:

Geometry/CaloTopology
Geometry/HcalCommonData
RecoLocalCalo/CaloTowersCreator

@civanch, @Dr15Jones, @cvuosalo, @ianna, @mdhildreth, @cmsbuild, @slava77, @davidlange6 can you please review it and eventually sign? Thanks.
@ghellwig this is something you requested to watch as well.
@davidlange6, @smuzaffar you are the release manager for this.

cms-bot commands are listed here #13028

@bsunanda
Copy link
Contributor Author

@cmsbuild Please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Feb 24, 2017

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-any-integration/17959/console Started: 2017/02/25 00:29

@cmsbuild
Copy link
Contributor

@cmsbuild
Copy link
Contributor

Comparison job queued.

@cmsbuild
Copy link
Contributor

Copy link
Contributor

@ianna ianna left a comment

Choose a reason for hiding this comment

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

In general, LogDebug should be used instead of std::cout

if (std::find(items.begin(),items.end(),hid) == items.end()) {
items.push_back(hid);
#ifdef EDM_ML_DEBUG
std::cout << id << " Depth " << i << ":" << i+sd << " " << hid <<"\n";
Copy link
Contributor

Choose a reason for hiding this comment

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

@bsunanda - it is better to use LogDebug

HcalDetId hid(HcalOuter,hcal_ieta*id.zside(),id.iphi(),i+sd);
items.push_back(hid);
#ifdef EDM_ML_DEBUG
std::cout << id << " Depth " << i << ":" << i+sd << " " << hid <<"\n";
Copy link
Contributor

Choose a reason for hiding this comment

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

@bsunanda - please, use LogDebug

@ianna
Copy link
Contributor

ianna commented Feb 25, 2017

+1

The number of CaloTower constituents is reduced when HCal merges DetIds.

@davidlange6
Copy link
Contributor

davidlange6 commented Feb 25, 2017 via email

@davidlange6
Copy link
Contributor

Hi @bsunanda @kpedro88 @slava77 - I assume that this pr is both important for pre5 and also the last thing we are expecting. is that your understanding too?

@Dr15Jones
Copy link
Contributor

@davidlange6 the use of cout maybe common practice but it is not accepted practice from the Framework group given the threading problems.

@davidlange6
Copy link
Contributor

davidlange6 commented Feb 25, 2017 via email

@bsunanda
Copy link
Contributor Author

Yes it is indeed a bug fix for CaloTower. The earlier treatment was not giving correct results as seen by RecoJet code

@slava77
Copy link
Contributor

slava77 commented Feb 25, 2017 via email

@cmsbuild
Copy link
Contributor

cmsbuild commented Feb 25, 2017

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-any-integration/17966/console Started: 2017/02/25 22:12

@slava77
Copy link
Contributor

slava77 commented Feb 26, 2017

@cmsbuild please test

the last build attempt has failed

@cmsbuild
Copy link
Contributor

cmsbuild commented Feb 26, 2017

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-any-integration/17968/console Started: 2017/02/26 03:27

@slava77
Copy link
Contributor

slava77 commented Feb 26, 2017

In local tests, using CMSSW_9_0_X_2017-02-25-1100 as a baseline, I see that the UnexpectedEventContents warnings are gone.

Depth-dependent observables are affected by this PR in 2017 workflows (plan-1 versions), although the plots are not very suggestive qualitatively

Among the fwlite-based comparisons, the following plots have differences

recoElectronSeeds_electronMergedSeeds__RECO.obj.hoe1
recoGsfElectrons_gedGsfElectrons__RECO.obj.dr03HcalDepth1TowerSumEtBc
recoGsfElectrons_gedGsfElectrons__RECO.obj.full5x5_hcalDepth1OverEcal
recoGsfElectrons_gedGsfElectrons__RECO.obj.full5x5_hcalDepth2OverEcal
recoGsfElectrons_gedGsfElectrons__RECO.obj.hcalDepth1OverEcal
recoGsfElectrons_gedGsfElectrons__RECO.obj.hcalDepth2OverEcal
recoPhotons_gedPhotons__RECO.obj.hcalDepth1TowerSumEtConeDR03
recoPhotons_photons__RECO.obj.hcalDepth1TowerSumEtConeDR03

Here is an example from 10224
all_sign866-plan1vsorig-plan1_ttbar13tevpu2017wf10224p0c_recophotons_photons__reco_obj_hcaldepth1towersumetconedr03

(similar plots appear also in the standard DQM).

@slava77
Copy link
Contributor

slava77 commented Feb 26, 2017

+1

for #17627 3f41c0e

  • implementation is in line with the description/title of the PR
  • jenkins tests for the original submission pass and comparisons show no differences (plan-1 was not yet in place there; even if it was, the differences appear to be small enough that they may be not captured in the few events tested in 2017 setup).
  • local tests (short matrix) and higher stat 2017 "plan-1" workflows (QCD flat pt wf 10071 and ttbar PU35 wf 10224) show small changes only in 2017 workflows (plots posted above).
    • on the technical side, timing in 10224 is not affected significantly. The towerMaker instances are a bit slower, but the increase of about 0.3 ms/evt is tolerable
delta/mean        baseline              new
   +0.044627         8.01 ms/ev ->         8.38 ms/ev towerMakerWithHO
   +0.035171          8.05 ms/ev ->         8.34 ms/ev towerMaker

@cmsbuild
Copy link
Contributor

@cmsbuild
Copy link
Contributor

Comparison job queued.

@cmsbuild
Copy link
Contributor

@ianna
Copy link
Contributor

ianna commented Feb 26, 2017

+1

@cmsbuild
Copy link
Contributor

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

@davidlange6
Copy link
Contributor

davidlange6 commented Feb 26, 2017 via email

@cmsbuild cmsbuild merged commit 7d31a71 into cms-sw:CMSSW_9_0_X Feb 26, 2017
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

7 participants