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

Removed use of ConstProductRegistry since the function is deprecated #547

Merged
merged 1 commit into from Aug 16, 2013

Conversation

Dr15Jones
Copy link
Contributor

The code was attempting to lookup a value for a ParameterSet for another module via the ConstProductRegistry.
The particular function being called will be going away for thread safety reasons. The code was changes to
instead use the ProcessHistory at beginRun to lookup the same information. This is actually superior since
the ConstProductRegistry call could have caused an exception if different jobs were using different configurations
for the module being searched.
In addition to the above I removed unused member data, fixed an end of job memory leak and added a
'fillDescriptions' to properly handle the case where a tracked parameter was allowed to not be specified.

…being removed from the framework.

The code was attempting to lookup a value for a ParameterSet for another module via the ConstProductRegistry.
The particular function being called will be going away for thread safety reasons. The code was changes to
instead use the ProcessHistory at beginRun to lookup the same information. This is actually superior since
the ConstProductRegistry call could have caused an exception if different jobs were using different configurations
for the module being searched.
In addition to the above I removed unused member data, fixed an end of job memory leak and added a
'fillDescriptions' to properly handle the case where a tracked parameter was allowed to not be specified.
@ktf
Copy link
Contributor

ktf commented Aug 16, 2013

@nclopezo please test.

@ghost ghost assigned nclopezo Aug 16, 2013
@nclopezo
Copy link
Contributor

Hi,

I took these changes on top of CMSSW_7_0_X_2013-08-16-0200, I ran the unit tests and RelVals, all tests passed.

https://cmssdt.cern.ch/jenkins/job/Pull-Request-Integration/ARCHITECTURE=slc5_amd64_gcc472/125/console

ktf added a commit that referenced this pull request Aug 16, 2013
Removed use of ConstProductRegistry since the function is deprecated
@ktf ktf merged commit 6f639b8 into cms-sw:CMSSW_7_0_X Aug 16, 2013
nclopezo pushed a commit to nclopezo/cmssw that referenced this pull request Apr 30, 2014
updated config tag to V05-01-20
arizzi added a commit to arizzi/cmssw that referenced this pull request Sep 8, 2016
cmsbuild pushed a commit that referenced this pull request Sep 9, 2020
If the Status_OnGPU path exists already, replace its contente instead of
recreating it. This guarantuees that the order of the paths in the menu
and monitor toold does not change.
cmsbuild pushed a commit that referenced this pull request Sep 24, 2020
If the Status_OnGPU path exists already, replace its contente instead of
recreating it. This guarantuees that the order of the paths in the menu
and monitor toold does not change.
fwyzard added a commit to fwyzard/cmssw that referenced this pull request Dec 16, 2020
If the Status_OnGPU path exists already, replace its contente instead of
recreating it. This guarantuees that the order of the paths in the menu
and monitor toold does not change.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants