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

fix getByLabel #5428

Merged
merged 2 commits into from Sep 22, 2014
Merged

Conversation

quertenmont
Copy link
Contributor

No description provided.

@cmsbuild
Copy link
Contributor

A new Pull Request was created by @quertenmont (Loic Quertenmont) for CMSSW_7_3_X.

fix getByLabel

It involves the following packages:

SUSYBSMAnalysis/HSCP

@cmsbuild, @vadler, @nclopezo, @monttj 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.
@nclopezo, @ktf you are the release manager for this.
You can merge this pull request by typing 'merge' in the first line of your comment.

@cmsbuild
Copy link
Contributor

m_dtSegmentTag = iConfig.getParameter<edm::InputTag>("DTSegments");

m_cscSegmentToken = consumes< CSCSegmentCollection >( edm::InputTag( "CSCSegments" ) );
m_dtSegmentToken = consumes< DTRecSegment4DCollection >(edm::InputTag( "DTSegments" ) );

Copy link

Choose a reason for hiding this comment

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

You switch from config parameters to constant InputTags. Is that intentionally?
If not, it should rather look like

m_dtSegmentToken = consumes< DTRecSegment4DCollection >(iConfig.getParameter<edm::InputTag>("DTSegments") );

@vadler
Copy link

vadler commented Sep 19, 2014

Of course, any (future) comment also holds for #5427 .

@quertenmont
Copy link
Contributor Author

Hi Volker,

Thanks for looking into it,
this is all private code that is never run in production,
so I don't believe that the scrutiny needs to be so high.
But I'll make the changes you suggest at some point, but for this PR, I think what is there is fine.

Loic,

@vadler
Copy link

vadler commented Sep 19, 2014

@quertenmont : I guess, you refer to #5428 (comment) here. It's ok, since this clean-up is not the main subject of this PR.
This lets #5428 (comment) untouched, which points to a real bug, if my assumption is correct.

@quertenmont
Copy link
Contributor Author

As I said, none of this really matter since it's private code that is not run in production
But since I can make you happy so easilly... I updated the request...

@cmsbuild
Copy link
Contributor

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

@cmsbuild
Copy link
Contributor

@cmsbuild
Copy link
Contributor

This pull request is fully signed and it will be integrated in one of the next CMSSW_7_3_X IBs unless changes (tests are also fine). @nclopezo, @ktf can you please take care of it?

@cmsbuild
Copy link
Contributor

@cmsbuild
Copy link
Contributor

This pull request is fully signed and it will be integrated in one of the next CMSSW_7_3_X IBs unless changes (tests are also fine). @nclopezo, @ktf can you please take care of it?

@cmsbuild
Copy link
Contributor

ktf added a commit that referenced this pull request Sep 22, 2014
@ktf ktf merged commit efb3dc2 into cms-sw:CMSSW_7_3_X Sep 22, 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