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 for jet flavour clustering #3994

Conversation

ferencek
Copy link
Contributor

Fix for correct handling of pathological cases of Pt=0 groomed jets in the jet flavour clustering.

@cmsbuild
Copy link
Contributor

A new Pull Request was created by @ferencek (Dinko Ferencek) for CMSSW_7_1_X.

Fix for jet flavour clustering

It involves the following packages:

PhysicsTools/JetExamples
PhysicsTools/JetMCAlgos

@nclopezo, @vadler, @cmsbuild, @Degano, @monttj can you please review it and eventually sign? Thanks.
@pvmulder 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.
@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

if( matchedIdx>=0 )
{
matchedLocks.at(matchedIdx) = true;
if ( matchedDR2 > rParam_*rParam_ )
Copy link

Choose a reason for hiding this comment

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

matchedLocks remains true in this case?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@vadler With this condition met, something was not configured properly and the final results should not be used until the problem is fixed. So in that sense, one could argue that it doesn't matter much to what value matchedLocks was set since the results probably don't make much sense anyways. However, I do agree that it is probably better not to set matchedLocks to true if this condition is met. The same is true for https://github.com/cms-sw/cmssw/pull/3994/files#r13046815 I will commit a fix soon. Thanks for spotting this.

Copy link

Choose a reason for hiding this comment

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

Thanx!
Please also propagate the fix to the other release cycles, so that I can sign all four of them right away ;-)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Will do. Working on it right now.

@cmsbuild
Copy link
Contributor

@cmsbuild
Copy link
Contributor

Pull request #3994 was updated. @nclopezo, @vadler, @cmsbuild, @Degano, @monttj can you please check and sign again.

@cmsbuild
Copy link
Contributor

@cmsbuild
Copy link
Contributor

@cmsbuild
Copy link
Contributor

@vadler
Copy link

vadler commented May 27, 2014

+1

@vadler
Copy link

vadler commented May 27, 2014

-1
...just to wait for a comment.

@vadler
Copy link

vadler commented May 28, 2014

+1
@ferencek : I understood from your comment, that the current behaviour is exactly as you want it.

@cmsbuild
Copy link
Contributor

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

@ferencek
Copy link
Contributor Author

@vadler Correct, the current behavior is the intended one.

@ferencek
Copy link
Contributor Author

Btw, will this PR be automatically propagated to the 7_2_X branch?

davidlange6 added a commit that referenced this pull request Jun 3, 2014
…m-CMSSW_7_1_0_pre8

Fix for  jet flavour clustering
@davidlange6 davidlange6 merged commit 45e7d5a into cms-sw:CMSSW_7_1_X Jun 3, 2014
@davidlange6
Copy link
Contributor

yes

@ferencek ferencek deleted the JetFlavourClusteringFix_from-CMSSW_7_1_0_pre8 branch June 3, 2014 16:27
@ferencek ferencek restored the JetFlavourClusteringFix_from-CMSSW_7_1_0_pre8 branch June 3, 2014 19:31
@ferencek ferencek deleted the JetFlavourClusteringFix_from-CMSSW_7_1_0_pre8 branch June 4, 2014 03:41
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