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 lostmidfrac in track MVA selection #17057

Merged
merged 1 commit into from Dec 23, 2016
Merged

Conversation

makortel
Copy link
Contributor

This PR fixes a small bug in the track MVA selection: in the MVA training, the so-called lostmidfrac (=nlost/(nvalid+nlost)) is correctly calculated in floating point, but in the MVA application side the fraction is calculated in integers (effectively leading the fraction to be always 0).

Below are MTV plots for 1000 events of ttbar+35PU in 810pre16 for

The main effect is a small (~2 % in phase0, ~1 % in phase1) decrease in the fake rates.

Tested in 8_1_0_pre16, expecting changes described above in phase0 and phase1 workflows, no change expected in phase2 (as MVA selection is not used there yet).

@rovere @VinInn

@makortel
Copy link
Contributor Author

@cmsbuild, please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Dec 16, 2016

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-any-integration/17084/console Started: 2016/12/16 14:50

@cmsbuild
Copy link
Contributor

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

It involves the following packages:

RecoTracker/FinalTrackSelectors

@cmsbuild, @cvuosalo, @slava77, @davidlange6 can you please review it and eventually sign? Thanks.
@ghellwig, @felicepantaleo, @GiacomoSguazzoni, @rovere, @VinInn, @mschrode, @gpetruc, @dgulhan this is something you requested to watch as well.
@slava77, @smuzaffar you are the release manager for this.

cms-bot commands are listed here #13028

@cmsbuild
Copy link
Contributor

@cmsbuild
Copy link
Contributor

Comparison job queued.

@makortel
Copy link
Contributor Author

type bugfix

@cmsbuild
Copy link
Contributor

@slava77
Copy link
Contributor

slava77 commented Dec 23, 2016

+1

for #17057 21fac34

  • change is as described, effectively enabling the use of trk.numberOfLostHits() / (trk.numberOfValidHits() + trk.numberOfLostHits()) in the MVA track selections
  • jenkins tests pass and comparisons show small changes in track-related variables
  • supplied MTV plots for phase-0 show particularly visible decrease in fakes in lowPtTriplet and pixelPair steps

wf25202makortel_frbyalgo

- local tests with more samples show similar behavior in tracking variables and little visible effect downstream - "HIP"-affected data processing apparently has some significant increase in efficiency, the largest is in PXF2 (the plots are from wf 136.761_RunJetHT2016E LS91, closer to the beginning of the fill with PU~35); the total number of tracks here goes down as well.

wfjetht2016e_eff_hitpatt

wfjetht2016e_eff_hitpatt_pxf2

- ttbar PU35 25202 wflow shows no significant change in CPU

@cmsbuild
Copy link
Contributor

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

@davidlange6
Copy link
Contributor

+1

@cmsbuild cmsbuild merged commit 4a08746 into cms-sw:CMSSW_9_0_X Dec 23, 2016
@makortel makortel deleted the fixMVA branch February 12, 2018 12:55
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