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 proprietary RelVal machinery update #43953

Merged
merged 5 commits into from
Mar 20, 2024

Conversation

abdoulline
Copy link

@abdoulline abdoulline commented Feb 13, 2024

PR description:

HCAL is using its own RelVal machinery (macros/scripts/html + histos plotting .json files) in Validation/CaloTowers/test/...
for publishing RelVal comparison plots produced in an optimized/adjusted way
https://cms-docs.web.cern.ch/hcal-sw-validation/?dir=14_0_X
And uses RelMon only occasionally for some minimal auxiliary checks, as described in slide#4:
https://indico.cern.ch/event/1242712/contributions/5222784/attachments/2578491/4447489/HCAL_Validation_Jan20_2023_S.A.pdf

This is the fist-pass update/cleaning, which comes after ~6 (!) years of using
various private modifications of the files from private branches/locations of several involved people...

PR validation:

NB: no any regular wfs is affected.

Private full-fledged test for 14_0_0_pre2 vs pre1 RelVals for both "2023" and Phase2 (aka "2026D98") TTbar

  • successful

@cmsbuild
Copy link
Contributor

cmsbuild commented Feb 13, 2024

cms-bot internal usage

@cmsbuild
Copy link
Contributor

-code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-43953/38832

  • This PR adds an extra 60KB to repository

Code check has found code style and quality issues which could be resolved by applying following patch(s)

@cmsbuild
Copy link
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-43953/38835

  • This PR adds an extra 64KB to repository

@cmsbuild
Copy link
Contributor

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

It involves the following packages:

  • Validation/CaloTowers (dqm)

@cmsbuild, @antoniovagnerini, @syuvivida, @tjavaid, @nothingface0, @rvenditti can you please review it and eventually sign? Thanks.
@missirol, @hatakeyamak this is something you requested to watch as well.
@sextonkennedy, @antoniovilela, @rappoccio you are the release manager for this.

cms-bot commands are listed here

@tjavaid
Copy link

tjavaid commented Feb 14, 2024

please test

@cmsbuild
Copy link
Contributor

+1

Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-409ab5/37464/summary.html
COMMIT: 6657a20
CMSSW: CMSSW_14_1_X_2024-02-14-1100/el8_amd64_gcc12
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week0/cms-sw/cmssw/43953/37464/install.sh to create a dev area with all the needed externals and cmssw changes.

Comparison Summary

Summary:

  • You potentially added 7 lines to the logs
  • Reco comparison results: 42 differences found in the comparisons
  • DQMHistoTests: Total files compared: 48
  • DQMHistoTests: Total histograms compared: 3248554
  • DQMHistoTests: Total failures: 3
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 3248529
  • DQMHistoTests: Total skipped: 22
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 47 files compared)
  • Checked 200 log files, 161 edm output root files, 48 DQM output files
  • TriggerResults: no differences found

# create file name for use with hcal scripts
info = fname.split("__")[2].replace(label, "").strip("-")

#print "smDebug3: ",info
Copy link

Choose a reason for hiding this comment

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

Hi @abdoulline , Do you want to remove such lines? If to be retained may write in the proper format, please.

Comment on lines 67 to 81
# if camType == "DATA":
# iparts = info.split("_")
# info = ""
# skip = False
# for fragment in iparts:
# if skip:
# info = info.strip("_")
# skip = False
# continue
# if fragment == "RelVal":
# skip = True
# continue
# info += fragment
# info += "_"
# info = info.strip("_")
Copy link

Choose a reason for hiding this comment

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

May I ask why do you just comment out this part now?
I also see commented lines in a few other places. Could you please see if you can do a possible cleaning and leave some explanation for the part that is to be retained? Thanks!

Copy link
Author

@abdoulline abdoulline Mar 20, 2024

Choose a reason for hiding this comment

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

@tjavaid
Actually it's not me who wrote (and commented these lines).
I've got it from private files of the colleague, who has left CMS and HEP for industry.
So, this part needs to be revised in the future by a dedicated person (developer/maintainer),
so I'd like to keep them (as a kind of "document") to possibly reconsider in the future.
Actual update is just 1st "approximation" to get something operational wrt completely obsolete stuff in CMSSW...
Right now it works as such for our actual purposes.

If you really insist on removing some commented fragments in this /test area, I can do it.

@cmsbuild
Copy link
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-43953/39564

  • This PR adds an extra 64KB to repository

@cmsbuild
Copy link
Contributor

Pull request #43953 was updated. @rvenditti, @nothingface0, @tjavaid, @antoniovagnerini, @cmsbuild, @syuvivida can you please check and sign again.

@tjavaid
Copy link

tjavaid commented Mar 20, 2024

please test

@cmsbuild
Copy link
Contributor

+1

Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-409ab5/38295/summary.html
COMMIT: fb1e348
CMSSW: CMSSW_14_1_X_2024-03-20-1100/el8_amd64_gcc12
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmssw/43953/38295/install.sh to create a dev area with all the needed externals and cmssw changes.

Comparison Summary

Summary:

@tjavaid
Copy link

tjavaid commented Mar 20, 2024

+1

@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, @rappoccio, @sextonkennedy (and backports should be raised in the release meeting by the corresponding L2)

@antoniovilela
Copy link
Contributor

+1

@cmsbuild cmsbuild merged commit 5a810f4 into cms-sw:master Mar 20, 2024
11 checks passed
@abdoulline abdoulline deleted the HCAL_RelVal_update_el9 branch May 11, 2024 20:03
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.

4 participants