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

HCAL: setting hardcoded PFCuts conditions for Phase2 #43139

Merged
merged 1 commit into from
Nov 1, 2023

Conversation

abdoulline
Copy link

@abdoulline abdoulline commented Oct 28, 2023

PR description:

Needed in the context of #43025
to use Conditions for all the eras, including Phase2
No any regular wf is affected

PR validation:

(1) dump of the relevant HcalPFCutsRcd from the Event for Phase2 with aging 1000/fb, i.e.

from SLHCUpgradeSimulations.Configuration.aging import customise_aging_1000
process = customise_aging_1000(process)

Yields expected numbers:

          eta             phi             dep             det     value0     value1      DetId
           -1               1               1              HB  0.8000000  1.0000000   43100401
           -1               1               2              HB  1.2000000  1.5000000   43200401
           -1               1               3              HB  1.2000000  1.5000000   43300401
           -1               1               4              HB  1.2000000  1.5000000   43400401
           -2               1               1              HB  0.8000000  1.0000000   43100801
           -2               1               2              HB  1.2000000  1.5000000   43200801
           -2               1               3              HB  1.2000000  1.5000000   43300801
           -2               1               4              HB  1.2000000  1.5000000   43400801
           ...

(2) runTheMatrix.py -l limited --ibeos --useInput all

@cmsbuild
Copy link
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-43139/37418

  • This PR adds an extra 32KB to repository

@cmsbuild
Copy link
Contributor

A new Pull Request was created by @abdoulline (Salavat Abdullin) for master.

It involves the following packages:

  • CalibCalorimetry/HcalAlgos (alca)
  • CalibCalorimetry/HcalPlugins (alca)

@cmsbuild, @perrotta, @saumyaphor4252, @consuegs can you please review it and eventually sign? Thanks.
@thomreis, @wang0jin, @ReyerBand, @mmusich, @rsreds, @yuanchao, @mariadalfonso, @rchatter, @argiro, @bsunanda, @tocheng this is something you requested to watch as well.
@sextonkennedy, @rappoccio, @antoniovilela you are the release manager for this.

cms-bot commands are listed here

HcalPFCut HcalDbHardcode::makePFCut(HcalGenericDetId fId, double intLumi, bool noHE) const { // GeV

// from SLHCUpgradeSimulations/Configuration/python/aging.py
double lumis[] = {300, 1000, 3000, 4500}; // integrated lumi points
Copy link
Contributor

Choose a reason for hiding this comment

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

All these can be made const and moved inside the scope of the if block below

Copy link
Author

Choose a reason for hiding this comment

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

@perrotta you're right (I've sketched it on Saturday morning not much thinking...)

@cmsbuild
Copy link
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-43139/37432

  • This PR adds an extra 28KB to repository

@cmsbuild
Copy link
Contributor

Pull request #43139 was updated. @perrotta, @saumyaphor4252, @cmsbuild, @consuegs can you please check and sign again.

@perrotta
Copy link
Contributor

please test

@cmsbuild
Copy link
Contributor

-1

Failed Tests: RelVals-INPUT
Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-d29a55/35506/summary.html
COMMIT: 3c5e0f0
CMSSW: CMSSW_13_3_X_2023-10-30-1100/el8_amd64_gcc12
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmssw/43139/35506/install.sh to create a dev area with all the needed externals and cmssw changes.

RelVals-INPUT

  • 140.56140.56_RunHI2018/step2_RunHI2018.log
  • 14234.014234.0_TTbar_14TeV+2023FSPU/step2_TTbar_14TeV+2023FSPU.log
  • 25034.11425034.114_TTbar_14TeV+2026D98PU_OTInefficiency10PC/step2_TTbar_14TeV+2026D98PU_OTInefficiency10PC.log

Comparison Summary

Summary:

  • You potentially removed 4 lines from the logs
  • Reco comparison results: 10 differences found in the comparisons
  • DQMHistoTests: Total files compared: 50
  • DQMHistoTests: Total histograms compared: 3362691
  • DQMHistoTests: Total failures: 12
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 3362657
  • 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

HcalDetId hid(fId);
int depth_m1 = hid.depth() - 1;
for (int i = 0; i < 4; i++) {
if (fabs(intLumi - lumis[i]) < eps) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
if (fabs(intLumi - lumis[i]) < eps) {
if (std::abs(intLumi - lumis[i]) < eps) {

@cmsbuild
Copy link
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-43139/37446

  • This PR adds an extra 28KB to repository

@antoniovilela
Copy link
Contributor

@abdoulline @perrotta
Let's squash these three commits?

squash 3 commits
@cmsbuild
Copy link
Contributor

cmsbuild commented Nov 1, 2023

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-43139/37484

  • This PR adds an extra 28KB to repository

@cmsbuild
Copy link
Contributor

cmsbuild commented Nov 1, 2023

Pull request #43139 was updated. @cmsbuild, @perrotta, @saumyaphor4252, @consuegs can you please check and sign again.

@abdoulline
Copy link
Author

Sorry for unnecessary buzz... I've finally retrieved my notes from the previous squash to use them for this case.

@antoniovilela
Copy link
Contributor

+1

@antoniovilela
Copy link
Contributor

merge

@cmsbuild cmsbuild merged commit f0bc2a8 into cms-sw:master Nov 1, 2023
@cmsbuild
Copy link
Contributor

cmsbuild commented Nov 1, 2023

+1

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

Comparison Summary

Summary:

  • You potentially removed 3 lines from the logs
  • Reco comparison results: 26 differences found in the comparisons
  • DQMHistoTests: Total files compared: 50
  • DQMHistoTests: Total histograms compared: 3362691
  • DQMHistoTests: Total failures: 1073
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 3361596
  • 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

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.

5 participants