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
[10_2_X] Syncing Egamma ID code with 10_4_X #25313
Conversation
A new Pull Request was created by @guitargeek (Jonas Rembser) for CMSSW_10_2_X. It involves the following packages: PhysicsTools/PatAlgos @perrotta, @monttj, @cmsbuild, @fgolf, @slava77, @peruzzim can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
Don't test yet, I made a mistake and a commit will follow... |
Ok, things should be ready to test now with cms-sw/cmsdist#4518! |
Local matrix tests passed. |
@slava77 can you please check if I did the right thing with the externals and then tell the bot to test? It would be cool to know that we have at least something that works to continue the discussion with the NanoAOD guys, who would need to get this integrated very soon. |
@cmsbuild please test with cms-sw/cmsdist#4518 |
The tests are being triggered in jenkins. |
Comparison job queued. |
Comparison is ready Comparison Summary:
|
@guitargeek (and also @fabiocos and @slava77 , as I would like to ear what do they think about) I don't think we can re-create 10_4 in 10_2. All the features of the new release will be accessible once that release will become available, and you'll ask people to move the analysis to it then. I would personally only stick on what is really needed/relevant for the analyses that will be done now, which I can't believe is the whole that is included in this backport. We are already backporting the new IDs and the code speed-up with #25372 . In your list, I may imagine that perhaps only the update of the ntuplizer has some reason to be backported now. All other improvements are welcome, but they will all be available in 10_4 in the new year, and you can instruct people to move their analyses to it, then. Do you agree? |
please test |
The tests are being triggered in jenkins. |
-1 Tested at: 38f3ee4 You can see the results of the tests here: I found follow errors while testing this PR Failed tests: Build ClangBuild
I found compilation error when building: >> Compiling edm plugin /build/cmsbld/jenkins/workspace/ib-any-integration/CMSSW_10_2_X_2018-12-07-1100/src/DQMOffline/Trigger/plugins/HLTTauCertifier.cc >> Compiling edm plugin /build/cmsbld/jenkins/workspace/ib-any-integration/CMSSW_10_2_X_2018-12-07-1100/src/DQMOffline/Trigger/plugins/METplusTrackMonitor.cc >> Compiling edm plugin /build/cmsbld/jenkins/workspace/ib-any-integration/CMSSW_10_2_X_2018-12-07-1100/src/DQMOffline/Trigger/plugins/RazorMonitor.cc >> Compiling edm plugin /build/cmsbld/jenkins/workspace/ib-any-integration/CMSSW_10_2_X_2018-12-07-1100/src/DQMOffline/Trigger/plugins/DQMGenericTnPClient.cc /build/cmsbld/jenkins/workspace/ib-any-integration/CMSSW_10_2_X_2018-12-07-1100/src/DQMOffline/Trigger/plugins/LepHTMonitor.cc: In function 'bool {anonymous}::isGood(const reco::GsfElectron&, const Point&, const Point&, const edm::Handle >&, bool, double, double, double, double, double, double, double)': /build/cmsbld/jenkins/workspace/ib-any-integration/CMSSW_10_2_X_2018-12-07-1100/src/DQMOffline/Trigger/plugins/LepHTMonitor.cc:49:86: error: no matching function for call to 'ConversionTools::hasMatchedConversion(const reco::GsfElectron&, const edm::Handle >&, const Point&)' pass_conversion = !ConversionTools::hasMatchedConversion(el, convs, bs_position); ^ In file included from /build/cmsbld/jenkins/workspace/ib-any-integration/CMSSW_10_2_X_2018-12-07-1100/src/DQMOffline/Trigger/plugins/LepHTMonitor.cc:19:0: /build/cmsbld/jenkins/workspace/ib-any-integration/CMSSW_10_2_X_2018-12-07-1100/src/RecoEgamma/EgammaTools/src/ConversionTools.cc:148:6: note: candidate: static bool ConversionTools::hasMatchedConversion(const reco::GsfElectron&, const ConversionCollection&, const XYZPoint&, bool, float, float, unsigned int) bool ConversionTools::hasMatchedConversion(const reco::GsfElectron &ele,
I found compilation error while trying to compile with clang. Command used:
>> Compiling edm plugin /build/cmsbld/jenkins/workspace/ib-any-integration/CMSSW_10_2_X_2018-12-07-1100/src/DQMOffline/Trigger/plugins/DQMGenericTnPClient.cc >> Compiling edm plugin /build/cmsbld/jenkins/workspace/ib-any-integration/CMSSW_10_2_X_2018-12-07-1100/src/DQMOffline/Trigger/plugins/HLTInclusiveVBFClient.cc >> Compiling edm plugin /build/cmsbld/jenkins/workspace/ib-any-integration/CMSSW_10_2_X_2018-12-07-1100/src/DQMOffline/Trigger/plugins/HTMonitor.cc >> Compiling edm plugin /build/cmsbld/jenkins/workspace/ib-any-integration/CMSSW_10_2_X_2018-12-07-1100/src/DQMOffline/Trigger/plugins/HLTTauDQMOfflineSource.cc >> Compiling edm plugin /build/cmsbld/jenkins/workspace/ib-any-integration/CMSSW_10_2_X_2018-12-07-1100/src/DQMOffline/Trigger/plugins/SealModule.cc /build/cmsbld/jenkins/workspace/ib-any-integration/CMSSW_10_2_X_2018-12-07-1100/src/DQMOffline/Trigger/plugins/LepHTMonitor.cc:49:26: error: no matching function for call to 'hasMatchedConversion' pass_conversion = !ConversionTools::hasMatchedConversion(el, convs, bs_position); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/cmsbld/jenkins/workspace/ib-any-integration/CMSSW_10_2_X_2018-12-07-1100/src/RecoEgamma/EgammaTools/src/ConversionTools.cc:148:23: note: candidate function not viable: no known conversion from 'const edm::Handle' (aka 'const Handle >') to 'const reco::ConversionCollection' (aka 'const vector') for 2nd argument bool ConversionTools::hasMatchedConversion(const reco::GsfElectron &ele, ^ |
Comparison not run due to Build errors (RelVals and Igprof tests were also skipped) |
@guitargeek @slava77 @perrotta I think that the scope and target of these backports needs to be discussed at the ORP. Having a new physics functionality usable for analyses before the UL reprocessing becomes available is one thing, but synchronizing the code base for any technical improvement seems to me too much. |
Hello @fabiocos, @slava77 and @perrotta, I'm sorry I think I interpreted the following comment from Andrea wrong:
I agree that we should no backport everything and if I could decide I would just not do any further backports and be done with it. As you say the physics functionality is already there, and if people really require the other features they can just ask me and we would just come back to it. |
-1
|
Yep ok I will close for good now! |
This PR originally wanted to backport the Egamma Fall17 V2 Photon IDs and other Egamma MVA code improvements to 10_2_X. Since the ID functionality was more urgent than the rest of the development, it was decided to backport the Photon IDs and the PhotonIDValueMapProducer speedup separately from the rest in this PR: #25372.
What remains here is the backport of the other developments, which are in fact useful for analyses: updated PhotonMVANtuplizer, reduced memory usage, speed and FWlite compatibility for the electron MVAs.
To make things simpler to review, the following backport strategy was applied:
This PR builds on top of #25372 and should only be tested and reviewed when that one and it's required external (cms-sw/cmsdist#4518) is merged.