Skip to content

Conversation

@igv4321
Copy link
Contributor

@igv4321 igv4321 commented Dec 5, 2025

PR description:

Adding infrastructure for modeling HCAL front-end pulse shapes channel-by-channel. This PR superseeds #45995

Naturally, db-based pulse shapes are not enabled yet (they are not in the CMS database), so no changes in validation expected at the moment.

PR validation:

The usual matrix tests were run. The facilities for reading/writing the database tables were privately tested. I need somebody with right permissions to take the file CondTools/Hcal/test/hcalpulsedelays.txt and copy it into a directory where it can be found by "edmFileInPath". Then I will be able to turn on the unit test for the database table of pulse height delays.

@cmsbuild
Copy link
Contributor

cmsbuild commented Dec 5, 2025

cms-bot internal usage

@cmsbuild
Copy link
Contributor

cmsbuild commented Dec 5, 2025

-code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-49556/47076

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

@cmsbuild
Copy link
Contributor

cmsbuild commented Dec 5, 2025

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-49556/47077

@cmsbuild
Copy link
Contributor

cmsbuild commented Dec 5, 2025

A new Pull Request was created by @igv4321 for master.

It involves the following packages:

  • CalibCalorimetry/HcalAlgos (alca)
  • CalibCalorimetry/HcalPlugins (alca)
  • CondCore/HcalPlugins (db)
  • CondCore/Utilities (db)
  • CondFormats/DataRecord (alca, db)
  • CondFormats/HcalObjects (alca, db)
  • CondTools/Hcal (db)
  • DataFormats/HcalRecHit (reconstruction)
  • RecoLocalCalo/Configuration (reconstruction)
  • RecoLocalCalo/HcalRecAlgos (reconstruction)
  • RecoLocalCalo/HcalRecProducers (reconstruction)

@Alejandro1400, @JanChyczynski, @arunhep, @atpathak, @cmsbuild, @francescobrivio, @jfernan2, @mandrenguyen, @perrotta, @srimanob can you please review it and eventually sign? Thanks.
@JanChyczynski, @PonIlya, @ReyerBand, @abdoulline, @apsallid, @argiro, @bsunanda, @denizsun, @mariadalfonso, @missirol, @mmusich, @rchatter, @rovere, @rsreds, @salimcerci, @sameasy, @seemasharmafnal, @thomreis, @tocheng, @wang0jin, @youyingli, @yuanchao this is something you requested to watch as well.
@ftenchini, @mandrenguyen, @sextonkennedy you are the release manager for this.

cms-bot commands are listed here

@mmusich
Copy link
Contributor

mmusich commented Dec 5, 2025

I need somebody with right permissions to take the file CondTools/Hcal/test/hcalpulsedelays.txt and copy it into a directory where it can be found by "edmFileInPath". Then I will be able to turn on the unit test for the database table of pulse height delays.

you can make yourself a PR to this repository https://github.com/cms-data/CondTools-Hcal and then the two PRs can be tested together.

@fwyzard
Copy link
Contributor

fwyzard commented Dec 5, 2025

@igv4321 do the changes need to be propagated to the heterogeneous version of the code under CondFormats/HcalObjects, RecoLocalCalo/HcalRecAlgos and RecoLocalCalo/HcalRecProducers` ?

@igv4321
Copy link
Contributor Author

igv4321 commented Dec 5, 2025

@igv4321 do the changes need to be propagated to the heterogeneous version of the code under CondFormats/HcalObjects, RecoLocalCalo/HcalRecAlgos and RecoLocalCalo/HcalRecProducers` ?

It would be nice to propagate them, but HCAL DPG does not have an alpaka expert at the moment. But even if just for offline, this capability is very useful.

@cmsbuild
Copy link
Contributor

cmsbuild commented Dec 5, 2025

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-49556/47083

@cmsbuild
Copy link
Contributor

cmsbuild commented Dec 5, 2025

Pull request #49556 was updated. @Alejandro1400, @JanChyczynski, @arunhep, @atpathak, @cmsbuild, @francescobrivio, @jfernan2, @mandrenguyen, @perrotta, @srimanob can you please check and sign again.

@cmsbuild
Copy link
Contributor

+1

Size: This PR adds an extra 32KB to repository
Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-aff5bd/50355/summary.html
COMMIT: a49f5ad
CMSSW: CMSSW_16_0_X_2025-12-18-1100/el8_amd64_gcc13
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week0/cms-sw/cmssw/49556/50355/install.sh to create a dev area with all the needed externals and cmssw changes.

Comparison Summary

Summary:

  • You potentially added 18 lines to the logs
  • Reco comparison results: 1 differences found in the comparisons
  • Reco comparison had 4 failed jobs
  • DQMHistoTests: Total files compared: 53
  • DQMHistoTests: Total histograms compared: 4280393
  • DQMHistoTests: Total failures: 106
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 4280267
  • DQMHistoTests: Total skipped: 20
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 52 files compared)
  • Checked 227 log files, 198 edm output root files, 53 DQM output files
  • TriggerResults: no differences found

Copy link
Contributor

@perrotta perrotta left a comment

Choose a reason for hiding this comment

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

Not yet a complete review of the code. However, these Clang Warnings reported in the test results must be fixed.

if (inputIsArchive) {
std::ios_base::openmode mode;
const bool usingTxt = is_text_file(inputfile);
if (!usingTxt)
Copy link
Contributor

Choose a reason for hiding this comment

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

CondTools/Hcal/test/format_HcalInterpolatedPulseMap.cc
src/CondTools/Hcal/test/format_HcalInterpolatedPulseMap.cc:93:7: warning: variable 'mode' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized]
src/CondTools/Hcal/test/format_HcalInterpolatedPulseMap.cc:69:9: warning: variable 'mode' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized]

// Are we using a text archive as output?
std::ios_base::openmode mode;
const bool usingTxt = is_text_file(outputfile);
if (!usingTxt)
Copy link
Contributor

Choose a reason for hiding this comment

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

CondTools/Hcal/test/format_HcalInterpolatedPulseMap.cc
src/CondTools/Hcal/test/format_HcalInterpolatedPulseMap.cc:93:7: warning: variable 'mode' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized]
src/CondTools/Hcal/test/format_HcalInterpolatedPulseMap.cc:69:9: warning: variable 'mode' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized]

@cmsbuild
Copy link
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-49556/47239

@cmsbuild
Copy link
Contributor

Pull request #49556 was updated. @Alejandro1400, @JanChyczynski, @Moanwar, @arunhep, @atpathak, @cmsbuild, @francescobrivio, @jfernan2, @mandrenguyen, @perrotta, @srimanob can you please check and sign again.

@cmsbuild
Copy link
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-49556/47240

@cmsbuild
Copy link
Contributor

Pull request #49556 was updated. @Alejandro1400, @JanChyczynski, @Moanwar, @arunhep, @atpathak, @cmsbuild, @francescobrivio, @jfernan2, @mandrenguyen, @perrotta, @srimanob can you please check and sign again.

@jhakala
Copy link
Contributor

jhakala commented Dec 19, 2025

please test with cms-data/CondTools-Hcal#2

@cmsbuild
Copy link
Contributor

+1

Size: This PR adds an extra 16KB to repository
Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-aff5bd/50377/summary.html
COMMIT: 7701f59
CMSSW: CMSSW_16_1_X_2025-12-19-1100/el8_amd64_gcc13
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week0/cms-sw/cmssw/49556/50377/install.sh to create a dev area with all the needed externals and cmssw changes.

The following merge commits were also included on top of IB + this PR after doing git cms-merge-topic:

You can see more details here:
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-aff5bd/50377/git-recent-commits.json
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-aff5bd/50377/git-merge-result

Comparison Summary

There are some workflows for which there are errors in the baseline:
250202.181 step 3
The results for the comparisons for these workflows could be incomplete
This means most likely that the IB is having errors in the relvals.The error does NOT come from this pull request

The workflows 2024.0070001 have different files in step1_dasquery.log than the ones found in the baseline. You may want to check and retrigger the tests if necessary. You can check it in the "files" directory in the results of the comparisons

Summary:

  • You potentially added 114 lines to the logs
  • ROOTFileChecks: Some differences in event products or their sizes found
  • Reco comparison results: 4070 differences found in the comparisons
  • Reco comparison had 4 failed jobs
  • DQMHistoTests: Total files compared: 53
  • DQMHistoTests: Total histograms compared: 4280391
  • DQMHistoTests: Total failures: 5013
  • DQMHistoTests: Total nulls: 42
  • DQMHistoTests: Total successes: 4275316
  • DQMHistoTests: Total skipped: 20
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 34.7 KiB( 52 files compared)
  • DQMHistoSizes: changed ( 18434.0,... ): 17.115 KiB HLT/TAU
  • DQMHistoSizes: changed ( 18434.0,... ): 0.939 KiB HLT/Filters
  • DQMHistoSizes: changed ( 2024.0070001 ): -1.418 KiB Hcal/DigiRunHarvesting
  • DQMHistoSizes: changed ( 2024.0070001 ): 0.059 KiB SiStrip/MechanicalView
  • DQMHistoSizes: changed ( 2024.0070001 ): -0.035 KiB RPC/DCSInfo
  • DQMHistoSizes: changed ( 2024.0070001 ): -0.016 KiB JetMET/SUSYDQM
  • Checked 227 log files, 198 edm output root files, 53 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.

6 participants