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

Removed incorrect deltaR squaring from object matching #662

Open
wants to merge 1 commit into
base: vhbbHeppy80X
Choose a base branch
from

Conversation

andresti
Copy link

@andresti andresti commented Feb 3, 2017

The matchObjectCollection takes as input deltaR, not deltaR**2.
E.g. only matches with deltaR < 0.16 instead of deltaR < 0.4 were retained.

@arizzi
Copy link

arizzi commented Feb 4, 2017

@gpetruc

@gpetruc
Copy link

gpetruc commented Feb 9, 2017

The square was correct until @cbernet changed the definition of matchObjectCollection from ΔR^2 to ΔR while "syncing utils: batchmanager" 9c4b27a
BTW changing the arguments of a function doesn't seem a great idea to me, as there may be many other places in heppy or vhbb or cmgtools where matchObjectCollection is used.

@cbernet
Copy link

cbernet commented Feb 9, 2017 via email

@arizzi
Copy link

arizzi commented Feb 9, 2017

minimal? we just run > 100k jobs on grid with all our matching messed up, how is it minimal?!?!?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants