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

make static into class members #1441

Merged
merged 3 commits into from Nov 15, 2013
Merged

make static into class members #1441

merged 3 commits into from Nov 15, 2013

Conversation

gartung
Copy link
Member

@gartung gartung commented Nov 12, 2013

No description provided.

@cmsbuild
Copy link
Contributor

A new Pull Request was created by @gartung (Patrick Gartung) for CMSSW_7_0_X.

make static into class members

It involves the following packages:

Validation/TrackerHits

@nclopezo, @danduggan, @rovere, @cmsbuild, @deguio, @eliasron can you please review it and eventually sign? Thanks.
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.
@ktf you are the release manager for this.



std::string HepMClabel = config_.getUntrackedParameter<std::string>("HepMCProductLabel","source");
std::string HepMCinstance = config_.getUntrackedParameter<std::string>("HepMCInputInstance","");
Copy link
Contributor

Choose a reason for hiding this comment

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

This won't work right. This declares a new variable with the same name as the member data. You need to remove the std::string in both lines.

@cmsbuild
Copy link
Contributor

Pull request #1441 was updated. @nclopezo, @danduggan, @rovere, @cmsbuild, @deguio, @eliasron can you please check and sign again.

@@ -138,6 +138,9 @@ class TrackerHitProducer : public edm::EDProducer
edm::InputTag G4TrkSrc_;

edm::ParameterSet config_;
std::string HepMClabel;
std::string HepMCinstance;
Copy link
Contributor

Choose a reason for hiding this comment

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

To make it consistent with the other member data, could these names be changed to end with an underscore?

@cmsbuild
Copy link
Contributor

Pull request #1441 was updated. @nclopezo, @danduggan, @rovere, @cmsbuild, @deguio, @eliasron can you please check and sign again.

@Dr15Jones
Copy link
Contributor

Looks good to me.

@cmsbuild
Copy link
Contributor

@deguio
Copy link
Contributor

deguio commented Nov 15, 2013

+1

@cmsbuild
Copy link
Contributor

This pull request is fully signed and it will be integrated in one of the next IBs unless changes or unless it breaks tests. @ktf can you please take care of it?

ktf added a commit that referenced this pull request Nov 15, 2013
Multithreading fixes -- Make static into class members
@ktf ktf merged commit bad878b into cms-sw:CMSSW_7_0_X Nov 15, 2013
@gartung gartung deleted the statics-Validation-TrackerHits branch November 15, 2013 15:17
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

5 participants