-
Notifications
You must be signed in to change notification settings - Fork 4.4k
Introduce vFloat and float types in ParameterSets #45216
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
base: master
Are you sure you want to change the base?
Conversation
cms-bot internal usage |
-code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-45216/40573
Code check has found code style and quality issues which could be resolved by applying following patch(s)
|
2ce5551
to
4e3d218
Compare
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-45216/40574
|
A new Pull Request was created by @felicepantaleo for master. It involves the following packages:
@cmsbuild, @makortel, @Dr15Jones, @smuzaffar can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
test parameters:
|
@cmsbuild please test |
-1 Failed Tests: RelVals RelValsValueError: Undefined workflows: 25288.203, 25488.203 |
test parameters: |
@cmsbuild please test |
code-checks |
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-45216/43099
|
Milestone for this pull request has been moved to CMSSW_15_1_X. Please open a backport if it should also go in to CMSSW_15_0_X. |
Description
This pull request introduces
vFloat
andfloat
types in theParameterSets
of the CMSSW framework. The changes aim to improve the precision and performance of floating-point parameter handling in configuration sets.Changes
vFloat
andfloat
type definitions.This will allow the developers of C++ modules to directly use
std::vector<float>
configuration parameters avoiding manually converting each of them fromstd::vector<double>
, if double precision is not needed.Testing
vFloat
andfloat
types.24900.0
.Future Work
If the tests run smoothly, an existing reconstruction module will be migrated from
double
tofloat
within this pull request.@smuzaffar @makortel @Dr15Jones @fwyzard @rovere @VinInn FYI