-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
Hcal simple reconstructor with method3 #11769
Conversation
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. |
) | ||
|
||
|
||
pedestalSubtractionType = cms.int32(method3.pedestalSubtractionType), |
There was a problem hiding this comment.
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".
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. |
import FWCore.ParameterSet.Config as cms | ||
|
||
# Configuration parameters for Method 3 | ||
pedestalSubtractionType = cms.int32(1) |
There was a problem hiding this comment.
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
OK, fillDescriptions added |
@cmsbuild please test |
The tests are being triggered in jenkins. |
-1 |
As discussed in #11735 Another alternative, less desired IMO, is to do a run-time check |
please test |
The tests are being triggered in jenkins. |
+1
|
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 |
+1 |
…ethod3 Hcal simple reconstructor with method3
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.