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-hcx108 Effect of Plan1 geometry on Calibration #17550

Merged
merged 3 commits into from Feb 20, 2017

Conversation

bsunanda
Copy link
Contributor

@bsunanda bsunanda commented Feb 17, 2017

Provide a few functions : getPosition, getCorners to HcalGeometry which can handle merged DetId's in addition to CaloCellGeometry functionalities. It does not affect any earlier functionalities

@cmsbuild
Copy link
Contributor

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

It involves the following packages:

Calibration/HcalCalibAlgos
Geometry/CaloTopology
Geometry/HcalTowerAlgo

@ghellwig, @civanch, @Dr15Jones, @arunhep, @ianna, @cerminar, @cmsbuild, @franzoni, @mdhildreth, @mmusich, @davidlange6 can you please review it and eventually sign? Thanks.
@ghellwig, @tocheng this is something you requested to watch as well.
@davidlange6, @smuzaffar you are the release manager for this.

cms-bot commands are listed here #13028

@bsunanda
Copy link
Contributor Author

@cmsbuild Please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Feb 17, 2017

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-any-integration/17850/console Started: 2017/02/17 21:59

@cmsbuild
Copy link
Contributor

@cmsbuild
Copy link
Contributor

Comparison job queued.

@cmsbuild
Copy link
Contributor

@civanch
Copy link
Contributor

civanch commented Feb 18, 2017

@bsunanda , in the last file of this PR you have:

for (unsigned int k=0; k<8; ++k) {
mcorners[k] = mcf[k];
mcorners[k+4] = mcb[k];
}
this means that the array mcorners is overwritten for indexes 4-7

@cmsbuild
Copy link
Contributor

Pull request #17550 was updated. @ghellwig, @civanch, @Dr15Jones, @arunhep, @ianna, @cerminar, @cmsbuild, @franzoni, @mdhildreth, @mmusich, @davidlange6 can you please check and sign again.

@bsunanda
Copy link
Contributor Author

@civanch Thanks for pointing this out
@cmsbuild Please test

@davidlange6
Copy link
Contributor

please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Feb 18, 2017

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-any-integration/17863/console Started: 2017/02/18 18:01

@cmsbuild
Copy link
Contributor

Pull request #17550 was updated. @ghellwig, @civanch, @Dr15Jones, @arunhep, @ianna, @cerminar, @cmsbuild, @franzoni, @mdhildreth, @mmusich, @davidlange6 can you please check and sign again.

@bsunanda
Copy link
Contributor Author

@cmsbuild Please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Feb 20, 2017

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-any-integration/17876/console Started: 2017/02/20 02:21

@bsunanda
Copy link
Contributor Author

@ianna I hope I explained the issues

@cmsbuild
Copy link
Contributor

@cmsbuild
Copy link
Contributor

Comparison job queued.

@cmsbuild
Copy link
Contributor

@ianna
Copy link
Contributor

ianna commented Feb 20, 2017

+1

@ianna
Copy link
Contributor

ianna commented Feb 20, 2017

unhold

@cmsbuild cmsbuild removed the hold label Feb 20, 2017
@bsunanda
Copy link
Contributor Author

@franzoni @davidlange6 Please approve - need at least 2 more PR's after this to make Plan1 operational

CaloCellGeometry::CornersVec mcorners;
CaloCellGeometry::CornersVec mcf = getGeometry(ids.front())->getCorners();
CaloCellGeometry::CornersVec mcb = getGeometry(ids.back())->getCorners();
for (unsigned int k=0; k<4; ++k) {

Choose a reason for hiding this comment

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

hello @bsunanda

can you guarantee (or do you need to check)
that mcf/mcb have at least , resp. , 4 and 8 elements ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

All CaloCellGeometry defines a cornersvec with 8 elements. This is the definition of CaloCellGeometry::CornersVec. It does not need a further check to the best of my understanding

@franzoni
Copy link

+1

In light of:

  • no impact on 2017 MC workflows, nor 2016 nor 2012 data (as expected)
    and
    * assuming @bsunanda will address my comment above (I won't have time to look at this again this afternoon)

@cmsbuild
Copy link
Contributor

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

@davidlange6
Copy link
Contributor

+1

@cmsbuild cmsbuild merged commit 98ceb19 into cms-sw:CMSSW_9_0_X Feb 20, 2017
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

6 participants