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

Fixes to vertex validation #9519

Merged
merged 4 commits into from Jun 10, 2015
Merged

Conversation

makortel
Copy link
Contributor

@makortel makortel commented Jun 9, 2015

This PR contains the following fixes to vertex validation:

  1. Whenever a sim/reco vertex is matched to multiple reco/sim vertices, use the best match as defined by the associator (currently the one with largest number of shared tracks)
    • Old behaviour was to pick the one with smallest event ID
  2. Do not reset num_matched_reco_tracks and average_match_quality members of simPrimaryVertex when switching reco vertex collections, since these two do not depend on sim-reco vertex association
  3. Fix calculation of z distance to closest vertex (for both reco and sim vertices)

Tested in CMSSW_7_5_X_2015-06-06-2300, following differences in the histograms are expected (examples from 1000 TTbar+25ns PU events; black is old and red is new):

  • Small changes in all *MatchedMerged_* histograms (caused by 1.), e.g.
    image
  • Smal.l changes in all *MultiMatchedGen_* histograms (caused by 1.), e.g.
    image
    and therefore in duplicate rates, e.g.
    image
  • *_SharedTrackFractionSimMatched histograms get filled (caused by 2.), e.g.
    image
  • Values of *_ClosestDistanceZ decrease (caused by 3.), e.g.
    image

@rovere @VinInn

These are set in getSimPVs(), and are based on the matching of
TrackingParticles to reco::Tracks.
Because of not having the foll n^2 loop, need to compare the minimum
distance for both.
@cmsbuild
Copy link
Contributor

cmsbuild commented Jun 9, 2015

A new Pull Request was created by @makortel (Matti Kortelainen) for CMSSW_7_5_X.

Fixes to vertex validation

It involves the following packages:

Validation/RecoVertex

@cmsbuild, @danduggan, @deguio can you please review it and eventually sign? Thanks.
@GiacomoSguazzoni, @rovere, @VinInn, @appeltel, @cerati, @dgulhan, @venturia 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.
@Degano you are the release manager for this.
You can merge this pull request by typing 'merge' in the first line of your comment.

@deguio
Copy link
Contributor

deguio commented Jun 9, 2015

please test

@deguio
Copy link
Contributor

deguio commented Jun 9, 2015

+1

@cmsbuild
Copy link
Contributor

cmsbuild commented Jun 9, 2015

The tests are being triggered in jenkins.

@cmsbuild
Copy link
Contributor

cmsbuild commented Jun 9, 2015

This pull request is fully signed and it will be integrated in one of the next CMSSW_7_5_X IBs unless changes or unless it breaks tests. This pull request requires discussion in the ORP meeting before it's merged. @davidlange6, @Degano, @smuzaffar

@cmsbuild
Copy link
Contributor

cmsbuild commented Jun 9, 2015

This pull request is fully signed and it will be integrated in one of the next CMSSW_7_5_X IBs unless changes or unless it breaks tests. This pull request requires discussion in the ORP meeting before it's merged. @davidlange6, @Degano, @smuzaffar

@cmsbuild
Copy link
Contributor

cmsbuild commented Jun 9, 2015

@cmsbuild
Copy link
Contributor

cmsbuild commented Jun 9, 2015

This pull request is fully signed and it will be integrated in one of the next CMSSW_7_5_X IBs unless changes (tests are also fine). This pull request requires discussion in the ORP meeting before it's merged. @davidlange6, @Degano, @smuzaffar

@davidlange6
Copy link
Contributor

+1

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