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
Adapting MVAVariableHelper to new E/gamma UL format and removal of MultiToken #26814
Adapting MVAVariableHelper to new E/gamma UL format and removal of MultiToken #26814
Conversation
The code-checks are being triggered in jenkins. |
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-26814/9829
|
A new Pull Request was created by @guitargeek (Jonas Rembser) for master. It involves the following packages: PhysicsTools/NanoAOD @perrotta, @cmsbuild, @fgolf, @slava77, @santocch, @peruzzim can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
@cmsbuild please test |
The tests are being triggered in jenkins. |
-1 Tested at: 7dc69da You can see the results of the tests here: I found follow errors while testing this PR Failed tests: Build
I found compilation error when building: >> Compiling edm plugin /build/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_11_0_X_2019-05-16-1100/src/RecoEgamma/PhotonIdentification/plugins/VersionedPhotonIdProducer.cc >> Compiling edm plugin /build/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_11_0_X_2019-05-16-1100/src/RecoEgamma/PhotonIdentification/plugins/PhotonIDSimpleAnalyzer.cc >> Compiling edm plugin /build/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_11_0_X_2019-05-16-1100/src/RecoEgamma/PhotonIdentification/plugins/PhotonMVANtuplizer.cc >> Compiling edm plugin /build/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_11_0_X_2019-05-16-1100/src/RecoEgamma/PhotonIdentification/plugins/PhotonIDValueMapProducer.cc In file included from /build/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_11_0_X_2019-05-16-1100/src/RecoEgamma/PhotonIdentification/plugins/PhotonIDValueMapProducer.cc:16:0: /build/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_11_0_X_2019-05-16-1100/poison/RecoEgamma/EgammaTools/interface/MultiToken.h:1:2: error: #error THIS FILE HAS BEEN REMOVED FROM THE PACKAGE. #error THIS FILE HAS BEEN REMOVED FROM THE PACKAGE. ^~~~~ >> Compiling edm plugin /build/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_11_0_X_2019-05-16-1100/src/RecoEgamma/PhotonIdentification/plugins/PhotonMVAEstimator.cc >> Compiling edm plugin /build/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_11_0_X_2019-05-16-1100/src/RecoEgamma/PhotonIdentification/plugins/SealModules.cc >> Compiling edm plugin /build/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_11_0_X_2019-05-16-1100/src/RecoEgamma/PhotonIdentification/plugins/PhotonMVAValueMapProducer.cc |
Comparison not run due to Build errors (RelVals and Igprof tests were also skipped) |
Oh, sorry, I must have messed up my build environment somehow and I didn't notice that actually nothing works now... I'll come back to that later. |
Comparison job queued. |
Comparison is ready Comparison Summary:
|
+1
|
+1 |
+xpog |
This pull request is fully signed and it will be integrated in one of the next master IBs (tests are also fine). This pull request will now be reviewed by the release team before it's merged. @davidlange6, @slava77, @smuzaffar, @fabiocos (and backports should be raised in the release meeting by the corresponding L2) |
+1 @guitargeek I understand that this development is not primarily meant for backport for UL, but it is more oriented to the future |
Yes, except for the tiny part of this PR which fixes the electron ID in FWLike after it was broken in 10_6_X with #26486 this is all for the future. Also for the tiny FWLite part that might be worth to backport: I guess if nobody complains we are good here. |
PR description:
As the Egamma MVA infrastructure does not need to compute object specific variables anymore that are not stored in the objects themselves (thanks to #26486), the
MVAVariableHelper
is now an overly complicated piece of code which should be adapted.I also suggest to remove the MultiToken class I introduced last year, as it's not really used much anymore after all the changes in the last months. It was also used in the ElectronIDValueMapProducer, which can now be removed that all the variables are in the object. I also think I made a mistake introducing the MultiToken to begin with. The consumes should be better configured with Python... That makes the MVAValueMapProducer also a bit simpler to use as it's not ambiguous anymore how it can be configured.
Other changes:
PR validation:
CMSSW compiles and local matrix tests pass.
if this PR is a backport please specify the original PR:
Maybe the FWLite part should get backported to 10_6_X.