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-hcx116 back port PR 17948 for treatment of ND filter #17949

Merged
merged 2 commits into from Mar 20, 2017

Conversation

bsunanda
Copy link
Contributor

This is needed for correcting GEN-SIM step as well

@bsunanda
Copy link
Contributor Author

@cmsbuild Please test

@cmsbuild cmsbuild added this to the Next CMSSW_9_0_X milestone Mar 15, 2017
@cmsbuild
Copy link
Contributor

cmsbuild commented Mar 15, 2017

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-any-integration/18469/console Started: 2017/03/16 00:11

@cmsbuild
Copy link
Contributor

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

It involves the following packages:

Geometry/HcalCommonData
SimG4CMS/Calo

@civanch, @Dr15Jones, @ianna, @mdhildreth, @cmsbuild, @davidlange6 can you please review it and eventually sign? Thanks.
@ghellwig, @makortel 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

@cmsbuild
Copy link
Contributor

@cmsbuild
Copy link
Contributor

Comparison job queued.

@cmsbuild
Copy link
Contributor

@ianna
Copy link
Contributor

ianna commented Mar 16, 2017

+1

Note: in some cases depth == 0 becomes depth == 1

@civanch
Copy link
Contributor

civanch commented Mar 16, 2017

@bsunanda , all 2017 WFs demonstrate substantial differences, is this PR a bug fix? I would extend description writing that explicitly, ideally describing what means depth 0, 1, 2

There are 3 identical peaces of the code : lines 639-644, 959-961, 1022-1027:
if (numberingFromDDD) {
HcalNumberingFromDDD::HcalID tmp = numberingFromDDD->unitID(det,etaR,phi,depth,1);
modifyDepth(tmp);
if (numberingScheme) unitID = numberingScheme->getUnitID(tmp);
}

I would change this to

if(numberingFromDDD && numberingScheme) {
HcalNumberingFromDDD::HcalID tmp = numberingFromDDD->unitID(det,etaR,phi,depth,1);
modifyDepth(tmp);
unitID = numberingScheme->getUnitID(tmp);
}
or include this block into modifyDepth(det,etaR,phi,depth,1) to avoid code duplication.

There another block lines 1100-1145, where 'numberingScheme' flag is not check. Is this done for purpose?

@cmsbuild
Copy link
Contributor

Pull request #17949 was updated. @civanch, @Dr15Jones, @ianna, @mdhildreth, @cmsbuild, @davidlange6 can you please check and sign again.

@bsunanda
Copy link
Contributor Author

@cmsbuild Please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Mar 16, 2017

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-any-integration/18490/console Started: 2017/03/16 15:13

@cmsbuild
Copy link
Contributor

@cmsbuild
Copy link
Contributor

Comparison job queued.

@ianna
Copy link
Contributor

ianna commented Mar 16, 2017

+1

@cmsbuild
Copy link
Contributor

@abdoulline
Copy link

abdoulline commented Mar 17, 2017

Quick check with 2017 ("Plan1") single-pion gun :

(1) without this PR: an issue of HcalRecHits scale (expected SimHits change isn't compensated downstream) when compared to Phase0 (2016)
https://cms-cpt-software.web.cern.ch/cms-cpt-software/General/Validation/SVSuite/HCAL/calo_scan_single_pi/900pre6_Plan1_vs_900pre6_SinglePi/

(2) with this PR: HcalRecHits become OK
https://cms-cpt-software.web.cern.ch/cms-cpt-software/General/Validation/SVSuite/HCAL/calo_scan_single_pi/900pre6_Plan1fix_vs_900pre6_SinglePi/

@civanch
Copy link
Contributor

civanch commented Mar 17, 2017

@bsunanda , @abdoulline , I am ready to sign but do not understand the a minor thing: line 1106 of the SD code: here you modify depth without checking 'numberingScheme' flag. In all other places both 'numberingScheme' and 'numberingFromDDD' are checked before "modify". Is this intended?

@bsunanda
Copy link
Contributor Author

@civanch We have the option of giving layer weights based on some measurements from source scan results. This is done through files which provide eta, phi, depth indices and they are saved by packing using testNumberingScheme within HCalSD code and this is used while storing hits. So for this we know which packing is required. That is why there is no test of packing scheme is made there.

@bsunanda
Copy link
Contributor Author

@civanch Please approve this. We need this for 2017 SIM step

@civanch
Copy link
Contributor

civanch commented Mar 17, 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

+1

@cmsbuild cmsbuild merged commit 6a11564 into cms-sw:CMSSW_9_0_X Mar 20, 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

6 participants