-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Calotower -> HCAL rechit for EGM ID variables #33666
Conversation
-code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-33666/22563
Code check has found code style and quality issues which could be resolved by applying following patch(s)
|
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-33666/22564
|
A new Pull Request was created by @afiqaize (Afiq Anuar) for master. It involves the following packages: DQM/Physics @perrotta, @andrius-k, @gouskos, @kmaeshima, @ErnestaP, @ahmad3213, @cmsbuild, @jfernan2, @fgolf, @slava77, @jpata, @mariadalfonso, @rvenditti can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-33666/22565
|
Pull request #33666 was updated. @perrotta, @andrius-k, @gouskos, @kmaeshima, @ErnestaP, @ahmad3213, @cmsbuild, @jfernan2, @fgolf, @slava77, @jpata, @mariadalfonso, @rvenditti can you please check and sign again. |
@cmsbuild please test |
-1 Failed Tests: RelVals RelVals-INPUT CMS Clang-Tidy warnings: There are Clang-Tidy warnings. See https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-e76c7f/14947/llvm-analysis/cmsclangtidy.txt for details. RelVals
RelVals-INPUT
|
Apparently there are a few other codes that need to be modified that weren't caught by the WFs I used to validate. Will fix on Monday. |
@@ -665,11 +665,11 @@ bool ElectronTagProbeAnalyzer::isolationCut(const reco::GsfElectronCollection::c | |||
|
|||
if (gsfIter->dr03TkSumPt() > tkIso03Max_) | |||
return true; | |||
if (gsfIter->isEB() && gsfIter->dr03HcalDepth1TowerSumEt() > hcalIso03Depth1MaxBarrel_) | |||
if (gsfIter->isEB() && gsfIter->dr03HcalTowerSumEt(1) > hcalIso03Depth1MaxBarrel_) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
in Run3 HCAL now have more than one depth also in the barrel, so you should have the same multiple cases of isHB() as in the isEE() ?
This seems true for all the DQMOffline instances
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, and this is deliberate. This PR is intended purely for the tower to rechit migration, any other code is updated only to the extent necessary to be able to compile and run cmssw.
The fact that the meaning of things monitored have changed, or whether to monitor individual depths are outside of the scope and should be addressed elsewhere.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could this be a follow-up PR in DQM?
HcalTopology const *hcalTopology_ = nullptr; | ||
HcalChannelQuality const *hcalChannelQuality_ = nullptr; | ||
HcalSeverityLevelComputer const *hcalSevLvlComputer_ = nullptr; | ||
CaloTowerConstituentsMap const *towerMap_ = nullptr; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would like to understand why you still need from the CaloTowerConstituentsMap.
Here and in all other files.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For matching the ecal and hcal rechits behind cluster. See EgammaHcalIsolation::getHcalESumBc()
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why this is done twice in the ElectronHcalHelper and the EgammaHcalIsolation.h
I see that for photon and GSFElectron you have hcalTowersBehindClusters()
https://github.com/cms-sw/cmssw/pull/33666/files#diff-2a8819f54a944ade88b9fc2dd659ed4b5c16725c31a250abd7ef89860e908dcdR459
and for Photons you found a way to avoid use the CaloTowerConstituentsMap
https://github.com/cms-sw/cmssw/pull/33666/files#diff-fd3b0e20a0dc203a5747ecc1765f08c85018edee832ab5967e260d1f7d06bb35L353
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ElectronHcalHelper uses EgammaHcalIsolation under the hood.
And PhotonProducer doesn't explicitly show CaloTowerConstituentsMap usage only because ElectronHcalHelper takes care of this internally, while EgammaHcalIsolation does not.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is this still an issue? I could ask for a bit more context to understand the problem.
I'm not aware of an existing filter to do this and didn't want to write a new one; never seen that timing was a serious issue. The test jobs take about the same time. If a filter already exists then would be great if you can point me to it. |
Just trying to make sure it doesn't get stuck (it's a long PR already), I left some comments inline. @mariadalfonso are there blockers from XPOG or HCAL side, or could your comments be implemented as a follow-up (I can add them to an issue)? |
kindly ping @cms-sw/xpog-l2 |
kind ping |
Kind ping @cms-sw/xpog-l2. Please let us know which comments are critical, and which can be done in a follow-up / refactoring. We should aim to get this in in the next 2 weeks for 12_0_0_pre5. |
+xpog the only xPOG change is this one: PhysicsTools/NanoAOD/python/electrons_cff.py general comments: |
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, @qliphy, @perrotta (and backports should be raised in the release meeting by the corresponding L2) |
+1 |
PR description:
This is the PR implementing the calotower -> rechit transition in calculating EGM ID variables H/E and HCAL isolation. Codes relying on affected variables are updated accordingly. Minor changes are expected due to the different positioning of tower vs rechits. To preserve the ability to read old files, ioread rules are defined but currently this is only successful when reading RECO files, not AOD (see discussion in [1]).
[1] https://hypernews.cern.ch/HyperNews/CMS/get/recoData/126.html
PR validation: