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-hcx76 Remove wrong warnings #13915

Merged
merged 1 commit into from
Apr 9, 2016

Conversation

bsunanda
Copy link
Contributor

@bsunanda bsunanda commented Apr 4, 2016

Wrong warnings in HcalCondObjectContainer and CaloTPGTranscoderULUT are removed

@cmsbuild cmsbuild added this to the Next CMSSW_8_1_X milestone Apr 4, 2016
@bsunanda
Copy link
Contributor Author

bsunanda commented Apr 4, 2016

@cmsbuild Please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Apr 4, 2016

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

@cmsbuild
Copy link
Contributor

cmsbuild commented Apr 4, 2016

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

It involves the following packages:

CalibCalorimetry/CaloTPG
CondFormats/HcalObjects

@cerminar, @cmsbuild, @rekovic, @franzoni, @ggovi, @mmusich, @mulhearn, @davidlange6 can you please review it and eventually sign? Thanks.
@apfeiffer1, @tocheng this is something you requested to watch as well.
@slava77, @Degano, @smuzaffar you are the release manager for this.

cms-bot commands are list here #13028

@cmsbuild
Copy link
Contributor

cmsbuild commented Apr 4, 2016

@rekovic
Copy link
Contributor

rekovic commented Apr 4, 2016

+1

@cmsbuild
Copy link
Contributor

cmsbuild commented Apr 4, 2016

@ggovi
Copy link
Contributor

ggovi commented Apr 5, 2016

+1

@mmusich
Copy link
Contributor

mmusich commented Apr 5, 2016

@bsunanda I temporarily remove my +1, I would like to understand if this prevents by any means of spotting inconsistent geometry and calibrations (as we recently experienced during preparation of 2016 data-taking)

@cmsbuild
Copy link
Contributor

cmsbuild commented Apr 5, 2016

This pull request is fully signed and it will be integrated in one of the next CMSSW_8_1_X IBs (tests are also fine). This pull request requires discussion in the ORP meeting before it's merged. @slava77, @davidlange6, @Degano, @smuzaffar

@@ -13,9 +13,9 @@ HcalCondObjectContainerBase::HcalCondObjectContainerBase(const HcalTopology* top
}

void HcalCondObjectContainerBase::setTopo(const HcalTopology* topo) {
if (topo && !topo->denseIdConsistent(packedIndexVersion_)) {
if ((topo) && (packedIndexVersion_ != 0) &&
Copy link
Contributor

Choose a reason for hiding this comment

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

@bsunanda which use case (packedIndexVersion_ != 0) is supposed to take care of?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The default constructor initializes packedIndexVersion_ = 0
It does not know at that stage what the packed index version is. Ideally the default constructor should know the packed index version at the time of construction. Unfortunately the packed index version is not saved in the data base (except the geometry in DB). We may at some point in time utilize that. It will come later on. At the moment the code is unprotected and this warning is totally misleading


From: Marco Musich [notifications@github.com]
Sent: 05 April 2016 14:37
To: cms-sw/cmssw
Cc: Sunanda Banerjee
Subject: Re: [cms-sw/cmssw] bsunanda:Run2-hcx76 Remove wrong warnings (#13915)

In CondFormats/HcalObjects/src/HcalCondObjectContainerBase.cchttps://github.com//pull/13915#discussion_r58529923:

@@ -13,9 +13,9 @@ HcalCondObjectContainerBase::HcalCondObjectContainerBase(const HcalTopology* top
}

void HcalCondObjectContainerBase::setTopo(const HcalTopology* topo) {

  • if (topo && !topo->denseIdConsistent(packedIndexVersion_)) {
  • if ((topo) && (packedIndexVersion_ != 0) &&

@bsunandahttps://github.com/bsunanda which use case (packedIndexVersion_ != 0) is supposed to take care of?


You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHubhttps://github.com//pull/13915/files/8b8909957f8e7e2d99992087483b106ff7e2b6b8#r58529923

@bsunanda
Copy link
Contributor Author

bsunanda commented Apr 6, 2016

@mmusich Could you approve this PR?

@abdoulline
Copy link

@mmusich
please, approve

@mmusich
Copy link
Contributor

mmusich commented Apr 8, 2016

+1

@cmsbuild
Copy link
Contributor

cmsbuild commented Apr 8, 2016

This pull request is fully signed and it will be integrated in one of the next CMSSW_8_1_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 cmsbuild merged commit 9910dfb into cms-sw:CMSSW_8_1_X Apr 9, 2016
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.

7 participants