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

Change Vtx generators to allow HepMC3Product smearing #46891

Merged
merged 3 commits into from
Dec 9, 2024

Conversation

mkirsano
Copy link
Contributor

@mkirsano mkirsano commented Dec 6, 2024

Vtx generators are changed so that smearing of HepMC3Product is possible as well as HepMCProduct. It is done by default if only the first one is available. The type of returned value of vertex shift is changed to ROOT XYZTVector instead of HepMC::FourVector. This way it will be easy to get rid of HepMC in future. The function name is changed from newVertex to vertexShift, the code inside it is exactly the same.

Some cleanup of design and code is also performed.

The code of one generator "BeamDivergenceVtxGenerator" is not changed for the moment. To be checked that it is still needed.

The code is validated by checking the coordinates of primary vertex in the interface to G4.

@cmsbuild
Copy link
Contributor

cmsbuild commented Dec 6, 2024

cms-bot internal usage

@cmsbuild
Copy link
Contributor

cmsbuild commented Dec 6, 2024

-code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-46891/42930

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 6, 2024

-code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-46891/42931

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 6, 2024

@cmsbuild
Copy link
Contributor

cmsbuild commented Dec 6, 2024

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

It involves the following packages:

  • IOMC/EventVertexGenerators (simulation)

@civanch, @cmsbuild, @kpedro88, @mdhildreth can you please review it and eventually sign? Thanks.
@fabiocos, @grzanka, @missirol, @mmusich this is something you requested to watch as well.
@antoniovilela, @mandrenguyen, @rappoccio, @sextonkennedy you are the release manager for this.

cms-bot commands are listed here

@mkirsano
Copy link
Contributor Author

mkirsano commented Dec 6, 2024

please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Dec 6, 2024

+1

Size: This PR adds an extra 28KB to repository
Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-801b4d/43303/summary.html
COMMIT: e872742
CMSSW: CMSSW_15_0_X_2024-12-06-1100/el8_amd64_gcc12
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week0/cms-sw/cmssw/46891/43303/install.sh to create a dev area with all the needed externals and cmssw changes.

Comparison Summary

Summary:

@civanch
Copy link
Contributor

civanch commented Dec 9, 2024

+1

@cmsbuild
Copy link
Contributor

cmsbuild commented Dec 9, 2024

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

@mandrenguyen
Copy link
Contributor

+1

@cmsbuild cmsbuild merged commit 617f485 into cms-sw:master Dec 9, 2024
11 checks passed
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