Skip to content

Conversation

@Electricks94
Copy link
Contributor

This PR propagates the templates of the SoABlocks and its View to the sub-layouts and their views. In Particular the template parameter ALIGNMENT_ENFORCEMENT was not propagated to the sub-layouts. Also the SoABlocks only had a View and a ConstView, without templates. This means for the sub-layouts only the default View and ConstView was usably. With this PR the SoABlocks is extended with the ConstViewTemplateFreeParams, ConstViewTemplate, ViewTemplateFreeParams and ViewTemplate.

@felicepantaleo fyi

@cmsbuild
Copy link
Contributor

cmsbuild commented Dec 9, 2025

cms-bot internal usage

@cmsbuild
Copy link
Contributor

cmsbuild commented Dec 9, 2025

@cmsbuild
Copy link
Contributor

cmsbuild commented Dec 9, 2025

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

It involves the following packages:

  • DataFormats/SoATemplate (heterogeneous)

@cmsbuild, @fwyzard, @makortel can you please review it and eventually sign? Thanks.
@missirol, @mmusich, @rovere 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


It is also possible to generate methods inside `View` and `ConstView` using the `SOA_VIEW_METHODS` and
`SOA_CONST_VIEW_METHODS` in the same way as described in [Customized methods](#customized-methods).
`SoABlocks` also supports `View` and `ConstView` classes. In addition to those fully parametrized templates, two others levels of parametrization are provided: `ViewTemplate`, `ViewViewTemplateFreeParams` and respectively `ConstViewTemplate`, `ConstViewTemplateFreeParams`, mirroring the structure of the underlying structs. The blocks are built via composition and access to individual layouts and views is provided by name.
Copy link
Contributor

Choose a reason for hiding this comment

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

is ViewViewTemplateFreeParams a typo ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes this is a typo. I fixed it

Copy link
Contributor

Choose a reason for hiding this comment

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

Thanks 👍🏻

@fwyzard
Copy link
Contributor

fwyzard commented Dec 10, 2025

please test

@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-4ee81a/49869/summary.html
COMMIT: c7cd26b
CMSSW: CMSSW_16_0_X_2025-12-09-1100/el8_amd64_gcc13
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmssw/49578/49869/install.sh to create a dev area with all the needed externals and cmssw changes.

DAS Queries: The DAS query tests failed, see the summary page for details.

Comparison Summary

Summary:

  • No significant changes to the logs found
  • ROOTFileChecks: Some differences in event products or their sizes found
  • Reco comparison results: 14 differences found in the comparisons
  • Reco comparison had 4 failed jobs
  • DQMHistoTests: Total files compared: 53
  • DQMHistoTests: Total histograms compared: 4273241
  • DQMHistoTests: Total failures: 12
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 4273209
  • 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

@fwyzard
Copy link
Contributor

fwyzard commented Dec 10, 2025

Other than maybe fixing a typo in the documentation, the changes look OK.

@cmsbuild
Copy link
Contributor

@cmsbuild
Copy link
Contributor

Pull request #49578 was updated. @cmsbuild, @fwyzard, @makortel can you please check and sign again.

@fwyzard
Copy link
Contributor

fwyzard commented Dec 10, 2025

please test

@fwyzard
Copy link
Contributor

fwyzard commented Dec 10, 2025

+heterogeneous

@cmsbuild
Copy link
Contributor

This pull request is fully signed and it will be integrated in one of the next master IBs after it passes the integration tests. This pull request will now be reviewed by the release team before it's merged. @ftenchini, @mandrenguyen, @sextonkennedy (and backports should be raised in the release meeting by the corresponding L2)

@cmsbuild
Copy link
Contributor

+1

Size: This PR adds an extra 28KB to repository
Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-4ee81a/49875/summary.html
COMMIT: a4047ad
CMSSW: CMSSW_16_0_X_2025-12-09-2300/el8_amd64_gcc13
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmssw/49578/49875/install.sh to create a dev area with all the needed externals and cmssw changes.

DAS Queries: The DAS query tests failed, see the summary page for details.

Comparison Summary

Summary:

  • No significant changes to the logs found
  • ROOTFileChecks: Some differences in event products or their sizes found
  • Reco comparison results: 13 differences found in the comparisons
  • Reco comparison had 4 failed jobs
  • DQMHistoTests: Total files compared: 53
  • DQMHistoTests: Total histograms compared: 4273241
  • DQMHistoTests: Total failures: 36
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 4273185
  • 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

@ftenchini
Copy link

+1

@cmsbuild cmsbuild merged commit d511db9 into cms-sw:master Dec 10, 2025
10 checks passed
@fwyzard
Copy link
Contributor

fwyzard commented Dec 10, 2025

type ngt

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