-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
Move EffectiveAreas and ThreadSafeFunctor classes out of EgammaTools #29832
Conversation
The code-checks are being triggered in jenkins. |
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-29832/15366
|
A new Pull Request was created by @guitargeek (Jonas Rembser) for master. It involves the following packages: CommonTools/Utils @perrotta, @andrius-k, @kmaeshima, @schneiml, @cmsbuild, @jfernan2, @fgolf, @fioriNTU, @slava77, @santocch, @peruzzim can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
please test |
The tests are being triggered in jenkins. |
-1 Tested at: 0900ed4 CMSSW: CMSSW_11_1_X_2020-05-13-2300 I found follow errors while testing this PR Failed tests: RelVals
When I ran the RelVals I found an error in the following workflows: runTheMatrix-results/136.88811_RunJetHT2018D_reminiaodUL+RunJetHT2018D_reminiaodUL+REMINIAOD_data2018UL+HARVEST2018_REMINIAOD_data2018UL/step2_RunJetHT2018D_reminiaodUL+RunJetHT2018D_reminiaodUL+REMINIAOD_data2018UL+HARVEST2018_REMINIAOD_data2018UL.log |
Comparison not run due to runTheMatrix errors (RelVals and Igprof tests were also skipped) |
please test with #29826 |
The tests are being triggered in jenkins. |
+1 |
+xpog |
Hi @slava77, thanks for the sign-off, I updated the PR description. |
we are still missing PDMV and L1 signatures. |
+1 |
do you have any comments @rekovic ? |
+1 |
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. @silviodonato, @dpiparo (and backports should be raised in the release meeting by the corresponding L2) |
+1 |
Updated PR description after sign-off:
ThreadSafeStringCut
class from RecoEgamma/EgammaTools to CommonTools/Utils, generalized it and renamed it toThreadSafeFunctor
MVAVariableManager
was refactored a tiny bit to make it theoretically independent from the rest of RecoEgamma/EgammaToolsOriginal PR description:
The only RecoEgamma library that is used outside the RecoEgamma subsystem itself is RecoEgamma/EgammaTools, mostly for the
ConversionTools
and theEffectiveAreas
helper class. Unfortunately, this comes with a big party of reco-dependencies, which is not desirable. TheEffectiveAreas
helper class for example only depends onFWCore/Utilites
, so all these reco dependencies from local calo and ecal reconstruction are not needed. What bothers me most is that NanoAOD inherits all these low-level reco dependencies like RecoLocalCalo/HGCalRecAlgos just for using theEffectiveAreas
.To solve this issue, I suggest to move the
EffectiveAreas
class to CommonTools/Utils. That package also only depends on FWCore, and all the users ofEffectiveAreas
already depend on it anyway. While at it, I moved the formerThreadSafeStringCut
class from RecoEgamma/EgammaTools to CommonTools/Utils as well, generalized it and renamed it toThreadSafeFunctor
. Finally, theMVAVariableManager
was also refactored a tiny bit to make it theoretically independent from the rest of RecoEgamma/EgammaTools too.Let me know what you think, and if you agree that CommonTools/Utils is the right packaged to move these classes into.
PR validation:
CMSSW compiles and local matrix tests pass.
if this PR is a backport please specify the original PR and why you need to backport that PR:
No backport intended.