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

Fixes to HGC-BH Digitization + Code cleanup. #12584

Merged
merged 1 commit into from Dec 7, 2015

Conversation

lgray
Copy link
Contributor

@lgray lgray commented Nov 27, 2015

This PR fixes the digitization of the backing hadron calorimeter when using the newer version of the ToT digitization.

The main issue was a double conversion of GeV to keV, which resulted in overflows. Likewise there were some conversions of unsigned values to negative floats which had to be casted appropriately.

There was also a minor refactorization of the code, mainly to use std:array where ever possible, and sticking configuration data inside an "hgc_digi" namespace.

I'll post some plots later that demonstrate the now-functioning digitization.

@lgray
Copy link
Contributor Author

lgray commented Nov 27, 2015

This PR will fail unit tests until #12438 is merged.
@davidlange6 anything blocking that one?

@cmsbuild
Copy link
Contributor

A new Pull Request was created by @lgray (Lindsey Gray) for CMSSW_8_0_X.

It involves the following packages:

SimCalorimetry/HGCalSimProducers

@cmsbuild, @civanch, @mdhildreth, @davidlange6 can you please review it and eventually sign? Thanks.
@cseez, @vandreev11, @sethzenz, @pfs, @kpedro88 this is something you requested to watch as well.
@slava77, @Degano, @smuzaffar you are the release manager for this.

Following commands in first line of a comment are recognized

  • +1|approve[d]|sign[ed]: L1/L2's to approve it
  • -1|reject[ed]: L1/L2's to reject it
  • assign <category>[,<category>[,...]]: L1/L2's to request signatures from other categories
  • unassign <category>[,<category>[,...]]: L1/L2's to remove signatures from other categories
  • hold: L1/all L2's/release manager to mark it as on hold
  • unhold: L1/user who put this PR on hold
  • merge: L1/release managers to merge this request
  • [@cmsbuild,] please test: L1/L2 and selected users to start jenkins tests
  • [@cmsbuild,] please test with cms-sw/cmsdist#<PR>: L1/L2 and selected users to start jenkins tests using externals from cmsdist

@lgray
Copy link
Contributor Author

lgray commented Nov 27, 2015

Recalling that in 800pre1 (where I did the tests) the HEF and HEB are switched, here is the comparison for pT = 100 GeV pions in the HGCal.

New:
screen shot 2015-11-27 at 14 39 06

Old:
screen shot 2015-11-27 at 14 40 48

As can be seen clearly, previously we were getting some buggy distribution that doesn't even corresponded to noise, where now a physical distribution is generated.

@civanch
Copy link
Contributor

civanch commented Nov 29, 2015

please test

@cmsbuild
Copy link
Contributor

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

@cmsbuild
Copy link
Contributor

-1

Tested at: 8b49b09
I found errors in the following unit tests:

---> test runtestSimCalorimetryHGCalSimProducers had ERRORS
---> test runtestRecoLocalCaloHGCalRecProducers had ERRORS

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

@cmsbuild
Copy link
Contributor

-1

Tested at: 8b49b09
I found errors in the following unit tests:

---> test runtestSimCalorimetryHGCalSimProducers had ERRORS
---> test runtestRecoLocalCaloHGCalRecProducers had ERRORS

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

@cmsbuild
Copy link
Contributor

@civanch
Copy link
Contributor

civanch commented Dec 4, 2015

please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Dec 4, 2015

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

@cmsbuild
Copy link
Contributor

cmsbuild commented Dec 4, 2015

-1

Tested at: 8b49b09
I found errors in the following unit tests:

---> test runtestSimCalorimetryHGCalSimProducers had ERRORS
---> test runtestRecoLocalCaloHGCalRecProducers had ERRORS

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

@cmsbuild
Copy link
Contributor

cmsbuild commented Dec 4, 2015

-1

Tested at: 6cbbef3
I found errors in the following unit tests:

---> test runtestSimCalorimetryHGCalSimProducers had ERRORS
---> test runtestRecoLocalCaloHGCalRecProducers had ERRORS

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

@cmsbuild
Copy link
Contributor

cmsbuild commented Dec 4, 2015

@civanch
Copy link
Contributor

civanch commented Dec 6, 2015

please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Dec 6, 2015

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

@cmsbuild
Copy link
Contributor

cmsbuild commented Dec 6, 2015

@cmsbuild
Copy link
Contributor

cmsbuild commented Dec 6, 2015

@civanch
Copy link
Contributor

civanch commented Dec 6, 2015

+1

@cmsbuild
Copy link
Contributor

cmsbuild commented Dec 6, 2015

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 requires discussion in the ORP meeting before it's merged. @slava77, @davidlange6, @Degano, @smuzaffar

@davidlange6
Copy link
Contributor

+1

cmsbuild added a commit that referenced this pull request Dec 7, 2015
Fixes to HGC-BH Digitization + Code cleanup.
@cmsbuild cmsbuild merged commit b6582be into cms-sw:CMSSW_8_0_X Dec 7, 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