-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Prevent disabing of HGCal electron cluster preselection #20588
Prevent disabing of HGCal electron cluster preselection #20588
Conversation
Due to aliasing of EcalEndcap=HcalEndcap=2
A new Pull Request was created by @nsmith- (Nicholas Smith) for CMSSW_9_3_X. It involves the following packages: RecoEgamma/EgammaElectronProducers @perrotta, @cmsbuild, @slava77 can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
@nsmith please make a corresponding PR to master (for 94X) |
assign upgrade |
New categories assigned: upgrade @kpedro88 you have been requested to review this Pull request/Issue and eventually sign? Thanks |
@nsmith- |
If the first hit in an HGC seed cluster happens to be from BH part of HGC, then its subdetId is 2, the same as EcalEndcap, so the if statement exits early and the cluster H/E cut is effectively disabled in this seed producer. |
Ok, got it. It could make some clean-up, for sure, in high-PU events. |
backport of #20591 |
please test |
The tests are being triggered in jenkins. |
+1 The following merge commits were also included on top of IB + this PR after doing git cms-merge-topic: |
Comparison job queued. |
Comparison is ready Comparison Summary:
|
+1
|
+1 |
This pull request is fully signed and it will be integrated in one of the next CMSSW_9_3_X IBs (tests are also fine) and once validation in the development release cycle CMSSW_9_4_X is complete. This pull request will now be reviewed by the release team before it's merged. @davidlange6, @slava77, @smuzaffar (and backports should be raised in the release meeting by the corresponding L2) |
merge |
Due to aliasing of enums EcalEndcap=HcalEndcap=2. I didn't add
det_group == DetId::Ecal
since I was worried the alias might have been permitted for pre-PhaseII detectors in casehitsAndFractions()[0]
happens to be an HCal hit. Not sure if that actually happens or not...Found when looking at hadron fraction of electrons in 930 Zee RelVals, where the cluster cut appears to not work
Here are the unique subdet IDs observed in the PF superclusters:
i.e.
DetId::Hcal, HcalEndcap
,DetId::Forward, HGCEE
, andDetId::Forward, HGCHEF
.I am not sure why HcalEndcap is used as a subdetId rather than HGCHEB, perhaps someone knows?