-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
Conversation
cms-bot internal usage |
-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)
|
-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)
|
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-46891/42932 |
A new Pull Request was created by @mkirsano for master. It involves the following packages:
@civanch, @cmsbuild, @kpedro88, @mdhildreth can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
please test |
+1 Size: This PR adds an extra 28KB to repository Comparison SummarySummary:
|
+1 |
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) |
+1 |
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.