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

Phase2 hgcx3 #3983

Merged
merged 3 commits into from May 23, 2014
Merged

Phase2 hgcx3 #3983

merged 3 commits into from May 23, 2014

Conversation

bsunanda
Copy link
Contributor

Needed for HGCal

@cmsbuild
Copy link
Contributor

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

Phase2 hgcx3

It involves the following packages:

Geometry/CaloEventSetup
Geometry/CaloTopology
Geometry/HGCalCommonData

@civanch, @Dr15Jones, @ianna, @mdhildreth, @cmsbuild, @nclopezo, @Degano, @ktf can you please review it and eventually sign? Thanks.
@ghellwig this is something you requested to watch as well.
You can sign-off by replying to this message having '+1' in the first line of your reply.
You can reject by replying to this message having '-1' in the first line of your reply.
@andersonjacob, @mark-grimes you are the release manager for this.
You can merge this pull request by typing 'merge' in the first line of your comment.

@@ -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);
Copy link
Contributor

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&

Copy link
Contributor Author

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]

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.

@mark-grimes
Copy link

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.

@cmsbuild
Copy link
Contributor

Pull request #3983 was updated. @civanch, @Dr15Jones, @ianna, @mdhildreth, @cmsbuild, @nclopezo, @Degano, @ktf can you please check and sign again.

cmsbuild added a commit that referenced this pull request May 23, 2014
@cmsbuild cmsbuild merged commit 420f476 into cms-sw:CMSSW_6_2_X_SLHC May 23, 2014
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

4 participants