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

Hcal simple reconstructor with method3 #11769

Merged

Conversation

igv4321
Copy link
Contributor

@igv4321 igv4321 commented Oct 13, 2015

Including "method 3" initialization in the HcalSimpleReconstructor module.

Making a separate python cff for method 3 configuration and importing this configuration into HcalHitReconstructor and HcalSimpleReconstructor configs.

@cmsbuild
Copy link
Contributor

A new Pull Request was created by @igv4321 (Igor Volobouev) for CMSSW_7_6_X.

Hcal simple reconstructor with method3

It involves the following packages:

RecoLocalCalo/HcalRecProducers

@cmsbuild, @cvuosalo, @slava77 can you please review it and eventually sign? Thanks.
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.

)


pedestalSubtractionType = cms.int32(method3.pedestalSubtractionType),
Copy link
Contributor

Choose a reason for hiding this comment

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

I think you can do plain assignment if you define the types in HBHEMethod3Parameters, without this "cast".

@igv4321
Copy link
Contributor Author

igv4321 commented Oct 13, 2015

Yes, indeed. This is also what I tried earlier, but it did not work for me initially. Probably had an extra comma somewhere of something like that.

@cmsbuild
Copy link
Contributor

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

import FWCore.ParameterSet.Config as cms

# Configuration parameters for Method 3
pedestalSubtractionType = cms.int32(1)
Copy link
Contributor

Choose a reason for hiding this comment

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

you can wrap this in a PSet and then include it in the module (has to be included before any named parameters of the module
https://twiki.cern.ch/twiki/bin/view/CMSPublic/SWGuideAboutPythonConfigFile#Parameter_Set_PSet_Objects
)
cms-sw:CMSSW_7_6_X...slava77:CMSSW_7_6_0_pre7/sign613/alt-11769

@igv4321
Copy link
Contributor Author

igv4321 commented Oct 13, 2015

OK, fillDescriptions added

@cmsbuild
Copy link
Contributor

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

@slava77
Copy link
Contributor

slava77 commented Oct 14, 2015

@cmsbuild please test
[unsure yet if the IB is alive]

@cmsbuild
Copy link
Contributor

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

@cmsbuild
Copy link
Contributor

-1
Tested at: 37620ae
you can see the results of the tests here:
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-11769/8803/summary.html

@slava77
Copy link
Contributor

slava77 commented Oct 14, 2015

As discussed in #11735
more strict M3 initialization strategy is desired (currently, construction and initialization are done in separate methods)
One compile time choice is proposed here
slava77@62449ed

Another alternative, less desired IMO, is to do a run-time check

@smuzaffar
Copy link
Contributor

please test

@cmsbuild
Copy link
Contributor

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

@cmsbuild
Copy link
Contributor

@cmsbuild
Copy link
Contributor

@slava77
Copy link
Contributor

slava77 commented Oct 19, 2015

+1

for #11769 37620ae

  • resolves uninitialized conditions/undefined behavior reported in [UBSAN] RecoLocalCalo/HcalRecAlgos/interface/HcalDeterministicFit.h #11735 . A more robust solution forcing initialization at construction (without delays to special init function) was discussed as something to be done reasonably soon.
  • jenkins tests pass and comparisons with the baseline show no difference

@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 23, 2015
…ethod3

Hcal simple reconstructor with method3
@cmsbuild cmsbuild merged commit 2dd6291 into cms-sw:CMSSW_7_6_X Oct 23, 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.

5 participants