-
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
Migrate RecHit-based rho producer to use HCal noise cuts from GT #43176
Conversation
FYI @cms-sw/alca-l2 |
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-43176/37504
|
A new Pull Request was created by @swagata87 (Swagata Mukherjee) for master. It involves the following packages:
@mandrenguyen, @jfernan2, @cmsbuild can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
@@ -147,11 +177,15 @@ std::array<double, 4> FixedGridRhoProducerFastjetFromRecHit::getHitP4(const DetI | |||
} | |||
|
|||
//HCAL noise cleaning cuts. | |||
bool FixedGridRhoProducerFastjetFromRecHit::passedHcalNoiseCut(const HBHERecHit &hit) const { | |||
bool FixedGridRhoProducerFastjetFromRecHit::passedHcalNoiseCut(const HBHERecHit &hit, float thres) const { | |||
const auto thisDetId = hit.id(); |
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.
You can move these two lines inside the if
here below
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-43176/37505
|
Pull request #43176 was updated. @cmsbuild, @mandrenguyen, @jfernan2 can you please check and sign again. |
please test with #43171 |
const HcalTopology &htopo = es.getData(htopoToken_); | ||
const HcalPFCuts &hcalCuts = es.getData(hcalCutsToken_); | ||
paramPF_ = std::make_unique<HcalPFCuts>(hcalCuts); | ||
paramPF_->setTopo(&htopo); |
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.
See #43025 (comment)
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-5a6261/35578/summary.html Comparison SummarySummary:
|
Milestone for this pull request has been moved to CMSSW_14_0_X.Please open a backport if it should also go in to CMSSW_13_3_X. |
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-43176/37890
|
Pull request #43176 was updated. @mandrenguyen, @Martin-Grunewald, @mmusich, @cmsbuild, @jfernan2 can you please check and sign again. |
please test |
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-5a6261/36075/summary.html Comparison SummarySummary:
|
+hlt
|
@cms-sw/reconstruction-l2 your signature is required here. |
+reconstruction |
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. @antoniovilela, @sextonkennedy, @rappoccio (and backports should be raised in the release meeting by the corresponding L2) |
+1 |
PR description:
Adapt
FixedGridRhoProducerFastjetFromRecHit.cc
to use HCal noise cuts from GT.This producer is used only in HLT and was introduced before the start of Run3 (via #36157) to move away from caloTowers. The HCal noise cuts were previously provided from HLT config. Now it is made GT-based. Although, we still keep the option open to use cuts from config file. If this is deemed unnecessary, we can remove the option and allow only GT-based approach.
Related PRs which are doing similar migrations:
RecoParticleFlow
RecoEgamma
PR validation:
Tested with some Run3 WFs.