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

Bug fix in HLTJetCollectionsVBFFilter #7457

Merged
merged 1 commit into from Jan 30, 2015

Conversation

wddgit
Copy link
Contributor

@wddgit wddgit commented Jan 29, 2015

Fix a bug where the code is using the index
into the RefVector where the index into the
collection is expected. This will result in
Ref's to the wrong element being created.

Fix a bug where the code is using the index
into the RefVector where the index into the
collection is expected. This will result in
Ref's to the wrong element being created.
@cmsbuild
Copy link
Contributor

A new Pull Request was created by @wddgit (W. David Dagenhart) for CMSSW_7_4_X.

Bug fix in HLTJetCollectionsVBFFilter

It involves the following packages:

HLTrigger/JetMET

@Martin-Grunewald, @perrotta, @cmsbuild, @nclopezo, @fwyzard can you please review it and eventually sign? Thanks.
@Martin-Grunewald 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.
If you are a L2 or a release manager you can ask for tests by saying 'please test' in the first line of a comment.

@wddgit
Copy link
Contributor Author

wddgit commented Jan 29, 2015

Note I am not familiar with this code. It is possible
this code is not used for anything, but if it is
used then it is likely this bug are creating
incorrect results. I did not test this beyond
making sure the fix compiles and it would be a
good idea for someone familiar with this to take
a look at it.

The Ref constructor used by this code will be deleted
from the Core code in a pull request which will be
submitted within the next few days. That is why I
noticed this. That pull request will depend on this
one getting merged first.

To illustrate the problem more clearly, the RefVector
might have 5 entries and the TCollection might have
1000 jets. The 3rd element of the RefVector might
reference the 500th jet. The existing call to the constructor
is passing an index into the RefVector when an index into
the TCollection is expected, In this example, passing 3
instead of 500.

@Martin-Grunewald
Copy link
Contributor

Thanks for catching this!

@Martin-Grunewald
Copy link
Contributor

please test

@cmsbuild
Copy link
Contributor

The tests are being triggered in jenkins.

@cmsbuild
Copy link
Contributor

@Martin-Grunewald
Copy link
Contributor

+1

@cmsbuild
Copy link
Contributor

This pull request is fully signed and it will be integrated in one of the next CMSSW_7_4_X IBs unless changes (tests are also fine). This pull request will be automatically merged.

cmsbuild added a commit that referenced this pull request Jan 30, 2015
Bug fix in HLTJetCollectionsVBFFilter
@cmsbuild cmsbuild merged commit 9cdf879 into cms-sw:CMSSW_7_4_X Jan 30, 2015
@cmsbuild
Copy link
Contributor

@wddgit wddgit deleted the bugMakingRefFromRefVector2 branch May 19, 2015 19:43
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

3 participants