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
Cleanup of Old MVA assignment / kill dead code / bugfixes #1644
Conversation
A new Pull Request was created by @lgray (Lindsey Gray) for CMSSW_7_0_X. Cleanup of Old MVA assignment + kill dead code It involves the following packages: RecoParticleFlow/PFProducer @nclopezo, @cmsbuild, @thspeer, @slava77 can you please review it and eventually sign? Thanks. |
@slava77 working on it |
Test results for 761de18 done in CMSSW_7_0_X_2013-12-05-0200 as sign277 Normal mode: changes are only in gedGsfElectron mvaInput_earlyBrem and mvaOutput_mva. mvaInput_earlyBrem changes seem a bit more than epsilon. The downstream effect of the above change is visible in the mva output. e.g., same sample |
Lindsey, are these increases in electron assignments to pfcandidates expected (the effect seems to be 5-10%, enhanced in events with real photons)? |
@slava77 Fixed the bug for assigning the early brem flag. Should be fairly similar now. I also included a patch to prevent proto-EGCandidates from getting merged if they both have a GSF track and clusters. This may also solve the problem of the crash that you sent an email about. |
fix the assignment of early/late brem. fix local locking of ECAL clusters.
+1 Comparisons, based on 4261d3f in CMSSW_7_0_X_2013-12-05-0200 (sign277a) Regular mode first:
Most visible changes are in gamma10 , which has the most sensitivity thanks for being near threshold. Electron Pt 35: the only noticeable drop is in the overlap region (eta~1.5), GED Mode
|
forgot to mention: this PR fixes |
This pull request is fully signed and it will be integrated in one of the next IBs unless changes or unless it breaks tests. @ktf can you please take care of it? |
Reco fixes -- Cleanup of Old MVA assignment / kill dead code / bugfixes
Advance root to tip of branch 6-02-00.
Built ontop of 700pre8 + patches, can rebase if needed.
Fix assignment of electron cluster and improve agreement of "mva" variable, you can see the improvement in agreement between mva values for (tracker-Driven && ECAL-Driven) electrons. The old mva-id isn't cut on anywhere in the ged reconstruction, so it is purely there for comparison with the old electrons / cosmetics.
Removed a few hundred lines of dead code from PFEGammaAlgo.cc/.h, none of it was called so this is purely cosmetic.
Fixed yet another EB/EE mixing bug, fixed a bug where clusters were being double counted.