Skip to content
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

Merged
merged 1 commit into from
Nov 28, 2023

Conversation

swagata87
Copy link
Contributor

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:

PR validation:

Tested with some Run3 WFs.

@swagata87
Copy link
Contributor Author

FYI @cms-sw/alca-l2

@cmsbuild
Copy link
Contributor

cmsbuild commented Nov 3, 2023

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-43176/37504

  • This PR adds an extra 36KB to repository

@cmsbuild
Copy link
Contributor

cmsbuild commented Nov 3, 2023

A new Pull Request was created by @swagata87 (Swagata Mukherjee) for master.

It involves the following packages:

  • RecoJets/JetProducers (reconstruction)

@mandrenguyen, @jfernan2, @cmsbuild can you please review it and eventually sign? Thanks.
@seemasharmafnal, @nhanvtran, @gkasieczka, @rappoccio, @AnnikaStein, @jdamgov, @mariadalfonso, @yslai, @schoef, @jdolen, @clelange, @ahinzmann, @missirol this is something you requested to watch as well.
@antoniovilela, @rappoccio, @sextonkennedy you are the release manager for this.

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();
Copy link
Contributor

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

@cmsbuild
Copy link
Contributor

cmsbuild commented Nov 3, 2023

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-43176/37505

  • This PR adds an extra 36KB to repository

@cmsbuild
Copy link
Contributor

cmsbuild commented Nov 3, 2023

Pull request #43176 was updated. @cmsbuild, @mandrenguyen, @jfernan2 can you please check and sign again.

@swagata87
Copy link
Contributor Author

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);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@cmsbuild
Copy link
Contributor

cmsbuild commented Nov 3, 2023

+1

Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-5a6261/35578/summary.html
COMMIT: 58fbc98
CMSSW: CMSSW_13_3_X_2023-11-03-1100/el8_amd64_gcc12
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmssw/43176/35578/install.sh to create a dev area with all the needed externals and cmssw changes.

Comparison Summary

Summary:

  • You potentially removed 84 lines from the logs
  • Reco comparison results: 17 differences found in the comparisons
  • DQMHistoTests: Total files compared: 50
  • DQMHistoTests: Total histograms compared: 3362691
  • DQMHistoTests: Total failures: 1395
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 3361274
  • DQMHistoTests: Total skipped: 22
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 49 files compared)
  • Checked 214 log files, 167 edm output root files, 50 DQM output files
  • TriggerResults: no differences found

@smuzaffar
Copy link
Contributor

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.

@smuzaffar smuzaffar modified the milestones: CMSSW_13_3_X, CMSSW_14_0_X Nov 6, 2023
@cmsbuild
Copy link
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-43176/37890

  • This PR adds an extra 16KB to repository

@cmsbuild
Copy link
Contributor

Pull request #43176 was updated. @mandrenguyen, @Martin-Grunewald, @mmusich, @cmsbuild, @jfernan2 can you please check and sign again.

@Martin-Grunewald
Copy link
Contributor

please test

@cmsbuild
Copy link
Contributor

+1

Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-5a6261/36075/summary.html
COMMIT: d73a580
CMSSW: CMSSW_14_0_X_2023-11-26-2300/el8_amd64_gcc12
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmssw/43176/36075/install.sh to create a dev area with all the needed externals and cmssw changes.

Comparison Summary

Summary:

@mmusich
Copy link
Contributor

mmusich commented Nov 27, 2023

+hlt

@mmusich
Copy link
Contributor

mmusich commented Nov 28, 2023

@cms-sw/reconstruction-l2 your signature is required here.

@mandrenguyen
Copy link
Contributor

+reconstruction

@cmsbuild
Copy link
Contributor

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)

@rappoccio
Copy link
Contributor

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants