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
Phase2 hgcx3 #3983
Phase2 hgcx3 #3983
Conversation
A new Pull Request was created by @bsunanda for CMSSW_6_2_X_SLHC. Phase2 hgcx3 It involves the following packages: Geometry/CaloEventSetup @civanch, @Dr15Jones, @ianna, @mdhildreth, @cmsbuild, @nclopezo, @Degano, @ktf can you please review it and eventually sign? Thanks. |
@@ -90,7 +90,7 @@ HGCalTopologyBuilder::produce(const IdealGeometryRecord& iRecord ) { | |||
|
|||
edm::ESHandle<HGCalDDDConstants> pHGDC; | |||
iRecord.get(name_, pHGDC) ; | |||
const HGCalDDDConstants* hgdc = &(*pHGDC); | |||
const HGCalDDDConstants hgdc = (*pHGDC); |
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.
@bsunanda - I think, you meant const reference here:
const HGCalDDDConstants&
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.
Hi Yana
You are right - I just pushed this change in the same branch. Could you
check if this is in or should I make a new push and pull request?
Sunanda
On Fri, 23 May 2014, ianna wrote:
In Geometry/CaloEventSetup/plugins/HGCalTopologyBuilder.cc:
@@ -90,7 +90,7 @@ HGCalTopologyBuilder::produce(const IdealGeometryRecord&
iRecord ) {edm::ESHandle pHGDC;
iRecord.get(name_, pHGDC) ;
- const HGCalDDDConstants* hgdc = &(*pHGDC);
- const HGCalDDDConstants hgdc = (*pHGDC);
@bsunanda - I think, you meant const reference here:
const HGCalDDDConstants&
—
Reply to this email directly or view it onGitHub.[5033146__eyJzY29wZSI6Ik5ld3NpZXM6QmVhY29uIiwiZXhwaXJlcyI6MTcxNjQ2Nj
QxNywiZGF0YSI6eyJpZCI6MzI5NDgwNDR9fQ==--604acc6108f8ecf420414f99e02bf26c246
4dc9e.gif]
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.
This is fine, I've already tested it before the change to a reference. The only difference should be that there is no longer a copy so I'll just merge.
merge Tested on top of other pull requests. Notes are on #3982. Note that this test was before the change to a reference, but this should have no effect on the results so I won't test again. |
Pull request #3983 was updated. @civanch, @Dr15Jones, @ianna, @mdhildreth, @cmsbuild, @nclopezo, @Degano, @ktf can you please check and sign again. |
Needed for HGCal